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.001353/0.001353, allocations: 73.97 kB / 20.66 MB, free: 3.84 MB / 18.57 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.001559/0.001559, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 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.019/1.019, allocations: 177.2 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.1327/0.1327, allocations: 21.8 MB / 282.8 MB, free: 7.027 MB / 266.7 MB " [Timeout remaining time 180] 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 - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 360.1 MB, free: 4.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.863e-05, allocations: 10.25 kB / 360.1 MB, free: 4.738 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_2): time 0.003487/0.003515, allocations: 3.117 MB / 363.2 MB, free: 1.609 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.005039, allocations: 0.6662 MB / 363.8 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004616/0.005501, allocations: 15.94 kB / 363.9 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003857/0.005887, allocations: 182.3 kB / 364 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.006189, allocations: 134.8 kB / 364.2 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006563/0.006845, allocations: 359.5 kB / 364.5 MB, free: 268 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007891/0.007634, allocations: 0.8481 MB / 365.4 MB, free: 15.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005586/0.008193, allocations: 476.1 kB / 365.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004149/0.008607, allocations: 490.8 kB / 366.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.008845, allocations: 294.7 kB / 366.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.613e-05/0.008941, allocations: 88 kB / 366.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.009121, allocations: 116 kB / 366.8 MB, free: 13.94 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002781/0.009399, allocations: 454.4 kB / 367.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.009602, allocations: 322.6 kB / 367.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008346/0.01044, allocations: 0.9057 MB / 368.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.01044, allocations: 4 kB / 368.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01044, allocations: 0 / 368.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.01046, allocations: 4 kB / 368.5 MB, free: 12.26 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.001593/0.01206, allocations: 1.89 MB / 370.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.0121, allocations: 8.031 kB / 370.4 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002286/0.01232, allocations: 295.5 kB / 370.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007618/0.01309, allocations: 0.7175 MB / 371.4 MB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.434e-05/0.01314, allocations: 78.44 kB / 371.5 MB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.828e-05/0.01322, allocations: 104.4 kB / 371.6 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006991/0.01392, allocations: 0.7164 MB / 372.3 MB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.01394, allocations: 4.125 kB / 372.3 MB, free: 8.285 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.665e-05/0.01399, allocations: 44.38 kB / 372.3 MB, free: 8.242 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.014, allocations: 28.38 kB / 372.3 MB, free: 8.215 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003354/0.01434, allocations: 285.5 kB / 372.6 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002659/0.017, allocations: 3.085 MB / 375.7 MB, free: 4.758 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.01745, allocations: 334 kB / 376 MB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.01757, allocations: 105.6 kB / 376.1 MB, free: 4.316 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.607e-05/0.01764, allocations: 36.56 kB / 376.2 MB, free: 4.281 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.01767, allocations: 49.97 kB / 376.2 MB, free: 4.223 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 3.316e-06/0.01768, allocations: 0 / 376.2 MB, free: 4.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.000584/0.01826, allocations: 0.5126 MB / 376.7 MB, free: 3.703 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.0183, allocations: 60.06 kB / 376.8 MB, free: 3.633 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008049/0.0191, allocations: 1.153 MB / 378 MB, free: 2.453 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.01913, allocations: 37.7 kB / 378 MB, free: 2.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004647/0.0196, allocations: 0.8701 MB / 378.9 MB, free: 1.527 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.01972, allocations: 233.9 kB / 379.1 MB, free: 1.297 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.01984, allocations: 123.9 kB / 379.2 MB, free: 1.168 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.01997, allocations: 0.5042 MB / 379.7 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.443e-05/0.02007, allocations: 69.19 kB / 379.8 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.02022, allocations: 211.6 kB / 380 MB, free: 340 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.02053, allocations: 329.6 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.02053, allocations: 0 / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0005092/0.02104, allocations: 0.5078 MB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.02106, allocations: 7.938 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.02107, allocations: 4 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.02109, allocations: 7.984 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.02137, allocations: 131.8 kB / 381 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.02137, allocations: 4 kB / 381 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.02151, allocations: 51.94 kB / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.02154, allocations: 23.98 kB / 381 MB, free: 15.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (Population.Integrator1.local_reset,Natural_Resources.Integrator1.local_reset,Capital_Investment.Integrator1.local_reset,Pollution.Integrator1.local_reset,CIAF.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001931/0.02173, allocations: 195.2 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.02185, allocations: 171 kB / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000515/0.02236, allocations: 496.1 kB / 381.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.02237, allocations: 8 kB / 381.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.02237, allocations: 0 / 381.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.02238, allocations: 3.984 kB / 381.9 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.02344, allocations: 1.061 MB / 383 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.02344, allocations: 0 / 383 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.02378, allocations: 111.8 kB / 383.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.02378, allocations: 11.94 kB / 383.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.02381, allocations: 15.98 kB / 383.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.02381, allocations: 4 kB / 383.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.02381, allocations: 0 / 383.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006345/0.02445, allocations: 0.7092 MB / 383.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.02457, allocations: 126.8 kB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.473e-05/0.02466, allocations: 19.98 kB / 383.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.02485, allocations: 15.94 kB / 384 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/0.02493, allocations: 40.58 kB / 384 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.02494, allocations: 12 kB / 384 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004328/0.02538, allocations: 0.6497 MB / 384.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.02538, allocations: 0 / 384.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004233/0.0258, allocations: 211.2 kB / 384.9 MB, free: 11.31 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Population.Integrator1.y,Natural_Resources.Integrator1.y,Capital_Investment.Integrator1.y,Pollution.Integrator1.y,CIAF.Integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001841/0.02599, allocations: 118.1 kB / 385 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003574/0.02634, allocations: 298.4 kB / 385.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.02634, allocations: 0.625 kB / 385.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.02649, allocations: 168.6 kB / 385.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.02689, allocations: 100.4 kB / 385.5 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.02913, allocations: 2.252 MB / 387.8 MB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.02938, allocations: 325.2 kB / 388.1 MB, free: 7.984 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.02954, allocations: 72.36 kB / 388.2 MB, free: 7.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.02971, allocations: 142.2 kB / 388.3 MB, free: 7.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.02971, allocations: 4 kB / 388.3 MB, free: 7.766 MB / 362.7 MB Notification: Performance of Templates: time 0.01054/0.04024, allocations: 4.885 MB / 393.2 MB, free: 2.918 MB / 362.7 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=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1027220278047025]