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.001089/0.001089, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001118/0.001118, allocations: 169.7 kB / 23.28 MB, free: 1.219 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 1.054/1.054, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.1415/0.1415, allocations: 21.8 MB / 282.1 MB, free: 7.023 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.315e-06/2.315e-06, allocations: 0 / 359.3 MB, free: 4.781 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.268e-05/4.5e-05, allocations: 2.312 kB / 359.3 MB, free: 4.777 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_5): time 0.004371/0.004416, allocations: 2.806 MB / 362.1 MB, free: 1.961 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.005984, allocations: 0.526 MB / 362.6 MB, free: 1.434 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002767/0.006261, allocations: 12 kB / 362.6 MB, free: 1.422 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.006576, allocations: 142.6 kB / 362.7 MB, free: 1.281 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.006942, allocations: 130.9 kB / 362.9 MB, free: 1.152 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.007601, allocations: 287.5 kB / 363.2 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007059/0.008307, allocations: 0.7393 MB / 363.9 MB, free: 132 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00054/0.008847, allocations: 353.6 kB / 364.2 MB, free: 15.76 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004041/0.009251, allocations: 446.9 kB / 364.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.009527, allocations: 286.8 kB / 365 MB, free: 15.04 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.009643, allocations: 76 kB / 365 MB, free: 14.97 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/0.009865, allocations: 103.9 kB / 365.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003487/0.01021, allocations: 454.4 kB / 365.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.01046, allocations: 302.7 kB / 365.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009516/0.01141, allocations: 0.8629 MB / 366.7 MB, free: 13.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.01141, allocations: 0 / 366.7 MB, free: 13.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.01141, allocations: 0 / 366.7 MB, free: 13.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.01142, allocations: 0 / 366.7 MB, free: 13.26 MB / 346.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.001217/0.01263, allocations: 1.816 MB / 368.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.01268, allocations: 8.031 kB / 368.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.01289, allocations: 279.6 kB / 368.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.01338, allocations: 0.6223 MB / 369.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.193e-05/0.01344, allocations: 74.38 kB / 369.5 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-05/0.01352, allocations: 96.38 kB / 369.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005311/0.01405, allocations: 0.5325 MB / 370.2 MB, free: 9.727 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.01407, allocations: 4.188 kB / 370.2 MB, free: 9.723 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.0141, allocations: 40.38 kB / 370.2 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-05/0.01415, allocations: 50.5 kB / 370.2 MB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.01445, allocations: 323.2 kB / 370.6 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.0162, allocations: 1.85 MB / 372.4 MB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003624/0.01656, allocations: 285.3 kB / 372.7 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.01668, allocations: 113.6 kB / 372.8 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-05/0.01675, allocations: 48.47 kB / 372.9 MB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.01677, allocations: 42.05 kB / 372.9 MB, free: 6.895 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 1.543e-06/0.01678, allocations: 0 / 372.9 MB, free: 6.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.0004845/0.01726, allocations: 0.5165 MB / 373.4 MB, free: 6.371 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.01729, allocations: 60.06 kB / 373.5 MB, free: 6.301 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006497/0.01794, allocations: 1.137 MB / 374.6 MB, free: 5.133 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.01796, allocations: 37.7 kB / 374.6 MB, free: 5.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000401/0.01836, allocations: 0.8728 MB / 375.5 MB, free: 4.203 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.01847, allocations: 241.9 kB / 375.8 MB, free: 3.965 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.01857, allocations: 140.2 kB / 375.9 MB, free: 3.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.0187, allocations: 0.512 MB / 376.4 MB, free: 3.301 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.083e-05/0.01879, allocations: 81.86 kB / 376.5 MB, free: 3.219 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.01898, allocations: 342.6 kB / 376.8 MB, free: 2.781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/0.01942, allocations: 0.5748 MB / 377.4 MB, free: 2.102 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.01942, allocations: 0 / 377.4 MB, free: 2.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00048/0.0199, allocations: 0.5896 MB / 378 MB, free: 1.504 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.01991, allocations: 8.75 kB / 378 MB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.01992, allocations: 4 kB / 378 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.01993, allocations: 12 kB / 378 MB, free: 1.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.02021, allocations: 175.7 kB / 378.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.02022, allocations: 11.94 kB / 378.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.02036, allocations: 75.44 kB / 378.3 MB, free: 1.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.02039, allocations: 28 kB / 378.3 MB, free: 1.195 MB / 346.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.0002235/0.02061, allocations: 237.5 kB / 378.5 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.02071, allocations: 159.1 kB / 378.7 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004814/0.0212, allocations: 0.5073 MB / 379.2 MB, free: 288 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.0212, allocations: 4 kB / 379.2 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.0212, allocations: 0 / 379.2 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.02121, allocations: 3.984 kB / 379.2 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008942/0.0221, allocations: 1.064 MB / 380.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.0221, allocations: 0 / 380.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.02234, allocations: 119.9 kB / 380.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.02234, allocations: 4 kB / 380.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.02236, allocations: 16 kB / 380.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.02237, allocations: 0 / 380.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.02237, allocations: 4 kB / 380.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.0229, allocations: 0.7204 MB / 381.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.657e-05/0.02298, allocations: 118.9 kB / 381.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.02301, allocations: 12 kB / 381.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.02312, allocations: 24.05 kB / 381.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.02318, allocations: 52.56 kB / 381.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.0232, allocations: 19.94 kB / 381.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003574/0.02356, allocations: 0.6285 MB / 382 MB, free: 13.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.02356, allocations: 0 / 382 MB, free: 13.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003316/0.02389, allocations: 215.2 kB / 382.2 MB, free: 13.22 MB / 362.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.0001215/0.02401, allocations: 119.1 kB / 382.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000316/0.02433, allocations: 352 kB / 382.6 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.02433, allocations: 0 / 382.6 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.02449, allocations: 192.5 kB / 382.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.02476, allocations: 69.11 kB / 382.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.02661, allocations: 2.221 MB / 385.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.0268, allocations: 337.1 kB / 385.4 MB, free: 9.863 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.02696, allocations: 80.36 kB / 385.5 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.0271, allocations: 142.2 kB / 385.7 MB, free: 9.645 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0271, allocations: 0 / 385.7 MB, free: 9.645 MB / 362.7 MB Notification: Performance of Templates: time 0.008803/0.0359, allocations: 5.04 MB / 390.7 MB, free: 4.641 MB / 362.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=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2794130006805062]