Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.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.0009313/0.0009313, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009743/0.0009743, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 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 0.9357/0.9357, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.1164/0.1164, allocations: 21.81 MB / 282.1 MB, free: 7.066 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_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 306.1 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.785e-05, allocations: 2.312 kB / 306.1 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.003095/0.003112, allocations: 3.157 MB / 309.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.004563, allocations: 0.7163 MB / 309.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002902/0.004854, allocations: 19.94 kB / 309.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.005173, allocations: 166.3 kB / 310.1 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.005409, allocations: 126.8 kB / 310.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005486/0.005958, allocations: 355.5 kB / 310.6 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00065/0.006608, allocations: 0.8404 MB / 311.4 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004742/0.007082, allocations: 488.1 kB / 311.9 MB, free: 4.121 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003419/0.007424, allocations: 0.4909 MB / 312.4 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.007622, allocations: 298.8 kB / 312.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.181e-05/0.007704, allocations: 84 kB / 312.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.007872, allocations: 123.9 kB / 312.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.00811, allocations: 450.4 kB / 313.3 MB, free: 2.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.008277, allocations: 330.6 kB / 313.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006134/0.00889, allocations: 0.8708 MB / 314.5 MB, free: 1.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.008893, allocations: 8 kB / 314.5 MB, free: 1.484 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.008895, allocations: 7.922 kB / 314.5 MB, free: 1.477 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.008906, allocations: 4 kB / 314.5 MB, free: 1.473 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.001186/0.01009, allocations: 1.663 MB / 316.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.777e-05/0.01012, allocations: 12.03 kB / 316.2 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.01027, allocations: 196.8 kB / 316.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000504/0.01077, allocations: 0.6125 MB / 317 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.01081, allocations: 74.42 kB / 317.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.547e-05/0.01089, allocations: 104.3 kB / 317.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/0.01145, allocations: 0.6839 MB / 317.9 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.01147, allocations: 4.125 kB / 317.9 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.0115, allocations: 44.36 kB / 317.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.01152, allocations: 28.38 kB / 318 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.01179, allocations: 252.4 kB / 318.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.01367, allocations: 2.222 MB / 320.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.01403, allocations: 341.4 kB / 320.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.458e-05/0.01413, allocations: 98.72 kB / 320.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.906e-05/0.01418, allocations: 24.64 kB / 320.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.0142, allocations: 39.22 kB / 320.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 2.385e-06/0.0142, allocations: 0 / 320.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.0003842/0.01458, allocations: 362.4 kB / 321.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.01461, allocations: 56.06 kB / 321.3 MB, free: 10.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/0.01516, allocations: 0.9446 MB / 322.3 MB, free: 9.477 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.01518, allocations: 37.7 kB / 322.3 MB, free: 9.434 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.01538, allocations: 0.4897 MB / 322.8 MB, free: 8.934 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.01549, allocations: 249.8 kB / 323 MB, free: 8.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.225e-05/0.01558, allocations: 102.3 kB / 323.1 MB, free: 8.582 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.756e-05/0.01566, allocations: 337.9 kB / 323.5 MB, free: 8.246 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.018e-05/0.01574, allocations: 68.03 kB / 323.5 MB, free: 8.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.01586, allocations: 156.6 kB / 323.7 MB, free: 7.992 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.0161, allocations: 285.1 kB / 324 MB, free: 7.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.01611, allocations: 0 / 324 MB, free: 7.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0003173/0.01642, allocations: 356 kB / 324.3 MB, free: 7.324 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.01644, allocations: 8 kB / 324.3 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.01644, allocations: 7.938 kB / 324.3 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.01646, allocations: 8 kB / 324.3 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.0167, allocations: 135.8 kB / 324.5 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.01671, allocations: 4 kB / 324.5 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.01682, allocations: 55.56 kB / 324.5 MB, free: 7.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.01684, allocations: 16 kB / 324.5 MB, free: 7.094 MB / 298.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 (81): * Single equations (assignments): 81 * 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.0001489/0.01699, allocations: 152.5 kB / 324.7 MB, free: 6.934 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.372e-05/0.01706, allocations: 92.09 kB / 324.8 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.01745, allocations: 411.5 kB / 325.2 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.01746, allocations: 12 kB / 325.2 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.01746, allocations: 0 / 325.2 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.01747, allocations: 3.984 kB / 325.2 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008644/0.01833, allocations: 0.8802 MB / 326.1 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01833, allocations: 0 / 326.1 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.01857, allocations: 111.8 kB / 326.2 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01857, allocations: 0 / 326.2 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.01859, allocations: 19.92 kB / 326.2 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.0186, allocations: 4 kB / 326.2 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.0186, allocations: 7.984 kB / 326.2 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.01903, allocations: 0.5502 MB / 326.8 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.35e-05/0.0191, allocations: 122.9 kB / 326.9 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.01915, allocations: 19.94 kB / 326.9 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.345e-05/0.01924, allocations: 12 kB / 326.9 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.01928, allocations: 36.58 kB / 327 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.0193, allocations: 15.98 kB / 327 MB, free: 4.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003112/0.01961, allocations: 483.7 kB / 327.4 MB, free: 4.113 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01961, allocations: 0 / 327.4 MB, free: 4.113 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002883/0.0199, allocations: 203.2 kB / 327.6 MB, free: 3.914 MB / 298.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 (66): * Single equations (assignments): 66 * 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.0001124/0.02001, allocations: 110 kB / 327.7 MB, free: 3.801 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003574/0.02037, allocations: 263.6 kB / 328 MB, free: 3.539 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.02038, allocations: 12 kB / 328 MB, free: 3.527 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.0205, allocations: 161.8 kB / 328.2 MB, free: 3.367 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.02079, allocations: 80.19 kB / 328.3 MB, free: 3.293 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.02259, allocations: 2.171 MB / 330.4 MB, free: 1.078 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.02279, allocations: 321.1 kB / 330.7 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000138/0.02292, allocations: 76.34 kB / 330.8 MB, free: 0.668 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.02306, allocations: 115.4 kB / 330.9 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02306, allocations: 0 / 330.9 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of Templates: time 0.008647/0.0317, allocations: 4.692 MB / 335.6 MB, free: 11.92 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.623553735204041]