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.0009128/0.0009128, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007389/0.0007389, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8402/0.8402, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.1131/0.1131, allocations: 21.79 MB / 281.7 MB, free: 7.383 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 2.565e-06/2.565e-06, allocations: 0 / 419 MB, free: 8.863 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.758e-05, allocations: 5.375 kB / 419 MB, free: 8.859 MB / 394.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_5): time 0.002716/0.002743, allocations: 2.76 MB / 421.8 MB, free: 6.09 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008496/0.003593, allocations: 0.5259 MB / 422.3 MB, free: 5.562 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.003783, allocations: 12 kB / 422.3 MB, free: 5.551 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.004001, allocations: 146.6 kB / 422.5 MB, free: 5.406 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.004209, allocations: 130.9 kB / 422.6 MB, free: 5.277 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.00463, allocations: 287.6 kB / 422.9 MB, free: 4.996 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003993/0.005029, allocations: 0.7238 MB / 423.6 MB, free: 4.27 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003402/0.00537, allocations: 357.6 kB / 424 MB, free: 3.895 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.005613, allocations: 454.8 kB / 424.4 MB, free: 3.449 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.005784, allocations: 278.9 kB / 424.7 MB, free: 3.176 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.617e-05/0.005851, allocations: 76 kB / 424.7 MB, free: 3.102 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.005973, allocations: 103.9 kB / 424.8 MB, free: 3 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.006196, allocations: 446.4 kB / 425.3 MB, free: 2.562 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.006378, allocations: 306.7 kB / 425.6 MB, free: 2.262 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006558/0.007034, allocations: 1.105 MB / 426.7 MB, free: 1.152 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.007036, allocations: 0 / 426.7 MB, free: 1.152 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.007037, allocations: 0 / 426.7 MB, free: 1.152 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.007047, allocations: 4 kB / 426.7 MB, free: 1.148 MB / 394.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.001216/0.008263, allocations: 1.676 MB / 428.4 MB, free: 15.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.008295, allocations: 12.03 kB / 428.4 MB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.008423, allocations: 195.6 kB / 428.6 MB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.008706, allocations: 0.5259 MB / 429.1 MB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.773e-05/0.008754, allocations: 74.38 kB / 429.2 MB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.028e-05/0.008824, allocations: 100.4 kB / 429.3 MB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009192/0.009743, allocations: 1.079 MB / 430.3 MB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.009762, allocations: 192 / 430.3 MB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.009798, allocations: 44.38 kB / 430.4 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.152e-05/0.00984, allocations: 54.5 kB / 430.4 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.01088, allocations: 1.219 MB / 431.7 MB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.01313, allocations: 2.464 MB / 434.1 MB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008276/0.01395, allocations: 0.9759 MB / 435.1 MB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/0.01434, allocations: 490.6 kB / 435.6 MB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.542e-05/0.01439, allocations: 28.64 kB / 435.6 MB, free: 8.059 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.01441, allocations: 43.22 kB / 435.6 MB, free: 8.008 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 1.893e-06/0.01441, allocations: 4 kB / 435.7 MB, free: 8.004 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.001322/0.01574, allocations: 1.594 MB / 437.2 MB, free: 6.402 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.01577, allocations: 64.06 kB / 437.3 MB, free: 6.328 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008341/0.0166, allocations: 1.248 MB / 438.6 MB, free: 5.066 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.01663, allocations: 37.7 kB / 438.6 MB, free: 5.023 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.01698, allocations: 0.7676 MB / 439.4 MB, free: 4.246 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.01709, allocations: 242.1 kB / 439.6 MB, free: 4.008 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.0172, allocations: 130.6 kB / 439.7 MB, free: 3.871 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.65e-05/0.01728, allocations: 334 kB / 440.1 MB, free: 3.539 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.01768, allocations: 477.7 kB / 440.5 MB, free: 3.074 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/0.01815, allocations: 0.656 MB / 441.2 MB, free: 2.344 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/0.02036, allocations: 2.125 MB / 443.3 MB, free: 144 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.02037, allocations: 0 / 443.3 MB, free: 144 kB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.1372/0.1576, allocations: 1.338 MB / 444.6 MB, free: 63.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.1576, allocations: 9.594 kB / 444.6 MB, free: 63.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.1576, allocations: 3.25 kB / 444.7 MB, free: 63.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.1576, allocations: 10.09 kB / 444.7 MB, free: 63.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.1579, allocations: 178.8 kB / 444.8 MB, free: 63.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.1579, allocations: 15.86 kB / 444.9 MB, free: 63.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.1581, allocations: 80.05 kB / 444.9 MB, free: 63.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.1581, allocations: 35.73 kB / 445 MB, free: 63.88 MB / 410.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.0004355/0.1586, allocations: 400.1 kB / 445.4 MB, free: 63.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.597e-05/0.1586, allocations: 136.9 kB / 445.5 MB, free: 63.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008958/0.1595, allocations: 1.251 MB / 446.7 MB, free: 63.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1595, allocations: 6.469 kB / 446.7 MB, free: 63.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1595, allocations: 1.5 kB / 446.7 MB, free: 63.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1595, allocations: 3.375 kB / 446.8 MB, free: 63.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.1609, allocations: 2.175 MB / 448.9 MB, free: 62.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1609, allocations: 0 / 448.9 MB, free: 62.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.1611, allocations: 128.3 kB / 449.1 MB, free: 62.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1611, allocations: 3.219 kB / 449.1 MB, free: 62.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.1612, allocations: 18.28 kB / 449.1 MB, free: 62.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1612, allocations: 6.734 kB / 449.1 MB, free: 62.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1612, allocations: 0 / 449.1 MB, free: 62.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.1623, allocations: 1.946 MB / 451 MB, free: 62.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/0.1624, allocations: 121.4 kB / 451.1 MB, free: 62.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.1624, allocations: 17.75 kB / 451.2 MB, free: 62.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.1625, allocations: 27.25 kB / 451.2 MB, free: 62.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.1626, allocations: 48.72 kB / 451.2 MB, free: 62.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.1626, allocations: 22.52 kB / 451.3 MB, free: 62.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004944/0.1631, allocations: 0.8537 MB / 452.1 MB, free: 61.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1631, allocations: 2.156 kB / 452.1 MB, free: 61.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003376/0.1634, allocations: 222 kB / 452.3 MB, free: 61.86 MB / 410.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.0001297/0.1636, allocations: 111 kB / 452.4 MB, free: 61.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007487/0.1643, allocations: 1.064 MB / 453.5 MB, free: 61.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1643, allocations: 3.188 kB / 453.5 MB, free: 61.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.1647, allocations: 0.5289 MB / 454 MB, free: 61.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.1649, allocations: 62.92 kB / 454.1 MB, free: 61.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.1669, allocations: 2.821 MB / 456.9 MB, free: 60.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.1672, allocations: 0.7003 MB / 457.6 MB, free: 59.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.1673, allocations: 71.88 kB / 457.7 MB, free: 59.93 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1673, allocations: 0 / 457.7 MB, free: 59.93 MB / 410.7 MB Notification: Performance of Templates: time 0.007205/0.1745, allocations: 11.37 MB / 469.1 MB, free: 58.64 MB / 410.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=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.583733635023236] Failed to read output from testmodel.py, exit status != 0: 0.1795294089242816 0.18647826399999995 0.17786706499999994 Calling exit ...