activitysim
activitysim copied to clipboard
Sharrow Compile Crash
Describe the bug ActivitySim "crashed" when running in sharrow compile mode. This happened in non-mandatory tour scheduling. Additionally, the model did not actually crash because the skims file did not close. (Memory trace shows it "running" almost 12 hours after it hit the error!)
To Reproduce
activitysim run ^
-c activitysim-prototype-mtc\configs_sh_compile ^
-c activitysim-prototype-mtc\ext-configs ^
-c activitysim-prototype-mtc\configs ^
-d data_full ^
-o outputs\full_sharrow_compile ^
--data_model activitysim-prototype-mtc\data_model
Running with household_sample_size is set to 100.
Screenshots
Additional context
Also interesting is that the model didn't actually crash out since it couldn't close the skims file:
21/02/2024 22:55:45.612 - WARNING - py.warnings - C:\Users\david.hensle\.conda\envs\dhensle_activitysim\lib\site-packages\tables\file.py:113: UnclosedFileWarning: Closing remaining open file: data_full\skims.omx warnings.warn(UnclosedFileWarning(msg))
Full log file for reference: activitysim.log
I was using the school escort optimization branch, but that passed all of it's tests and I don't see why the changes there would matter, particularly for non-mandatory tour scheduling.