Simulation continues even if all peds are evacuated.
Description:
Simulation continues running till max evacutation time even if all peds are evacuated long time before.
Reproduction Steps:
- Change to branch issue_175
- Take all input files from #175 (closed)
- Change
<agents operational_model_id="1">
to<agents operational_model_id="4">
in Kobes_ini.xml - run
jpscore Kobes_ini.xml
Expected behavior:
Simulation should finish after all 11 peds are evacuated around 70s
Observed behavior:
Simulation continues till max Exec Time = 200s is exceeded
Console Output
INFO: Loading and parsing the project file <Kobes_ini.xml>
INFO: seed <6943>
INFO: Maximal simulation time <200.00> seconds
INFO: Using num_threads <0> threads
INFO: output file <Kobes_traj.xml>
INFO: in format <xml-plain> at <8.000000> frames per seconds
INFO: Using the Gradient model
INFO: Parsing the model parameters
INFO: pSolver <euler>
INFO: stepsize <0.010000>
INFO: exit_crossing_strategy < 6 >
INFO: floorfield <delta h=0.0625, wall avoid distance=0.40>
INFO: floorfield <use wall avoidance=true>
INFO: linked cells enabled with size <4.2>
INFO: frep_ped mu=15, a=1.00, b=0.25 c=3.00
INFO: frep_wall mu=0, a=1.00, b=0.70 c=3.00
INFO: Anti Clipping: SlowDown Distance=0.80
INFO: Parsing agents parameters
INFO: Parsing the group parameter id [1]
INFO: desired speed mu=1.200000 , sigma=0.000000
INFO: Bmax mu=0.150000 , sigma=0.001000
INFO: Bmin mu=0.150000 , sigma=0.001000
INFO: Amin mu=0.150000 , sigma=0.001000
INFO: Tau mu=0.500000 , sigma=0.001000
INFO: Atau mu=0.000000 , sigma=0.001000
INFO: Using CognitiveMapRouter
INFO: Sensor Room2Corridor added
INFO: Sensor LastDestination added
INFO: Sensor Jam added
INFO: All pedestrian starting with a(n) complete cognitive map
INFO: Parsing the project file completed
INFO: Loading and parsing the persons attributes
INFO: ...Done
INFO: Parsing the geometry file
INFO: geometry <Kobes_geo.xml>
INFO: Loading building file successful!!!
INFO: Loading extra routing information
INFO: done with loading extra routing information
INFO: Init Geometry
INFO: Init Geometry successful!!!
INFO: Triangulating the geometry
INFO: Done...
INFO: Loading the traffic info file
INFO: Done with loading traffic info file
INFO: Init Distribute
INFO: Distributing 1 Agents in Room/Subrom [0/2]! Maximum allowed: 180
...Done
INFO: Distributing 1 Agents in Room/Subrom [0/3]! Maximum allowed: 180
...Done
INFO: Distributing 1 Agents in Room/Subrom [0/4]! Maximum allowed: 210
...Done
INFO: Distributing 1 Agents in Room/Subrom [0/5]! Maximum allowed: 260
...Done
INFO: Distributing 1 Agents in Room/Subrom [0/6]! Maximum allowed: 210
...Done
INFO: Distributing 1 Agents in Room/Subrom [0/7]! Maximum allowed: 210
...Done
INFO: Distributing 1 Agents in Room/Subrom [0/8]! Maximum allowed: 210
...Done
INFO: Distributing 1 Agents in Room/Subrom [0/9]! Maximum allowed: 260
...Done
INFO: Distributing 1 Agents in Room/Subrom [0/10]! Maximum allowed: 260
...Done
INFO: Distributing 1 Agents in Room/Subrom [0/11]! Maximum allowed: 260
...Done
INFO: Distributing 1 Agents in Room/Subrom [0/12]! Maximum allowed: 252
...Done
INFO: Initializing the grid with cell size: 4.200000
INFO: Done with Initializing the grid
INFO: Init the Global Router Engine
INFO: Loading extra routing information for the global/quickest path router
INFO: from the file Kobes_routing.xml
INFO: Done with loading extra routing information. Loaded <3> Hlines
INFO: Exit to outside found: 124 [trans_0_room_0_subroom_13]
INFO: Exit to outside found: 125 [trans_1_room_0_subroom_13]
INFO: Exit to outside found: 126 [trans_2_room_0_subroom_13]
INFO: Exit to outside found: 127 [trans_3_room_0_subroom_13]
INFO: Done with the Global Router Engine!
INFO: Init the Cognitive Map Router Engine
INFO: Initialized CognitiveMapStorage
INFO: Initialized SensorManager
INFO: Checking the geometry for artifacts
INFO: ...Done!!!
INFO: Init Operational Model starting ...
INFO: Init DirectionFloorfield starting ...
INFO: GeometryFilename <Kobes_geo.xml>
INFO: Calling Construtor of FloorfieldViaFM
INFO: Start Parsing: Building
INFO: Finished Parsing: Building
INFO: Grid initialized: Walls
INFO: Grid initialized: Walldistances
INFO: Grid initialized: Speed
INFO: Taken time: 12.217932
INFO: Init DirectionFloorfield done
INFO: Init Operational Model done
INFO: nPeds 11 received
INFO: Files 'events.txt' missing.
INFO: Adding a new routing Engine with the key:
INFO: Looking for pre-defined events in other files
INFO: No events found
INFO: Start runSimulation() with 11 pedestrians
Time: 200.00 s | Evacuated: 11 / 11 (100% ) [========================================>]
INFO: End runSimulation()
Exec Time [s] : 113.00
Evac Time [s] : 200
Realtime Factor : 1.77 X
Number of Threads : 0
Warnings : 0
Errors : 0
JuPedSim version: 0.8 branch issue_175 Compiler and version: g++ 4.8
Edit: proper report ;)