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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 225.6 MB / 249.4 MB, free: 3.289 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2328/0.2328, allocations: 29.24 MB / 333.7 MB, free: 228 kB / 254.1 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001926/0.001926, allocations: 59.56 kB / 468 MB, free: 35.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1327, allocations: 59.58 MB / 0.5152 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_5): time 0.005511/0.1382, allocations: 3.258 MB / 0.5184 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.1404, allocations: 0.5299 MB / 0.5189 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003787/0.1408, allocations: 12 kB / 0.519 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003794/0.1412, allocations: 150.6 kB / 0.5191 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.1415, allocations: 126.9 kB / 0.5192 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007364/0.1422, allocations: 287.6 kB / 0.5195 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000781/0.143, allocations: 0.7278 MB / 0.5202 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006507/0.1437, allocations: 385.2 kB / 0.5206 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002959/0.144, allocations: 298.7 kB / 0.5209 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003927/0.1444, allocations: 405.7 kB / 0.5212 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.1445, allocations: 76 kB / 0.5213 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002224/0.1447, allocations: 104 kB / 0.5214 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004294/0.1451, allocations: 442.4 kB / 0.5218 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004767/0.1456, allocations: 0.5737 MB / 0.5224 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.147, allocations: 1.142 MB / 0.5235 GB, free: 4.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.147, allocations: 0 / 0.5235 GB, free: 4.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.147, allocations: 4 kB / 0.5235 GB, free: 4.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.1471, allocations: 0 / 0.5235 GB, free: 4.609 MB / 382.1 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.002631/0.1497, allocations: 1.775 MB / 0.5252 GB, free: 2.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.1497, allocations: 8.031 kB / 0.5253 GB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002852/0.15, allocations: 203.6 kB / 0.5254 GB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000692/0.1507, allocations: 0.5793 MB / 0.526 GB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.101e-05/0.1508, allocations: 74.38 kB / 0.5261 GB, free: 1.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.151, allocations: 108.2 kB / 0.5262 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.1529, allocations: 1.079 MB / 0.5272 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.1529, allocations: 192 / 0.5272 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.592e-05/0.153, allocations: 47.94 kB / 0.5273 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.812e-05/0.153, allocations: 58.06 kB / 0.5273 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.1549, allocations: 1.215 MB / 0.5285 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004698/0.1596, allocations: 2.837 MB / 0.5313 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.1611, allocations: 0.9671 MB / 0.5322 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006797/0.1617, allocations: 498.3 kB / 0.5327 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.1618, allocations: 36.58 kB / 0.5328 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.1619, allocations: 39.12 kB / 0.5328 GB, free: 10.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 3.647e-06/0.1619, allocations: 0 / 0.5328 GB, free: 10.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.002447/0.1643, allocations: 1.591 MB / 0.5343 GB, free: 9.277 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.1644, allocations: 59.97 kB / 0.5344 GB, free: 9.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.166, allocations: 1.258 MB / 0.5356 GB, free: 7.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.573e-05/0.166, allocations: 37.7 kB / 0.5357 GB, free: 7.895 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007199/0.1667, allocations: 0.7872 MB / 0.5364 GB, free: 7.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.167, allocations: 249.9 kB / 0.5367 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.1672, allocations: 130.6 kB / 0.5368 GB, free: 6.719 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.1674, allocations: 334 kB / 0.5371 GB, free: 6.387 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000711/0.1681, allocations: 477.7 kB / 0.5376 GB, free: 5.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000852/0.1689, allocations: 0.6598 MB / 0.5382 GB, free: 5.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004253/0.1732, allocations: 2.128 MB / 0.5403 GB, free: 2.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.1732, allocations: 4 kB / 0.5403 GB, free: 2.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002075/0.1753, allocations: 1.34 MB / 0.5416 GB, free: 1.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.1753, allocations: 12.03 kB / 0.5416 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.1753, allocations: 11.98 kB / 0.5416 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/0.1753, allocations: 8 kB / 0.5416 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/0.1759, allocations: 175.7 kB / 0.5418 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.192e-05/0.1759, allocations: 15.92 kB / 0.5418 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004377/0.1764, allocations: 83.44 kB / 0.5419 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.625e-05/0.1764, allocations: 39.98 kB / 0.5419 GB, free: 1.285 MB / 398.1 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.0008559/0.1773, allocations: 399 kB / 0.5423 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.1775, allocations: 154.9 kB / 0.5425 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.1794, allocations: 1.247 MB / 0.5437 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.1794, allocations: 7.938 kB / 0.5437 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.1794, allocations: 4 kB / 0.5437 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.1795, allocations: 3.984 kB / 0.5437 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003177/0.1826, allocations: 2.367 MB / 0.546 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1826, allocations: 0 / 0.546 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/0.1832, allocations: 127.8 kB / 0.5461 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.1832, allocations: 4 kB / 0.5461 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.289e-05/0.1832, allocations: 16 kB / 0.5462 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.1832, allocations: 4 kB / 0.5462 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1832, allocations: 0 / 0.5462 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/0.1858, allocations: 1.946 MB / 0.5481 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/0.186, allocations: 204 kB / 0.5482 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.739e-05/0.1861, allocations: 12.06 kB / 0.5483 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.1864, allocations: 27.97 kB / 0.5483 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.1865, allocations: 52.48 kB / 0.5483 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.1865, allocations: 28.06 kB / 0.5484 GB, free: 10.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001146/0.1877, allocations: 0.8715 MB / 0.5492 GB, free: 9.711 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1877, allocations: 0 / 0.5492 GB, free: 9.711 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006941/0.1884, allocations: 215.2 kB / 0.5494 GB, free: 9.5 MB / 414.1 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.0002235/0.1886, allocations: 119.2 kB / 0.5495 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.1902, allocations: 1.063 MB / 0.5506 GB, free: 8.312 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1902, allocations: 0 / 0.5506 GB, free: 8.312 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007545/0.191, allocations: 0.5302 MB / 0.5511 GB, free: 7.781 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.1915, allocations: 71.27 kB / 0.5512 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005179/0.1967, allocations: 2.784 MB / 0.5539 GB, free: 4.895 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.1979, allocations: 1.288 MB / 0.5551 GB, free: 3.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005084/0.1984, allocations: 120.3 kB / 0.5553 GB, free: 3.449 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.1986, allocations: 51.44 kB / 0.5553 GB, free: 3.398 MB / 414.1 MB Notification: Performance of SimCode: time 2.194e-06/0.1986, allocations: 4 kB / 0.5553 GB, free: 3.395 MB / 414.1 MB Notification: Performance of Templates: time 0.01465/0.2132, allocations: 5.601 MB / 0.5608 GB, free: 13.79 MB / 430.1 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=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.348528761416674]