Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.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.0007274/0.0007274, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007133/0.0007133, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8467/0.8467, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.1113/0.1113, allocations: 21.8 MB / 281.7 MB, free: 7.398 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_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 419 MB, free: 8.879 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.539e-05, allocations: 2.844 kB / 419 MB, free: 8.875 MB / 394.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_2): time 0.002835/0.00286, allocations: 3.078 MB / 422.1 MB, free: 5.789 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.004111, allocations: 0.6701 MB / 422.8 MB, free: 5.117 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003514/0.004463, allocations: 19.94 kB / 422.8 MB, free: 5.098 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.004776, allocations: 182.2 kB / 423 MB, free: 4.918 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.005021, allocations: 142.7 kB / 423.1 MB, free: 4.777 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005515/0.005573, allocations: 351.6 kB / 423.5 MB, free: 4.434 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007082/0.006281, allocations: 0.8404 MB / 424.3 MB, free: 3.59 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005491/0.00683, allocations: 480.1 kB / 424.8 MB, free: 3.086 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003979/0.007228, allocations: 494.8 kB / 425.2 MB, free: 2.602 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.007458, allocations: 294.7 kB / 425.5 MB, free: 2.312 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.119e-05/0.007549, allocations: 88 kB / 425.6 MB, free: 2.227 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.007718, allocations: 116 kB / 425.7 MB, free: 2.113 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.007967, allocations: 450.3 kB / 426.2 MB, free: 1.672 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.008131, allocations: 334.5 kB / 426.5 MB, free: 1.344 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008361/0.008967, allocations: 1.214 MB / 427.7 MB, free: 128 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.008969, allocations: 4 kB / 427.7 MB, free: 124 kB / 394.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.00897, allocations: 0 / 427.7 MB, free: 124 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.144e-05/0.008992, allocations: 0 / 427.7 MB, free: 124 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.001376/0.01037, allocations: 1.739 MB / 429.5 MB, free: 14.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.0104, allocations: 8.031 kB / 429.5 MB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.01056, allocations: 207.6 kB / 429.7 MB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000604/0.01117, allocations: 0.7108 MB / 430.4 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.2e-05/0.01121, allocations: 86.44 kB / 430.5 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.337e-05/0.01128, allocations: 96.38 kB / 430.6 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.0123, allocations: 1.158 MB / 431.7 MB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.01231, allocations: 192 / 431.7 MB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.01236, allocations: 44.38 kB / 431.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.01237, allocations: 28.38 kB / 431.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009475/0.01332, allocations: 1.093 MB / 432.9 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.01597, allocations: 3.24 MB / 436.1 MB, free: 7.484 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.01705, allocations: 1.297 MB / 437.4 MB, free: 6.172 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/0.0174, allocations: 470.6 kB / 437.9 MB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.496e-05/0.01745, allocations: 28.56 kB / 437.9 MB, free: 5.684 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.01748, allocations: 43.16 kB / 437.9 MB, free: 5.633 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 2.134e-06/0.01748, allocations: 0 / 437.9 MB, free: 5.633 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.001193/0.01867, allocations: 1.528 MB / 439.5 MB, free: 4.098 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.0187, allocations: 56.06 kB / 439.5 MB, free: 4.031 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008926/0.0196, allocations: 1.268 MB / 440.8 MB, free: 2.754 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.01962, allocations: 37.7 kB / 440.8 MB, free: 2.711 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.01998, allocations: 0.7646 MB / 441.6 MB, free: 1.938 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.02009, allocations: 250.1 kB / 441.8 MB, free: 1.691 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.02019, allocations: 114.3 kB / 441.9 MB, free: 1.574 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.392e-05/0.02029, allocations: 329.9 kB / 442.3 MB, free: 1.246 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/0.02063, allocations: 433.1 kB / 442.7 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.02099, allocations: 0.5277 MB / 443.2 MB, free: 256 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1399/0.1609, allocations: 0.9973 MB / 444.2 MB, free: 63.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1609, allocations: 0 / 444.2 MB, free: 63.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009136/0.1618, allocations: 1.189 MB / 445.4 MB, free: 63.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.1618, allocations: 8.344 kB / 445.4 MB, free: 63.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.1618, allocations: 3.25 kB / 445.4 MB, free: 63.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.1619, allocations: 9.125 kB / 445.4 MB, free: 63.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.1621, allocations: 132.1 kB / 445.6 MB, free: 63.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.1621, allocations: 6.438 kB / 445.6 MB, free: 63.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.1623, allocations: 52.44 kB / 445.6 MB, free: 63.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.1623, allocations: 23.38 kB / 445.6 MB, free: 63.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 82 * 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.0003844/0.1627, allocations: 376 kB / 446 MB, free: 63.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.39e-05/0.1628, allocations: 149.5 kB / 446.2 MB, free: 63.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008755/0.1636, allocations: 1.194 MB / 447.3 MB, free: 63.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.1636, allocations: 9.75 kB / 447.4 MB, free: 63.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1636, allocations: 0 / 447.4 MB, free: 63.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.1637, allocations: 3.328 kB / 447.4 MB, free: 63.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.1652, allocations: 2.137 MB / 449.5 MB, free: 62.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1652, allocations: 0 / 449.5 MB, free: 62.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.1654, allocations: 113 kB / 449.6 MB, free: 62.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1654, allocations: 3.25 kB / 449.6 MB, free: 62.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.1654, allocations: 18.42 kB / 449.6 MB, free: 62.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.1654, allocations: 7.156 kB / 449.6 MB, free: 62.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1654, allocations: 0 / 449.6 MB, free: 62.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.1666, allocations: 1.884 MB / 451.5 MB, free: 62.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.072e-05/0.1667, allocations: 131 kB / 451.6 MB, free: 61.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.1667, allocations: 10.66 kB / 451.7 MB, free: 61.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1668, allocations: 14.55 kB / 451.7 MB, free: 61.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.1669, allocations: 40.94 kB / 451.7 MB, free: 61.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.1669, allocations: 16.41 kB / 451.7 MB, free: 61.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005746/0.1675, allocations: 0.8841 MB / 452.6 MB, free: 61.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1675, allocations: 1.5 kB / 452.6 MB, free: 61.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003884/0.1679, allocations: 210.5 kB / 452.8 MB, free: 61.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (67): * Single equations (assignments): 67 * 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.000172/0.168, allocations: 119.5 kB / 452.9 MB, free: 61.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007186/0.1688, allocations: 0.9622 MB / 453.9 MB, free: 61.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1688, allocations: 2.969 kB / 453.9 MB, free: 61.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.1691, allocations: 497.8 kB / 454.4 MB, free: 61.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.1695, allocations: 92.22 kB / 454.5 MB, free: 61.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.1716, allocations: 2.834 MB / 457.3 MB, free: 59.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.172, allocations: 0.7096 MB / 458 MB, free: 59.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.1721, allocations: 57.62 kB / 458.1 MB, free: 59.65 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1721, allocations: 0 / 458.1 MB, free: 59.65 MB / 410.7 MB Notification: Performance of Templates: time 0.009617/0.1817, allocations: 11.55 MB / 469.6 MB, free: 58.26 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.495306878350675] Failed to read output from testmodel.py, exit status != 0: 0.1868678079918027 0.19536242599999995 0.18462451899999996 Calling exit ...