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.0009307/0.0009307, 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.001008/0.001008, 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.9318/0.9318, 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.116/0.116, 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.262e-06/1.262e-06, allocations: 0 / 306.1 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122e-05/1.248e-05, allocations: 5.125 kB / 306.1 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_5): time 0.002764/0.002776, allocations: 2.833 MB / 308.9 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.003955, allocations: 0.5786 MB / 309.5 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.00415, allocations: 12 kB / 309.5 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.004378, allocations: 150.6 kB / 309.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.0046, allocations: 126.9 kB / 309.8 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004193/0.005019, allocations: 287.6 kB / 310 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.005469, allocations: 0.7238 MB / 310.8 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003511/0.00582, allocations: 373.6 kB / 311.1 MB, free: 4.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.006103, allocations: 446.9 kB / 311.6 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.006296, allocations: 278.9 kB / 311.8 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.497e-05/0.006371, allocations: 76 kB / 311.9 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.006522, allocations: 123.8 kB / 312 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.006755, allocations: 442.5 kB / 312.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.006911, allocations: 314.6 kB / 312.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005532/0.007464, allocations: 0.8474 MB / 313.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.007466, allocations: 4 kB / 313.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.007467, allocations: 0 / 313.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.007475, allocations: 0 / 313.6 MB, free: 2.406 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.001121/0.008596, allocations: 1.64 MB / 315.3 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.666e-05/0.008623, allocations: 12.03 kB / 315.3 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.008762, allocations: 188.8 kB / 315.5 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.009162, allocations: 0.5535 MB / 316 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.668e-05/0.009218, allocations: 78.38 kB / 316.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.82e-05/0.009287, allocations: 96.36 kB / 316.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/0.009798, allocations: 0.5549 MB / 316.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.009817, allocations: 192 / 316.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.009851, allocations: 40.38 kB / 316.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.791e-05/0.009898, allocations: 62.48 kB / 316.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/0.0102, allocations: 283.3 kB / 317.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.01178, allocations: 1.472 MB / 318.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.01207, allocations: 306.4 kB / 318.9 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.01217, allocations: 90.8 kB / 319 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.024e-05/0.01222, allocations: 32.64 kB / 319 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.01225, allocations: 47.16 kB / 319.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 1.824e-06/0.01225, allocations: 0 / 319.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.0003975/0.01265, allocations: 369.9 kB / 319.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.01269, allocations: 56.06 kB / 319.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000554/0.01324, allocations: 0.9487 MB / 320.4 MB, free: 11.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.01326, allocations: 37.7 kB / 320.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.01353, allocations: 0.5397 MB / 321 MB, free: 10.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.01363, allocations: 245.8 kB / 321.2 MB, free: 10.56 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-05/0.01373, allocations: 122.6 kB / 321.4 MB, free: 10.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.365e-05/0.0138, allocations: 345.8 kB / 321.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.851e-05/0.01389, allocations: 80.73 kB / 321.8 MB, free: 10.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.01405, allocations: 259.9 kB / 322 MB, free: 9.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005079/0.01456, allocations: 0.4992 MB / 322.5 MB, free: 9.105 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.01457, allocations: 0 / 322.5 MB, free: 9.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0003791/0.01495, allocations: 440.9 kB / 323 MB, free: 8.668 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.01496, allocations: 8 kB / 323 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.01496, allocations: 4 kB / 323 MB, free: 8.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.01498, allocations: 8 kB / 323 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.01528, allocations: 179.7 kB / 323.1 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.01529, allocations: 16.52 kB / 323.2 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.01543, allocations: 71.52 kB / 323.2 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.01546, allocations: 35.92 kB / 323.3 MB, free: 8.352 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.0001887/0.01565, allocations: 167.3 kB / 323.4 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-05/0.01573, allocations: 91.91 kB / 323.5 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004116/0.01614, allocations: 427.6 kB / 323.9 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.01614, allocations: 12 kB / 324 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.01614, allocations: 0 / 324 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.01615, allocations: 3.984 kB / 324 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007147/0.01687, allocations: 0.9072 MB / 324.9 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.01687, allocations: 0 / 324.9 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.01712, allocations: 115.9 kB / 325 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.01713, allocations: 4 kB / 325 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.01714, allocations: 12 kB / 325 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.01715, allocations: 0 / 325 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01715, allocations: 0 / 325 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000439/0.01759, allocations: 0.5775 MB / 325.6 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.977e-05/0.01766, allocations: 122.9 kB / 325.7 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.0177, allocations: 12 kB / 325.7 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.0178, allocations: 19.98 kB / 325.7 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.01787, allocations: 48.56 kB / 325.8 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.01788, allocations: 16 kB / 325.8 MB, free: 5.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005313/0.01841, allocations: 483.9 kB / 326.3 MB, free: 5.293 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01841, allocations: 0 / 326.3 MB, free: 5.293 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002953/0.01871, allocations: 219.2 kB / 326.5 MB, free: 5.078 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.0001055/0.01882, allocations: 104.3 kB / 326.6 MB, free: 4.969 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.01911, allocations: 317.5 kB / 326.9 MB, free: 4.656 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/0.01913, allocations: 12 kB / 326.9 MB, free: 4.645 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.01927, allocations: 177.8 kB / 327.1 MB, free: 4.465 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.0195, allocations: 73.23 kB / 327.1 MB, free: 4.395 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.02152, allocations: 2.214 MB / 329.4 MB, free: 2.133 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.02171, allocations: 325.2 kB / 329.7 MB, free: 1.797 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.02189, allocations: 92.42 kB / 329.8 MB, free: 1.703 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.02203, allocations: 119.4 kB / 329.9 MB, free: 1.586 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02203, allocations: 0 / 329.9 MB, free: 1.586 MB / 298.7 MB Notification: Performance of Templates: time 0.009823/0.03185, allocations: 5.025 MB / 334.9 MB, free: 12.61 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.7514563500881195]