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.00134/0.00134, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.001473/0.001473, allocations: 168.1 kB / 22.46 MB, free: 5.375 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.431/1.431, allocations: 177.2 MB / 202.8 MB, free: 9.172 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.1827/0.1827, 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_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.766e-06/2.766e-06, allocations: 0 / 418.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/3.035e-05, allocations: 2.281 kB / 418.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_2): time 0.006667/0.006697, allocations: 3.086 MB / 421.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.008977, allocations: 0.6661 MB / 422 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005622/0.009539, allocations: 23.88 kB / 422 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006141/0.01015, allocations: 178.3 kB / 422.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005416/0.01069, allocations: 134.8 kB / 422.3 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.01178, allocations: 359.5 kB / 422.7 MB, free: 9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.01317, allocations: 0.8481 MB / 423.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.01427, allocations: 468.2 kB / 424 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007621/0.01503, allocations: 494.8 kB / 424.5 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004666/0.0155, allocations: 290.8 kB / 424.8 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002097/0.01571, allocations: 88 kB / 424.8 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.01601, allocations: 112 kB / 425 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006009/0.01661, allocations: 462.2 kB / 425.4 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004709/0.01708, allocations: 326.6 kB / 425.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.0191, allocations: 1.214 MB / 426.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.0191, allocations: 0 / 426.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.01911, allocations: 0 / 426.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.01912, allocations: 0 / 426.9 MB, free: 4.703 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.003477/0.0226, allocations: 1.742 MB / 428.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.02264, allocations: 12.03 kB / 428.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003632/0.02301, allocations: 207.6 kB / 428.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.02445, allocations: 0.7031 MB / 429.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.02456, allocations: 78.44 kB / 429.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/0.02477, allocations: 108.3 kB / 429.8 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/0.02744, allocations: 1.166 MB / 430.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-05/0.02748, allocations: 192 / 430.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.02759, allocations: 48.38 kB / 431 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.575e-05/0.02763, allocations: 24.38 kB / 431 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/0.03005, allocations: 1.089 MB / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006488/0.03653, allocations: 3.24 MB / 435.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/0.03918, allocations: 1.309 MB / 436.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009126/0.04009, allocations: 466.6 kB / 437.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.0402, allocations: 24.58 kB / 437.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.317e-05/0.04026, allocations: 43.22 kB / 437.2 MB, free: 10.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 3.657e-06/0.04027, allocations: 0 / 437.2 MB, free: 10.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.003295/0.04356, allocations: 1.524 MB / 438.7 MB, free: 8.688 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.242e-05/0.04365, allocations: 64.05 kB / 438.8 MB, free: 8.613 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002473/0.04612, allocations: 1.264 MB / 440 MB, free: 7.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.086e-05/0.04621, allocations: 37.7 kB / 440.1 MB, free: 7.297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009836/0.04719, allocations: 0.7647 MB / 440.8 MB, free: 6.523 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/0.04751, allocations: 246.1 kB / 441.1 MB, free: 6.281 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/0.04778, allocations: 118.3 kB / 441.2 MB, free: 6.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.04799, allocations: 330 kB / 441.5 MB, free: 5.832 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000906/0.0489, allocations: 433.1 kB / 441.9 MB, free: 5.406 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.0499, allocations: 0.5278 MB / 442.5 MB, free: 4.844 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.05188, allocations: 0.9942 MB / 443.5 MB, free: 3.816 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.05188, allocations: 0 / 443.5 MB, free: 3.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002497/0.05438, allocations: 1.191 MB / 444.6 MB, free: 2.617 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.05441, allocations: 8 kB / 444.7 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.05442, allocations: 3.938 kB / 444.7 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.05444, allocations: 8 kB / 444.7 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007661/0.05521, allocations: 131.8 kB / 444.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/0.05523, allocations: 8 kB / 444.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.05565, allocations: 43.62 kB / 444.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.768e-05/0.05572, allocations: 36.25 kB / 444.9 MB, free: 2.383 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 (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.0008268/0.05655, allocations: 369.5 kB / 445.2 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.05682, allocations: 147 kB / 445.4 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/0.05934, allocations: 1.199 MB / 446.6 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.05935, allocations: 8 kB / 446.6 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.05936, allocations: 0 / 446.6 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.05937, allocations: 3.984 kB / 446.6 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1541/0.2135, allocations: 2.134 MB / 448.7 MB, free: 40.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.2135, allocations: 0.75 kB / 448.7 MB, free: 40.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004988/0.214, allocations: 116.6 kB / 448.8 MB, free: 40.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.806e-05/0.214, allocations: 2.797 kB / 448.8 MB, free: 40.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.955e-05/0.2141, allocations: 18.81 kB / 448.9 MB, free: 40.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/0.2141, allocations: 2.188 kB / 448.9 MB, free: 40.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2141, allocations: 1.062 kB / 448.9 MB, free: 40.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002409/0.2165, allocations: 1.873 MB / 450.7 MB, free: 39.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.2168, allocations: 130 kB / 450.9 MB, free: 39.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.2169, allocations: 12.92 kB / 450.9 MB, free: 39.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.2171, allocations: 11.33 kB / 450.9 MB, free: 39.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.2173, allocations: 40.92 kB / 450.9 MB, free: 39.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.2173, allocations: 17.69 kB / 450.9 MB, free: 39.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00149/0.2188, allocations: 0.8815 MB / 451.8 MB, free: 39.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2188, allocations: 2.906 kB / 451.8 MB, free: 39.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006511/0.2194, allocations: 212.5 kB / 452 MB, free: 39.45 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 (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.0001948/0.2196, allocations: 118.7 kB / 452.2 MB, free: 39.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.2209, allocations: 0.9601 MB / 453.1 MB, free: 39.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2209, allocations: 0 / 453.1 MB, free: 39.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005771/0.2214, allocations: 0.4943 MB / 453.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.0006315/0.2221, allocations: 92.16 kB / 453.7 MB, free: 38.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/0.2263, allocations: 2.75 MB / 456.4 MB, free: 37.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.2274, allocations: 0.723 MB / 457.2 MB, free: 37.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002679/0.2277, allocations: 70.34 kB / 457.2 MB, free: 37.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.2278, allocations: 48.17 kB / 457.3 MB, free: 37.55 MB / 366.1 MB Notification: Performance of SimCode: time 1.232e-06/0.2278, allocations: 0 / 457.3 MB, free: 37.55 MB / 366.1 MB Notification: Performance of Templates: time 0.01223/0.24, allocations: 4.237 MB / 461.5 MB, free: 36.79 MB / 366.1 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.742856804281473] Failed to read output from testmodel.py, exit status != 0: 0.24965393915772438 0.256856852 0.23559088400000003 Calling exit ...