Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 104.3 kB / 19.76 MB, free: 1.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 209 kB / 23.06 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 230.6 MB / 256.9 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo): time 0.2375/0.2375, allocations: 29.23 MB / 342.5 MB, free: 5.551 MB / 270.1 MB " [Timeout remaining time 179] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(SystemDynamics.WorldDynamics.World2.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.666e-05, allocations: 5.375 kB / 479.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_2): time 0.00502/0.005047, allocations: 3.071 MB / 482.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.007197, allocations: 0.6701 MB / 483.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005625/0.00776, allocations: 19.88 kB / 483.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004918/0.008252, allocations: 182.3 kB / 483.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.008615, allocations: 126.8 kB / 483.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000874/0.009489, allocations: 355.6 kB / 484.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.01075, allocations: 1.055 MB / 485.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007946/0.01155, allocations: 465.5 kB / 485.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004033/0.01195, allocations: 358.4 kB / 486 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003929/0.01234, allocations: 373.5 kB / 486.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.01248, allocations: 88 kB / 486.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.01273, allocations: 119.9 kB / 486.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.001484/0.01421, allocations: 1.896 MB / 488.4 MB, free: 7.043 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.001101/0.01531, allocations: 1.314 MB / 489.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.01547, allocations: 60 kB / 489.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0002922/0.01577, allocations: 87.16 kB / 489.9 MB, free: 5.566 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 (261) * Number of variables: 261 (261) Notification: Performance of [SIM] Bindings: time 0.005425/0.02119, allocations: 4.788 MB / 494.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001055/0.02225, allocations: 0.7232 MB / 495.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.002564/0.02481, allocations: 2.203 MB / 497.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0007978/0.02561, allocations: 425.2 kB / 498 MB, free: 12.95 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.009248/0.03485, allocations: 5.896 MB / 0.4921 GB, free: 6.406 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003523/0.03521, allocations: 200.3 kB / 0.4923 GB, free: 6.164 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001556/0.03536, allocations: 122.9 kB / 0.4924 GB, free: 6.016 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0004245/0.03579, allocations: 304.5 kB / 0.4927 GB, free: 5.664 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0001286/0.03592, allocations: 39.95 kB / 0.4927 GB, free: 5.625 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005799/0.0365, allocations: 436.7 kB / 0.4931 GB, free: 5.191 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.001294/0.03779, allocations: 0.9126 MB / 0.494 GB, free: 4.266 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008523/0.03864, allocations: 0.761 MB / 0.4948 GB, free: 3.504 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.001247/0.03989, allocations: 0.6772 MB / 0.4954 GB, free: 2.754 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.001376/0.04127, allocations: 1.26 MB / 0.4967 GB, free: 1.488 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 7.596e-05/0.04134, allocations: 39.94 kB / 0.4967 GB, free: 1.441 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 0.0002064/0.04155, allocations: 215.8 kB / 0.4969 GB, free: 1.23 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.00236/0.04391, allocations: 1.535 MB / 0.4984 GB, free: 15.68 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 5.674e-05/0.04396, allocations: 52 kB / 0.4985 GB, free: 15.63 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 1.353e-06/0.04397, allocations: 0 / 0.4985 GB, free: 15.63 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0006119/0.04458, allocations: 334.5 kB / 0.4988 GB, free: 15.29 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.008e-05/0.04459, allocations: 0.6562 kB / 0.4988 GB, free: 15.29 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 4.815e-05/0.04464, allocations: 64 kB / 0.4988 GB, free: 15.23 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 1.731e-05/0.04465, allocations: 8 kB / 0.4988 GB, free: 15.22 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.001651/0.0463, allocations: 1.101 MB / 0.4999 GB, free: 14.11 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.001152/0.04746, allocations: 0.8625 MB / 0.5008 GB, free: 13.18 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 5 (5) {Pop, Nat_res, Cap_inv, Pol, CIAF.level} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (1) {$TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 64 (scalar:64, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 102 (scalar:102, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 8.475e-05/0.04754, allocations: 56.55 kB / 0.5008 GB, free: 13.13 MB / 382.1 MB Notification: Performance of SimCode: time 0.005914/0.05345, allocations: 4.359 MB / 0.5051 GB, free: 8.664 MB / 382.1 MB Notification: Performance of Templates: time 0.01769/0.07115, allocations: 6.69 MB / 0.5116 GB, free: 1.965 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.4802751269889995] Failed to read output from testmodel.py, exit status != 0: 0.08060748601565138 0.37226400400000004 0.352829981 Calling exit ...