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.001625/0.001625, 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.002091/0.002091, allocations: 163.6 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.452/1.452, allocations: 177.1 MB / 202.8 MB, free: 9.141 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.1921/0.1921, allocations: 21.8 MB / 281 MB, free: 10.79 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_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 1.824e-06/1.824e-06, allocations: 3.938 kB / 418.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.659e-05, allocations: 2.281 kB / 418.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_5): time 0.00424/0.004266, allocations: 2.748 MB / 421 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.005746, allocations: 0.5337 MB / 421.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003758/0.006122, allocations: 12 kB / 421.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.006471, allocations: 138.6 kB / 421.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003946/0.006866, allocations: 134.9 kB / 421.8 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008513/0.007717, allocations: 287.6 kB / 422.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008906/0.008608, allocations: 0.7316 MB / 422.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005978/0.009206, allocations: 353.6 kB / 423.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004706/0.009676, allocations: 450.9 kB / 423.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.00999, allocations: 278.9 kB / 423.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.01012, allocations: 76 kB / 424 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.01032, allocations: 104 kB / 424.1 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004082/0.01073, allocations: 454.3 kB / 424.5 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.01102, allocations: 302.7 kB / 424.8 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.0122, allocations: 1.101 MB / 425.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.01221, allocations: 3.938 kB / 425.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01221, allocations: 0 / 425.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.01222, allocations: 4 kB / 425.9 MB, free: 5.707 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.00243/0.01465, allocations: 1.68 MB / 427.6 MB, free: 3.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.0147, allocations: 12.03 kB / 427.6 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.01497, allocations: 199.6 kB / 427.8 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005965/0.01557, allocations: 0.526 MB / 428.3 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.652e-05/0.01565, allocations: 74.38 kB / 428.4 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.01578, allocations: 92.38 kB / 428.5 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.01753, allocations: 1.082 MB / 429.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.01756, allocations: 192 / 429.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.216e-05/0.01763, allocations: 44.36 kB / 429.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.921e-05/0.0177, allocations: 58.5 kB / 429.7 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/0.01956, allocations: 1.211 MB / 430.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003866/0.02342, allocations: 2.464 MB / 433.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.02486, allocations: 0.9734 MB / 434.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007094/0.02557, allocations: 494.6 kB / 434.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.739e-05/0.02564, allocations: 24.64 kB / 434.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.02569, allocations: 39.22 kB / 434.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 4.378e-06/0.02569, allocations: 7.984 kB / 434.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.002411/0.02811, allocations: 1.594 MB / 436.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.02816, allocations: 56.06 kB / 436.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.02958, allocations: 1.252 MB / 437.8 MB, free: 9.633 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.02963, allocations: 37.7 kB / 437.8 MB, free: 9.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006489/0.03028, allocations: 0.7755 MB / 438.6 MB, free: 8.805 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.03049, allocations: 241.9 kB / 438.8 MB, free: 8.566 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.03068, allocations: 130.6 kB / 439 MB, free: 8.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.03087, allocations: 337.9 kB / 439.3 MB, free: 8.094 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007549/0.03162, allocations: 473.7 kB / 439.8 MB, free: 7.633 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009054/0.03253, allocations: 0.656 MB / 440.4 MB, free: 6.902 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004626/0.03715, allocations: 2.125 MB / 442.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.03716, allocations: 0 / 442.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002183/0.03934, allocations: 1.343 MB / 443.9 MB, free: 3.348 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.03937, allocations: 8 kB / 443.9 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.03938, allocations: 4.75 kB / 443.9 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/0.03941, allocations: 12 kB / 443.9 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/0.04004, allocations: 179.7 kB / 444.1 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.04005, allocations: 11.94 kB / 444.1 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/0.04044, allocations: 79.48 kB / 444.2 MB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.506e-05/0.04051, allocations: 47.88 kB / 444.2 MB, free: 3.012 MB / 366.1 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.0006962/0.04121, allocations: 390.9 kB / 444.6 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.04137, allocations: 139.1 kB / 444.7 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/0.04335, allocations: 1.253 MB / 446 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.04337, allocations: 8 kB / 446 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.04337, allocations: 4 kB / 446 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.04338, allocations: 7.922 kB / 446 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1759/0.2193, allocations: 2.155 MB / 448.2 MB, free: 40.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.2193, allocations: 0 / 448.2 MB, free: 40.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005206/0.2198, allocations: 128.1 kB / 448.3 MB, free: 40.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.2198, allocations: 2.312 kB / 448.3 MB, free: 40.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.1e-05/0.2198, allocations: 16.83 kB / 448.3 MB, free: 40.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.635e-06/0.2199, allocations: 9.219 kB / 448.3 MB, free: 40.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2199, allocations: 0.7031 kB / 448.3 MB, free: 40.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/0.2222, allocations: 1.94 MB / 450.3 MB, free: 39.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.2224, allocations: 124.3 kB / 450.4 MB, free: 39.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.821e-05/0.2225, allocations: 11.12 kB / 450.4 MB, free: 39.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.2227, allocations: 36.72 kB / 450.4 MB, free: 39.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.2228, allocations: 44.08 kB / 450.5 MB, free: 39.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.2229, allocations: 22.62 kB / 450.5 MB, free: 39.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001033/0.2239, allocations: 0.8535 MB / 451.3 MB, free: 39.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2239, allocations: 0 / 451.3 MB, free: 39.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006212/0.2245, allocations: 216.9 kB / 451.6 MB, free: 39.36 MB / 366.1 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.0002004/0.2247, allocations: 114.6 kB / 451.7 MB, free: 39.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.2263, allocations: 1.065 MB / 452.7 MB, free: 39.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2263, allocations: 3.562 kB / 452.7 MB, free: 39.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000693/0.227, allocations: 0.5303 MB / 453.3 MB, free: 38.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.2275, allocations: 59.39 kB / 453.3 MB, free: 38.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.2311, allocations: 2.744 MB / 456.1 MB, free: 37.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008071/0.2319, allocations: 0.7055 MB / 456.8 MB, free: 37.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000325/0.2322, allocations: 120.4 kB / 456.9 MB, free: 37.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.2324, allocations: 56.05 kB / 456.9 MB, free: 37.47 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2324, allocations: 0 / 456.9 MB, free: 37.47 MB / 366.1 MB Notification: Performance of Templates: time 0.01242/0.2448, allocations: 4.436 MB / 461.4 MB, free: 36.75 MB / 366.1 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.762394662946463] Failed to read output from testmodel.py, exit status != 0: 0.25336430966854095 0.262680064 0.24830026200000002 Calling exit ...