Closed dhixsingh closed 6 years ago
Attempt at a fix is in commit b8806c03b968ae2aca3923e4c4b402bd5642643b. For now, we just skip the DRIVETO handler function if we get a problem case.
The log now has the get following error for information:
...
2018-05-17 14:56:56,272 INFO QSim:506 SIMULATION (NEW QSim) AT 18:00:00 : #Veh=6334 lost=0 simT=15000.0s realT=257s; (s/r): 58.36575875486381
2018-05-17 14:56:56,272 INFO Gbl:54 used RAM: 1203367152B = 1175163kB = 1147MB free: 410391312B = 391MB total: 1613758464B = 1539MB
2018-05-17 14:56:56,286 WARN MGC:175 Assuming that coordinates are in longitude first notation, i.e. (longitude, latitude).
2018-05-17 14:56:56,286 WARN MGC:175 Assuming that coordinates are in longitude first notation, i.e. (longitude, latitude).
2018-05-17 14:57:13,644 ERROR DRIVETODefaultActionHandler$1:136 agent with id=3058 has null action content for DRIVETO action!!
2018-05-17 14:57:13,661 ERROR DRIVETODefaultActionHandler:62 agent 3058 DRIVETO handler has 1 args (>=4 expected); will continue without handling this event
2018-05-17 14:57:21,566 INFO Counter:61 WithinDayTravelTime: shrunk time bin size: 2048
2018-05-17 14:57:51,042 INFO WithinDayTravelTime:422 WithinDayTravelTime at 19:00:00 #links=90
2018-05-17 14:57:51,043 INFO QNetsimEngine:347 SIMULATION (QNetsimEngine) AT 19:00:00 : #links=80 #nodes=70
2018-05-17 14:57:51,043 INFO QSim:506 SIMULATION (NEW QSim) AT 19:00:00 : #Veh=4834 lost=0 simT=18600.0s realT=312s; (s/r): 59.61538461538461
...
The agent seems to finish successfully (around 6:31pm
), despite the condition above:
Time 50402 Resident 3058 : received emergency message EVACUATE_NOW
Time 50402 Resident 3058 : will start driving to shelter in (Torquay Golf Course, coords=789594.0,5751184.0) at time 50407.0
Time 65929 Resident 3058 : arrived at shelter in (Torquay Golf Course, coords=789594.0,5751184.0)
This issue was moved to agentsoz/ees#19
Occurred on Travis build 387 running
master
commit 181b4900e05a10d9adeae2bb650e3be92f841938.When I re-ran the build on Travis it passed! So this is very much a threading problem.
/cc @kainagel