Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.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.0009042/0.0009042, allocations: 80.88 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.001405/0.001405, 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.892/0.892, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.1107/0.1107, allocations: 21.81 MB / 282.1 MB, free: 7.062 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_5,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_5,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 306 MB, free: 9.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071e-05/1.227e-05, allocations: 2.312 kB / 306 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_5): time 0.00263/0.002642, allocations: 2.789 MB / 308.8 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.0037, allocations: 0.5889 MB / 309.4 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.00388, allocations: 12 kB / 309.4 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.004108, allocations: 142.6 kB / 309.5 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.004319, allocations: 130.9 kB / 309.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.004771, allocations: 283.6 kB / 309.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004653/0.005236, allocations: 0.7277 MB / 310.7 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003823/0.005619, allocations: 373.6 kB / 311 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002815/0.0059, allocations: 450.9 kB / 311.5 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.006076, allocations: 286.8 kB / 311.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.069e-05/0.006146, allocations: 76 kB / 311.8 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.006271, allocations: 107.9 kB / 311.9 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002244/0.006496, allocations: 450.4 kB / 312.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.006649, allocations: 306.7 kB / 312.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006371/0.007286, allocations: 0.8512 MB / 313.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.007288, allocations: 0 / 313.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.007289, allocations: 0 / 313.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.007298, allocations: 0 / 313.5 MB, free: 2.484 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001081/0.008379, allocations: 1.644 MB / 315.2 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.649e-05/0.008406, allocations: 8.031 kB / 315.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.008544, allocations: 188.8 kB / 315.4 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.008913, allocations: 0.5611 MB / 315.9 MB, free: 16 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/0.00897, allocations: 74.45 kB / 316 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-05/0.009039, allocations: 96.38 kB / 316.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000706/0.009745, allocations: 0.5549 MB / 316.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.009767, allocations: 192 / 316.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.0098, allocations: 40.38 kB / 316.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/0.009844, allocations: 54.5 kB / 316.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.01012, allocations: 287.3 kB / 317 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.01168, allocations: 1.472 MB / 318.5 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.01197, allocations: 302.5 kB / 318.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.12e-05/0.01206, allocations: 98.72 kB / 318.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.383e-05/0.0121, allocations: 32.62 kB / 318.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.01212, allocations: 39.22 kB / 319 MB, free: 12.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 1.563e-06/0.01212, allocations: 0 / 319 MB, free: 12.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.0003662/0.01249, allocations: 373.8 kB / 319.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.01251, allocations: 60.06 kB / 319.4 MB, free: 12.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005001/0.01301, allocations: 0.9526 MB / 320.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.01304, allocations: 33.7 kB / 320.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.01324, allocations: 0.5359 MB / 320.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.01334, allocations: 253.8 kB / 321.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.516e-05/0.01343, allocations: 130.6 kB / 321.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.963e-05/0.0135, allocations: 337.8 kB / 321.6 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/0.01359, allocations: 72.78 kB / 321.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.01375, allocations: 263.9 kB / 321.9 MB, free: 9.758 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.01411, allocations: 0.4955 MB / 322.4 MB, free: 9.184 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.01412, allocations: 4 kB / 322.4 MB, free: 9.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0003586/0.01447, allocations: 436.7 kB / 322.9 MB, free: 8.746 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.01448, allocations: 8 kB / 322.9 MB, free: 8.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.01449, allocations: 8.75 kB / 322.9 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.01451, allocations: 12 kB / 322.9 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.01478, allocations: 163.7 kB / 323 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.01479, allocations: 8 kB / 323.1 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.01492, allocations: 75.5 kB / 323.1 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.01495, allocations: 31.94 kB / 323.2 MB, free: 8.445 MB / 298.7 MB Warning: Assuming fixed start value for the following 6 variables: years:VARIABLE(start = 1900.0 fixed = true ) \"Time in calendar years\" type: Real Population.level:VARIABLE(start = Population.x0 fixed = true ) \"Reversible state variable\" type: Real Natural_Resources.level:VARIABLE(start = Natural_Resources.x0 fixed = true ) \"Reversible state variable\" type: Real Capital_Investment.level:VARIABLE(start = Capital_Investment.x0 fixed = true ) \"Reversible state variable\" type: Real Pollution.level:VARIABLE(start = Pollution.x0 fixed = true ) \"Reversible state variable\" type: Real CIAF.level:VARIABLE(start = CIAF.x0 fixed = true ) \"Reversible state variable\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 96 * 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.0001898/0.01514, allocations: 183.2 kB / 323.3 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/0.01543, allocations: 91.91 kB / 323.4 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003851/0.01581, allocations: 427.6 kB / 323.8 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01582, allocations: 4 kB / 323.9 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.01582, allocations: 0 / 323.9 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.01582, allocations: 7.984 kB / 323.9 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006814/0.0165, allocations: 0.8956 MB / 324.8 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01651, allocations: 4 kB / 324.8 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.01674, allocations: 107.9 kB / 324.9 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.01674, allocations: 8 kB / 324.9 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.01676, allocations: 15.98 kB / 324.9 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01676, allocations: 0 / 324.9 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01676, allocations: 0 / 324.9 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004154/0.01718, allocations: 0.5736 MB / 325.5 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.98e-05/0.01725, allocations: 118.9 kB / 325.6 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.01729, allocations: 12 kB / 325.6 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.85e-05/0.01739, allocations: 23.92 kB / 325.6 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.01744, allocations: 40.58 kB / 325.7 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.01746, allocations: 23.98 kB / 325.7 MB, free: 5.863 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00029/0.01775, allocations: 487.9 kB / 326.2 MB, free: 5.383 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01775, allocations: 0 / 326.2 MB, free: 5.383 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002911/0.01804, allocations: 223.2 kB / 326.4 MB, free: 5.164 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (years,Population.level,Natural_Resources.level,Capital_Investment.level,Pollution.level,CIAF.level) * 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.0001017/0.01814, allocations: 100.3 kB / 326.5 MB, free: 5.059 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002791/0.01842, allocations: 317.5 kB / 326.8 MB, free: 4.746 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.01843, allocations: 12 kB / 326.8 MB, free: 4.734 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.01857, allocations: 173.8 kB / 327 MB, free: 4.559 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.01879, allocations: 61.12 kB / 327 MB, free: 4.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.02057, allocations: 2.229 MB / 329.2 MB, free: 2.223 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.02077, allocations: 329.2 kB / 329.6 MB, free: 1.883 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.02093, allocations: 88.42 kB / 329.7 MB, free: 1.793 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.02105, allocations: 119.4 kB / 329.8 MB, free: 1.676 MB / 298.7 MB Notification: Performance of SimCode: time 4.7e-07/0.02105, allocations: 0 / 329.8 MB, free: 1.676 MB / 298.7 MB Notification: Performance of Templates: time 0.008599/0.02965, allocations: 5.032 MB / 334.8 MB, free: 12.7 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.66860832599923]