Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.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.001353/0.001353, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.00136/0.00136, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.431/1.431, allocations: 225.6 MB / 249.4 MB, free: 3.16 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.2018/0.2018, allocations: 29.23 MB / 333.7 MB, free: 244 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_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 63.08 kB / 468 MB, free: 35.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1425, allocations: 59.57 MB / 0.5152 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_4): time 0.005611/0.1481, allocations: 3.691 MB / 0.5188 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.1503, allocations: 0.6858 MB / 0.5195 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000616/0.1509, allocations: 15.94 kB / 0.5195 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005496/0.1514, allocations: 174.3 kB / 0.5197 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004211/0.1519, allocations: 142.8 kB / 0.5198 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008723/0.1527, allocations: 371.4 kB / 0.5202 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009379/0.1537, allocations: 0.8562 MB / 0.521 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008347/0.1545, allocations: 0.4997 MB / 0.5215 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003593/0.1549, allocations: 338.4 kB / 0.5218 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004622/0.1553, allocations: 437.5 kB / 0.5222 GB, free: 5.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.1555, allocations: 88 kB / 0.5223 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.1557, allocations: 120 kB / 0.5224 GB, free: 5.734 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004225/0.1561, allocations: 458.3 kB / 0.5229 GB, free: 5.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005142/0.1566, allocations: 0.6319 MB / 0.5235 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.1582, allocations: 1.301 MB / 0.5248 GB, free: 3.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1582, allocations: 0 / 0.5248 GB, free: 3.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1582, allocations: 0 / 0.5248 GB, free: 3.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.1582, allocations: 0 / 0.5248 GB, free: 3.336 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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.0028/0.161, allocations: 1.884 MB / 0.5266 GB, free: 1.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.1611, allocations: 12.03 kB / 0.5266 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003048/0.1614, allocations: 211.5 kB / 0.5268 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.1625, allocations: 0.7756 MB / 0.5276 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.625e-05/0.1626, allocations: 78.48 kB / 0.5277 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.1627, allocations: 108.3 kB / 0.5278 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.1648, allocations: 1.282 MB / 0.529 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.1648, allocations: 4.188 kB / 0.529 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.559e-05/0.1649, allocations: 47.94 kB / 0.5291 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-05/0.165, allocations: 51.92 kB / 0.5291 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.1667, allocations: 1.23 MB / 0.5303 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005659/0.1724, allocations: 3.887 MB / 0.5341 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.1741, allocations: 1.336 MB / 0.5354 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005994/0.1747, allocations: 475.2 kB / 0.5359 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.637e-05/0.1748, allocations: 36.77 kB / 0.5359 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.1749, allocations: 43.12 kB / 0.5359 GB, free: 7.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 2.645e-06/0.1749, allocations: 0 / 0.5359 GB, free: 7.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=70): time 0.002155/0.177, allocations: 1.564 MB / 0.5375 GB, free: 5.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.1771, allocations: 93.8 kB / 0.5376 GB, free: 5.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/0.1788, allocations: 1.366 MB / 0.5389 GB, free: 4.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.1789, allocations: 33.7 kB / 0.5389 GB, free: 4.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000768/0.1796, allocations: 0.858 MB / 0.5398 GB, free: 3.598 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/0.1799, allocations: 253.8 kB / 0.54 GB, free: 3.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.1801, allocations: 162.6 kB / 0.5402 GB, free: 3.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.1803, allocations: 341.9 kB / 0.5405 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006426/0.181, allocations: 477.7 kB / 0.5409 GB, free: 2.375 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008236/0.1818, allocations: 0.7121 MB / 0.5416 GB, free: 1.551 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.1833, allocations: 1.241 MB / 0.5428 GB, free: 200 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/0.1833, allocations: 4 kB / 0.5428 GB, free: 196 kB / 398.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001982/0.1853, allocations: 1.394 MB / 0.5442 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.1853, allocations: 8 kB / 0.5442 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.1853, allocations: 8 kB / 0.5442 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.203e-05/0.1854, allocations: 12 kB / 0.5442 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000585/0.186, allocations: 183.7 kB / 0.5444 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.739e-05/0.186, allocations: 20.42 kB / 0.5444 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004104/0.1864, allocations: 95.28 kB / 0.5445 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-05/0.1865, allocations: 44 kB / 0.5446 GB, free: 14.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 5 (CIAF.Integrator1.local_reset,Pollution.Integrator1.local_reset,Capital_Investment.Integrator1.local_reset,Natural_Resources.Integrator1.local_reset,Population.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.0005891/0.187, allocations: 404.5 kB / 0.5449 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.1872, allocations: 158.9 kB / 0.5451 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.189, allocations: 1.245 MB / 0.5463 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.189, allocations: 8 kB / 0.5463 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.189, allocations: 0 / 0.5463 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.189, allocations: 15.95 kB / 0.5463 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/0.1921, allocations: 2.396 MB / 0.5487 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1921, allocations: 0 / 0.5487 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/0.1926, allocations: 123.8 kB / 0.5488 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1926, allocations: 0 / 0.5488 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/0.1926, allocations: 23.94 kB / 0.5488 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.1927, allocations: 4 kB / 0.5488 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.1927, allocations: 4 kB / 0.5488 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/0.1952, allocations: 1.989 MB / 0.5508 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.1954, allocations: 219.8 kB / 0.551 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.984e-05/0.1955, allocations: 20 kB / 0.551 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.1958, allocations: 19.98 kB / 0.551 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.1959, allocations: 44.5 kB / 0.5511 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.275e-05/0.196, allocations: 20 kB / 0.5511 GB, free: 7.637 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001233/0.1972, allocations: 0.9414 MB / 0.552 GB, free: 6.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1972, allocations: 0 / 0.552 GB, free: 6.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000799/0.198, allocations: 223.3 kB / 0.5522 GB, free: 6.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (70): * Single equations (assignments): 70 * 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.0002222/0.1982, allocations: 111.2 kB / 0.5523 GB, free: 6.359 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.1998, allocations: 1.056 MB / 0.5533 GB, free: 5.301 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1998, allocations: 0.5625 kB / 0.5533 GB, free: 5.301 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006515/0.2004, allocations: 0.5106 MB / 0.5538 GB, free: 4.793 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006808/0.2011, allocations: 100.7 kB / 0.5539 GB, free: 4.695 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/0.2054, allocations: 2.919 MB / 0.5568 GB, free: 1.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.2064, allocations: 1.331 MB / 0.5581 GB, free: 376 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004022/0.2068, allocations: 133 kB / 0.5582 GB, free: 244 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.207, allocations: 59.42 kB / 0.5583 GB, free: 184 kB / 414.1 MB Notification: Performance of SimCode: time 1.203e-06/0.207, allocations: 4 kB / 0.5583 GB, free: 180 kB / 414.1 MB Notification: Performance of Templates: time 0.01413/0.2211, allocations: 6.006 MB / 0.5641 GB, free: 10.18 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0326034016907215]