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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 107.7 kB / 16.41 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 195.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 222.9 MB / 245 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2427/0.2427, allocations: 28.79 MB / 326 MB, free: 15.8 MB / 270.1 MB " [Timeout remaining time 179] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002038/0.002038, allocations: 67.89 kB / 453.1 MB, free: 216 kB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1396, allocations: 56.41 MB / 0.4975 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_5): time 0.004662/0.1443, allocations: 3.26 MB / 0.5007 GB, free: 4.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1457, allocations: 0.526 MB / 0.5012 GB, free: 3.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.146, allocations: 16 kB / 0.5012 GB, free: 3.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.1464, allocations: 142.6 kB / 0.5014 GB, free: 3.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003362/0.1467, allocations: 122.9 kB / 0.5015 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006563/0.1474, allocations: 287.6 kB / 0.5018 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008356/0.1482, allocations: 0.72 MB / 0.5025 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000703/0.149, allocations: 477.2 kB / 0.5029 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.1492, allocations: 306.6 kB / 0.5032 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.1496, allocations: 385.8 kB / 0.5036 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.1498, allocations: 76 kB / 0.5037 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002224/0.15, allocations: 108 kB / 0.5038 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004283/0.1504, allocations: 422.5 kB / 0.5042 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005176/0.1509, allocations: 0.5853 MB / 0.5047 GB, free: 312 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3038/0.4547, allocations: 1.141 MB / 0.5059 GB, free: 9.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.4548, allocations: 0 / 0.5059 GB, free: 9.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4548, allocations: 0 / 0.5059 GB, free: 9.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.763e-05/0.4549, allocations: 0 / 0.5059 GB, free: 9.887 MB / 382.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.002614/0.4575, allocations: 1.774 MB / 0.5076 GB, free: 8.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.4576, allocations: 12.81 kB / 0.5076 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.4579, allocations: 198 kB / 0.5078 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005793/0.4585, allocations: 0.5753 MB / 0.5083 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.802e-05/0.4586, allocations: 77.28 kB / 0.5084 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.4587, allocations: 101.3 kB / 0.5085 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.4606, allocations: 1.08 MB / 0.5096 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.4606, allocations: 192 / 0.5096 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-05/0.4607, allocations: 41.97 kB / 0.5096 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.061e-05/0.4608, allocations: 55.5 kB / 0.5097 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/0.4628, allocations: 1.217 MB / 0.5109 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005122/0.4679, allocations: 2.838 MB / 0.5136 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.4696, allocations: 0.9932 MB / 0.5146 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008186/0.4704, allocations: 0.4963 MB / 0.5151 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.681e-05/0.4705, allocations: 36.52 kB / 0.5151 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.4706, allocations: 41.64 kB / 0.5152 GB, free: 7.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 3.687e-06/0.4706, allocations: 1.469 kB / 0.5152 GB, free: 7.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002535/0.4731, allocations: 1.6 MB / 0.5167 GB, free: 7.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.4732, allocations: 60.97 kB / 0.5168 GB, free: 7.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.475, allocations: 1.259 MB / 0.518 GB, free: 6.918 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.4751, allocations: 36.27 kB / 0.518 GB, free: 6.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006366/0.4757, allocations: 0.7923 MB / 0.5188 GB, free: 6.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.4759, allocations: 243.5 kB / 0.519 GB, free: 6.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.4762, allocations: 129 kB / 0.5192 GB, free: 6.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.4762, allocations: 338.3 kB / 0.5195 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007435/0.477, allocations: 477 kB / 0.5199 GB, free: 5.598 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008133/0.4778, allocations: 0.6559 MB / 0.5206 GB, free: 5.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004523/0.4823, allocations: 2.115 MB / 0.5227 GB, free: 4.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.4824, allocations: 7.312 kB / 0.5227 GB, free: 4.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002299/0.4847, allocations: 1.342 MB / 0.524 GB, free: 4.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.4847, allocations: 11.61 kB / 0.524 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.4848, allocations: 5.5 kB / 0.524 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/0.4848, allocations: 10.38 kB / 0.524 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005959/0.4854, allocations: 183 kB / 0.5242 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.608e-05/0.4854, allocations: 13.84 kB / 0.5242 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000544/0.486, allocations: 83.81 kB / 0.5243 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.486e-05/0.4861, allocations: 34.23 kB / 0.5243 GB, free: 4.203 MB / 382.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.000904/0.487, allocations: 397.3 kB / 0.5247 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.4871, allocations: 149.4 kB / 0.5248 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/0.4891, allocations: 1.251 MB / 0.526 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.4891, allocations: 12.22 kB / 0.526 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4891, allocations: 6.625 kB / 0.5261 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.4891, allocations: 3.562 kB / 0.5261 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003303/0.4924, allocations: 2.362 MB / 0.5284 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.4924, allocations: 0 / 0.5284 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.493, allocations: 128.8 kB / 0.5285 GB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.493, allocations: 2.469 kB / 0.5285 GB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.493, allocations: 16.38 kB / 0.5285 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.4931, allocations: 2.25 kB / 0.5285 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4931, allocations: 1.125 kB / 0.5285 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/0.4958, allocations: 1.949 MB / 0.5304 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.496, allocations: 208.9 kB / 0.5306 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.698e-05/0.4961, allocations: 11.28 kB / 0.5306 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.4964, allocations: 25.56 kB / 0.5306 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.4965, allocations: 49.67 kB / 0.5307 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.322e-05/0.4966, allocations: 25.66 kB / 0.5307 GB, free: 1.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00128/0.4979, allocations: 0.8704 MB / 0.5316 GB, free: 1.574 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.12e-07/0.4979, allocations: 0 / 0.5316 GB, free: 1.574 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007697/0.4986, allocations: 216.3 kB / 0.5318 GB, free: 1.5 MB / 382.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.0001599/0.4988, allocations: 116 kB / 0.5319 GB, free: 1.406 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001888/0.5007, allocations: 1.092 MB / 0.533 GB, free: 1.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.5007, allocations: 0.5625 kB / 0.533 GB, free: 1.203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008924/0.5016, allocations: 0.5462 MB / 0.5335 GB, free: 1.094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/0.5022, allocations: 66.59 kB / 0.5336 GB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004496/0.5067, allocations: 2.784 MB / 0.5363 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/0.508, allocations: 1.299 MB / 0.5375 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004581/0.5085, allocations: 120.8 kB / 0.5377 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.5086, allocations: 54.08 kB / 0.5377 GB, free: 14.8 MB / 398.1 MB Notification: Performance of SimCode: time 1.333e-06/0.5086, allocations: 0 / 0.5377 GB, free: 14.8 MB / 398.1 MB Notification: Performance of Templates: time 0.01623/0.5249, allocations: 5.389 MB / 0.543 GB, free: 9.734 MB / 398.1 MB " [Timeout remaining time 659] 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: 5.6304475804790854]