activitysim icon indicating copy to clipboard operation
activitysim copied to clipboard

Sharrow Compile Crash

Open dhensle opened this issue 1 year ago • 0 comments

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 image

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.

dhensle avatar Feb 22 '24 18:02 dhensle