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.0008681/0.0008681, allocations: 73.88 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.0009005/0.0009005, allocations: 169 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 0.9748/0.9748, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.1231/0.1231, allocations: 21.8 MB / 282.8 MB, free: 7.035 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.873e-06/1.873e-06, allocations: 0 / 360.1 MB, free: 4.746 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481e-05/1.668e-05, allocations: 2.312 kB / 360.1 MB, free: 4.742 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_5): time 0.002766/0.002782, allocations: 2.783 MB / 362.8 MB, free: 1.945 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009189/0.003701, allocations: 0.5415 MB / 363.4 MB, free: 1.402 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.003885, allocations: 8 kB / 363.4 MB, free: 1.395 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.0041, allocations: 146.6 kB / 363.5 MB, free: 1.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.004328, allocations: 134.9 kB / 363.7 MB, free: 1.117 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.004746, allocations: 283.6 kB / 363.9 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004387/0.005184, allocations: 0.7354 MB / 364.7 MB, free: 104 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003634/0.005548, allocations: 345.7 kB / 365 MB, free: 15.74 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002647/0.005812, allocations: 462.9 kB / 365.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.005991, allocations: 282.8 kB / 365.7 MB, free: 15.01 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.398e-05/0.006065, allocations: 72 kB / 365.8 MB, free: 14.94 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.006198, allocations: 107.9 kB / 365.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.006423, allocations: 454.3 kB / 366.4 MB, free: 14.39 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.006577, allocations: 310.7 kB / 366.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005319/0.007109, allocations: 0.8512 MB / 367.5 MB, free: 13.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.007111, allocations: 0 / 367.5 MB, free: 13.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.007112, allocations: 0 / 367.5 MB, free: 13.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.007119, allocations: 4 kB / 367.5 MB, free: 13.23 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001197/0.008315, allocations: 1.808 MB / 369.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.008344, allocations: 12.03 kB / 369.3 MB, free: 11.35 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002453/0.008589, allocations: 279.6 kB / 369.6 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006182/0.009208, allocations: 0.6223 MB / 370.2 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-05/0.009282, allocations: 78.36 kB / 370.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.009388, allocations: 96.38 kB / 370.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007341/0.01012, allocations: 0.5326 MB / 370.9 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.01015, allocations: 192 / 370.9 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.586e-05/0.01021, allocations: 40.38 kB / 371 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.225e-05/0.01027, allocations: 58.5 kB / 371 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00047/0.01074, allocations: 319.2 kB / 371.3 MB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.01256, allocations: 1.854 MB / 373.2 MB, free: 7.363 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.01287, allocations: 281.3 kB / 373.5 MB, free: 7.074 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.01298, allocations: 117.6 kB / 373.6 MB, free: 6.957 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.61e-05/0.01302, allocations: 28.64 kB / 373.6 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.01304, allocations: 42.05 kB / 373.7 MB, free: 6.879 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 1.954e-06/0.01304, allocations: 0 / 373.7 MB, free: 6.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.000519/0.01356, allocations: 0.5204 MB / 374.2 MB, free: 6.352 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.01359, allocations: 56.06 kB / 374.2 MB, free: 6.285 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006555/0.01425, allocations: 1.141 MB / 375.4 MB, free: 5.113 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.01427, allocations: 37.7 kB / 375.4 MB, free: 5.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004146/0.01469, allocations: 0.8689 MB / 376.3 MB, free: 4.188 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.0148, allocations: 241.9 kB / 376.5 MB, free: 3.949 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.01491, allocations: 144.2 kB / 376.7 MB, free: 3.801 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.01503, allocations: 0.512 MB / 377.2 MB, free: 3.281 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.575e-05/0.01512, allocations: 77.92 kB / 377.2 MB, free: 3.203 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.01533, allocations: 350.6 kB / 377.6 MB, free: 2.758 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004437/0.01577, allocations: 0.567 MB / 378.2 MB, free: 2.086 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.01578, allocations: 4 kB / 378.2 MB, free: 2.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0005257/0.0163, allocations: 0.5896 MB / 378.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.01632, allocations: 8 kB / 378.8 MB, free: 1.477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.01632, allocations: 4 kB / 378.8 MB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.01634, allocations: 12.75 kB / 378.8 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.01663, allocations: 175.7 kB / 378.9 MB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.01663, allocations: 8 kB / 379 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.01678, allocations: 79.44 kB / 379 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.01681, allocations: 24 kB / 379.1 MB, free: 1.18 MB / 346.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.0002138/0.01702, allocations: 229.4 kB / 379.3 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.01713, allocations: 167 kB / 379.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00049/0.01762, allocations: 0.5112 MB / 380 MB, free: 272 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.01763, allocations: 4 kB / 380 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.01763, allocations: 4 kB / 380 MB, free: 264 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01763, allocations: 0 / 380 MB, free: 264 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008826/0.01852, allocations: 1.068 MB / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01852, allocations: 0 / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.01876, allocations: 115.9 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01877, allocations: 0 / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.01879, allocations: 16 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.01879, allocations: 8 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01879, allocations: 3.938 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.01935, allocations: 0.7165 MB / 381.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.696e-05/0.01943, allocations: 119 kB / 382 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.01947, allocations: 16 kB / 382 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.01958, allocations: 19.98 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/0.01964, allocations: 48.56 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.01966, allocations: 19.94 kB / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003782/0.02004, allocations: 0.6286 MB / 382.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02004, allocations: 0 / 382.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003292/0.02037, allocations: 215.2 kB / 382.9 MB, free: 13.21 MB / 362.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.0001136/0.02048, allocations: 119.1 kB / 383.1 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003342/0.02082, allocations: 348.2 kB / 383.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.02082, allocations: 4.188 kB / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.02098, allocations: 188.6 kB / 383.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.02126, allocations: 72.08 kB / 383.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.02316, allocations: 2.229 MB / 385.9 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.02336, allocations: 333.1 kB / 386.2 MB, free: 9.852 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000162/0.02352, allocations: 88.36 kB / 386.3 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.02366, allocations: 134.2 kB / 386.4 MB, free: 9.633 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02366, allocations: 4 kB / 386.4 MB, free: 9.629 MB / 362.7 MB Notification: Performance of Templates: time 0.009036/0.03269, allocations: 5.15 MB / 391.6 MB, free: 4.504 MB / 362.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: 3.00596418697387]