Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.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.001838/0.001838, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 13.93 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.002117/0.002117, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.554/1.554, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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.1968/0.1968, allocations: 21.79 MB / 281.4 MB, free: 7.223 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_6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 358.1 MB, free: 5.391 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/2.987e-05, allocations: 6.25 kB / 358.1 MB, free: 5.383 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_6): time 0.005331/0.005361, allocations: 3.195 MB / 361.3 MB, free: 2.176 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.007191, allocations: 0.7519 MB / 362.1 MB, free: 1.422 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003633/0.007554, allocations: 23.88 kB / 362.1 MB, free: 1.398 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004584/0.008013, allocations: 174.3 kB / 362.2 MB, free: 1.227 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.008407, allocations: 150.7 kB / 362.4 MB, free: 1.078 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008506/0.009258, allocations: 371.5 kB / 362.8 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.01031, allocations: 0.8601 MB / 363.6 MB, free: 15.85 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007802/0.01109, allocations: 480.1 kB / 364.1 MB, free: 15.35 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006128/0.01171, allocations: 0.491 MB / 364.6 MB, free: 14.86 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000395/0.0121, allocations: 306.7 kB / 364.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.01227, allocations: 88 kB / 365 MB, free: 14.47 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.01252, allocations: 116 kB / 365.1 MB, free: 14.36 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004812/0.013, allocations: 462.3 kB / 365.5 MB, free: 13.9 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003643/0.01336, allocations: 326.6 kB / 365.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.01489, allocations: 1.233 MB / 367.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.0149, allocations: 0 / 367.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.0149, allocations: 3.938 kB / 367.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.01492, allocations: 7.938 kB / 367.1 MB, free: 12.33 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.002889/0.0178, allocations: 1.984 MB / 369.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.01784, allocations: 8.031 kB / 369.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003877/0.01823, allocations: 295.6 kB / 369.4 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.0193, allocations: 0.7216 MB / 370.1 MB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.741e-05/0.01939, allocations: 78.47 kB / 370.2 MB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.01955, allocations: 112.3 kB / 370.3 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.02116, allocations: 0.935 MB / 371.2 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.02118, allocations: 192 / 371.2 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.128e-05/0.02125, allocations: 40.38 kB / 371.3 MB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.06e-05/0.02128, allocations: 28.38 kB / 371.3 MB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.02238, allocations: 0.5347 MB / 371.8 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004981/0.02736, allocations: 3.59 MB / 375.4 MB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.02841, allocations: 0.5087 MB / 375.9 MB, free: 3.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.02877, allocations: 185.6 kB / 376.1 MB, free: 3.027 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.906e-05/0.02886, allocations: 40.53 kB / 376.1 MB, free: 2.988 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005457/0.02941, allocations: 286 kB / 376.4 MB, free: 2.691 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 2.434e-06/0.02941, allocations: 0 / 376.4 MB, free: 2.691 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.001472/0.03088, allocations: 0.7587 MB / 377.2 MB, free: 1.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.03095, allocations: 64.06 kB / 377.2 MB, free: 1.852 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/0.03273, allocations: 1.373 MB / 378.6 MB, free: 464 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/0.03278, allocations: 37.7 kB / 378.6 MB, free: 420 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009406/0.03372, allocations: 0.9059 MB / 379.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.03398, allocations: 261.8 kB / 379.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.03421, allocations: 148.3 kB / 380 MB, free: 15.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002925/0.0345, allocations: 0.5121 MB / 380.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.03483, allocations: 153.9 kB / 380.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004961/0.03533, allocations: 330.5 kB / 380.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000917/0.03625, allocations: 0.5398 MB / 381.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.03626, allocations: 4 kB / 381.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001237/0.03749, allocations: 0.707 MB / 382.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.03751, allocations: 8 kB / 382.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.03752, allocations: 4 kB / 382.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.03754, allocations: 4 kB / 382.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005179/0.03806, allocations: 139.8 kB / 382.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.03807, allocations: 8.281 kB / 382.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.03835, allocations: 63.52 kB / 382.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/0.0384, allocations: 27.98 kB / 382.4 MB, free: 12.47 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: min_QL:DISCRETE(start = 1.0 fixed = true ) \"Minimum quality of life\" type: Real min_dPop:DISCRETE(unit = \"1/yr\" fixed = true ) \"Minimal derivative of population\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.min_QL,$PRE.min_dPop,min_QL,min_dPop,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 (89): * Single equations (assignments): 89 * 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.0004251/0.03882, allocations: 248.4 kB / 382.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/0.03903, allocations: 171 kB / 382.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.04034, allocations: 0.6604 MB / 383.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.04035, allocations: 8 kB / 383.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.04036, allocations: 0 / 383.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.04036, allocations: 7.984 kB / 383.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/0.04291, allocations: 1.643 MB / 385.2 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.04291, allocations: 0 / 385.2 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005076/0.04342, allocations: 115.8 kB / 385.3 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.04342, allocations: 4 kB / 385.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/0.04347, allocations: 20 kB / 385.3 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.04347, allocations: 0 / 385.3 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.04347, allocations: 4 kB / 385.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.04507, allocations: 1.006 MB / 386.3 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/0.04542, allocations: 186.8 kB / 386.5 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.542e-05/0.04551, allocations: 12 kB / 386.5 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.04574, allocations: 16 kB / 386.5 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.894e-05/0.04584, allocations: 48.5 kB / 386.6 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.04588, allocations: 16 kB / 386.6 MB, free: 8.227 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001077/0.04695, allocations: 0.7673 MB / 387.4 MB, free: 7.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04695, allocations: 0 / 387.4 MB, free: 7.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006269/0.04758, allocations: 219.2 kB / 387.6 MB, free: 7.246 MB / 362.7 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: 3 ($whenCondition1,min_dPop,min_QL) * Number of discrete states: 2 (min_dPop,min_QL) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002245/0.04781, allocations: 119.1 kB / 387.7 MB, free: 7.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000947/0.04875, allocations: 491 kB / 388.2 MB, free: 6.633 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.04875, allocations: 0 / 388.2 MB, free: 6.633 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000447/0.0492, allocations: 260.6 kB / 388.4 MB, free: 6.379 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006111/0.04981, allocations: 100 kB / 388.5 MB, free: 6.281 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/0.05352, allocations: 2.351 MB / 390.9 MB, free: 3.879 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008771/0.0544, allocations: 0.6979 MB / 391.6 MB, free: 3.152 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002572/0.05466, allocations: 80.58 kB / 391.6 MB, free: 3.074 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.0548, allocations: 52.44 kB / 391.7 MB, free: 3.02 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.0548, allocations: 0 / 391.7 MB, free: 3.02 MB / 362.7 MB Notification: Performance of Templates: time 0.01326/0.06806, allocations: 4.44 MB / 396.1 MB, free: 14.61 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6 -abortSlowSimulation -alarm=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.782738592009991]