Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.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.00185/0.00185, allocations: 80.67 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002533/0.002533, allocations: 169.9 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.448/1.448, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.1787/0.1787, allocations: 21.8 MB / 281 MB, free: 10.84 MB / 270.1 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_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 418.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.646e-05, allocations: 2.281 kB / 418.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.004675/0.004702, allocations: 3.062 MB / 421.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.006515, allocations: 0.6662 MB / 422 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000625/0.00714, allocations: 15.94 kB / 422 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005762/0.007717, allocations: 170.3 kB / 422.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004797/0.008196, allocations: 122.8 kB / 422.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008476/0.009044, allocations: 355.5 kB / 422.6 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009993/0.01004, allocations: 0.8482 MB / 423.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007324/0.01078, allocations: 468.2 kB / 423.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005221/0.0113, allocations: 494.8 kB / 424.4 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003226/0.01162, allocations: 298.7 kB / 424.7 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.01176, allocations: 84 kB / 424.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.01198, allocations: 123.9 kB / 424.9 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004193/0.0124, allocations: 446.4 kB / 425.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.0127, allocations: 322.6 kB / 425.7 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.01405, allocations: 1.187 MB / 426.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.01406, allocations: 7.938 kB / 426.9 MB, free: 4.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01406, allocations: 4 kB / 426.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.01408, allocations: 0 / 426.9 MB, free: 4.766 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.002249/0.01633, allocations: 1.684 MB / 428.6 MB, free: 3.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.01636, allocations: 11.97 kB / 428.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/0.01659, allocations: 207.6 kB / 428.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009568/0.01755, allocations: 0.6865 MB / 429.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.085e-05/0.01762, allocations: 82.42 kB / 429.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.01776, allocations: 96.38 kB / 429.6 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.01944, allocations: 1.134 MB / 430.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.01946, allocations: 192 / 430.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.54e-05/0.01955, allocations: 44.31 kB / 430.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/0.01958, allocations: 28.36 kB / 430.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.02106, allocations: 1.054 MB / 431.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00449/0.02555, allocations: 3.172 MB / 435.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.02722, allocations: 1.239 MB / 436.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005683/0.02779, allocations: 446.6 kB / 436.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.386e-05/0.02787, allocations: 24.64 kB / 436.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.02791, allocations: 47.09 kB / 436.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.595e-06/0.02791, allocations: 0 / 436.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.001959/0.02987, allocations: 1.45 MB / 438.3 MB, free: 9.129 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.02993, allocations: 60.06 kB / 438.3 MB, free: 9.059 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.03144, allocations: 1.213 MB / 439.5 MB, free: 7.832 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.766e-05/0.03149, allocations: 41.7 kB / 439.6 MB, free: 7.785 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000657/0.03214, allocations: 0.7408 MB / 440.3 MB, free: 7.035 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.03235, allocations: 230 kB / 440.5 MB, free: 6.809 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.03253, allocations: 122.3 kB / 440.7 MB, free: 6.684 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.03271, allocations: 334 kB / 441 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000539/0.03325, allocations: 409.1 kB / 441.4 MB, free: 5.949 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006239/0.03387, allocations: 0.5082 MB / 441.9 MB, free: 5.406 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.03505, allocations: 0.9435 MB / 442.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.03506, allocations: 4 kB / 442.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001527/0.03659, allocations: 1.145 MB / 444 MB, free: 3.273 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.03661, allocations: 10.66 kB / 444 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.03661, allocations: 0 / 444 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.03664, allocations: 11.98 kB / 444 MB, free: 3.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/0.03712, allocations: 123.8 kB / 444.1 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.03714, allocations: 7.984 kB / 444.1 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.03739, allocations: 51.62 kB / 444.2 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/0.03744, allocations: 24 kB / 444.2 MB, free: 3.051 MB / 366.1 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 (81): * Single equations (assignments): 81 * 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.0005166/0.03795, allocations: 365.4 kB / 444.6 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.03812, allocations: 143.1 kB / 444.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.0397, allocations: 1.144 MB / 445.8 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.03971, allocations: 8 kB / 445.9 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.03972, allocations: 0 / 445.9 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.03973, allocations: 3.984 kB / 445.9 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.159/0.1988, allocations: 2.06 MB / 447.9 MB, free: 40.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.1988, allocations: 0.6094 kB / 447.9 MB, free: 40.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000491/0.1993, allocations: 110 kB / 448 MB, free: 40.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.1993, allocations: 2.438 kB / 448 MB, free: 40.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/0.1993, allocations: 14.2 kB / 448 MB, free: 40.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.1993, allocations: 2.75 kB / 448 MB, free: 40.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1993, allocations: 4.203 kB / 448.1 MB, free: 40.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.2013, allocations: 1.793 MB / 449.8 MB, free: 39.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.2015, allocations: 121.1 kB / 450 MB, free: 39.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.182e-05/0.2016, allocations: 12.17 kB / 450 MB, free: 39.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.2018, allocations: 10.28 kB / 450 MB, free: 39.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.693e-05/0.2019, allocations: 40.73 kB / 450 MB, free: 39.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.2019, allocations: 17.94 kB / 450 MB, free: 39.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001098/0.203, allocations: 0.8394 MB / 450.9 MB, free: 39.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.203, allocations: 5.25 kB / 450.9 MB, free: 39.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000571/0.2036, allocations: 212.7 kB / 451.1 MB, free: 39.44 MB / 366.1 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 (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.0001937/0.2038, allocations: 116.3 kB / 451.2 MB, free: 39.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.2049, allocations: 0.9171 MB / 452.1 MB, free: 39.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2049, allocations: 0 / 452.1 MB, free: 39.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004843/0.2054, allocations: 479.1 kB / 452.6 MB, free: 39.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/0.2059, allocations: 86.97 kB / 452.7 MB, free: 39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.2097, allocations: 2.644 MB / 455.3 MB, free: 37.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007903/0.2105, allocations: 0.6915 MB / 456 MB, free: 37.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002637/0.2108, allocations: 75.92 kB / 456.1 MB, free: 37.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.2109, allocations: 47.98 kB / 456.1 MB, free: 37.6 MB / 366.1 MB Notification: Performance of SimCode: time 1.202e-06/0.2109, allocations: 0.9062 kB / 456.1 MB, free: 37.6 MB / 366.1 MB Notification: Performance of Templates: time 0.01282/0.2237, allocations: 4.169 MB / 460.3 MB, free: 36.94 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6199880093336105] Failed to read output from testmodel.py, exit status != 0: 0.23277834057807922 0.24227578300000002 0.226040241 Calling exit ...