Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.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.001419/0.001419, allocations: 101.7 kB / 19.59 MB, free: 2.324 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.001403/0.001403, allocations: 187.6 kB / 22.85 MB, free: 5.652 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.764/1.764, allocations: 225.6 MB / 251.5 MB, free: 13.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.2343/0.2343, allocations: 29.23 MB / 336 MB, free: 11.41 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_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 71.89 kB / 470.8 MB, free: 6.891 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6314/0.6336, allocations: 59.61 MB / 0.518 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_4): time 0.006559/0.6401, allocations: 3.69 MB / 0.5216 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002887/0.643, allocations: 0.6915 MB / 0.5223 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007358/0.6437, allocations: 18.03 kB / 0.5223 GB, free: 6.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006483/0.6444, allocations: 178.2 kB / 0.5224 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004597/0.6449, allocations: 143.7 kB / 0.5226 GB, free: 6.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.646, allocations: 355.4 kB / 0.5229 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.6474, allocations: 0.8603 MB / 0.5238 GB, free: 6.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.6485, allocations: 0.5079 MB / 0.5243 GB, free: 5.711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005341/0.649, allocations: 347.5 kB / 0.5246 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005953/0.6496, allocations: 434.9 kB / 0.525 GB, free: 5.262 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002072/0.6498, allocations: 85.88 kB / 0.5251 GB, free: 5.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.6502, allocations: 122 kB / 0.5252 GB, free: 5.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006551/0.6508, allocations: 463.8 kB / 0.5256 GB, free: 5.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006258/0.6515, allocations: 0.6297 MB / 0.5263 GB, free: 4.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002454/0.6539, allocations: 1.297 MB / 0.5275 GB, free: 3.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.6539, allocations: 0.6562 kB / 0.5275 GB, free: 3.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.6539, allocations: 0 / 0.5275 GB, free: 3.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.393e-05/0.654, allocations: 1 kB / 0.5275 GB, free: 3.863 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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.003665/0.6576, allocations: 1.816 MB / 0.5293 GB, free: 2.609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.273e-05/0.6577, allocations: 9.094 kB / 0.5293 GB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004677/0.6582, allocations: 220.7 kB / 0.5295 GB, free: 2.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.6596, allocations: 0.7149 MB / 0.5302 GB, free: 1.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.6597, allocations: 81.83 kB / 0.5303 GB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/0.6599, allocations: 109.3 kB / 0.5304 GB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002999/0.6629, allocations: 1.275 MB / 0.5316 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.6629, allocations: 4.125 kB / 0.5316 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-05/0.663, allocations: 46.8 kB / 0.5317 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/0.6631, allocations: 54.16 kB / 0.5317 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002685/0.6658, allocations: 1.224 MB / 0.5329 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008024/0.6738, allocations: 3.783 MB / 0.5366 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002991/0.6768, allocations: 1.33 MB / 0.5379 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009936/0.6778, allocations: 478.4 kB / 0.5384 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/0.678, allocations: 32.88 kB / 0.5384 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.849e-05/0.678, allocations: 48.03 kB / 0.5385 GB, free: 14.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 5.691e-06/0.678, allocations: 0 / 0.5385 GB, free: 14.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=70): time 0.003585/0.6816, allocations: 1.565 MB / 0.54 GB, free: 13.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.6817, allocations: 88.72 kB / 0.5401 GB, free: 13.85 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002849/0.6846, allocations: 1.376 MB / 0.5414 GB, free: 13.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.765e-05/0.6847, allocations: 36.14 kB / 0.5415 GB, free: 13.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.6857, allocations: 0.8524 MB / 0.5423 GB, free: 12.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003447/0.6861, allocations: 256 kB / 0.5425 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/0.6864, allocations: 159.6 kB / 0.5427 GB, free: 12.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002795/0.6867, allocations: 334.6 kB / 0.543 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009638/0.6877, allocations: 473.6 kB / 0.5435 GB, free: 11.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.689, allocations: 0.7219 MB / 0.5442 GB, free: 11.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002313/0.6913, allocations: 1.242 MB / 0.5454 GB, free: 10.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.6913, allocations: 6.156 kB / 0.5454 GB, free: 10.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003123/0.6944, allocations: 1.396 MB / 0.5467 GB, free: 9.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.6944, allocations: 8.844 kB / 0.5468 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.6945, allocations: 7.969 kB / 0.5468 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.084e-05/0.6945, allocations: 12.88 kB / 0.5468 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007306/0.6952, allocations: 182.3 kB / 0.5469 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.213e-05/0.6953, allocations: 16.31 kB / 0.547 GB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005374/0.6958, allocations: 90.66 kB / 0.547 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.826e-05/0.6959, allocations: 46.61 kB / 0.5471 GB, free: 9.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (109): * Single equations (assignments): 109 * 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.00101/0.6969, allocations: 402.7 kB / 0.5475 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003139/0.6972, allocations: 157.9 kB / 0.5476 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002512/0.6998, allocations: 1.241 MB / 0.5488 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.6998, allocations: 7.875 kB / 0.5488 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.6998, allocations: 0 / 0.5488 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.6998, allocations: 9.547 kB / 0.5489 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004225/0.704, allocations: 2.372 MB / 0.5512 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.704, allocations: 11.92 kB / 0.5512 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005007/0.7045, allocations: 115.8 kB / 0.5513 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.7045, allocations: 4 kB / 0.5513 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/0.7046, allocations: 23.92 kB / 0.5513 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.7046, allocations: 4 kB / 0.5513 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7046, allocations: 0 / 0.5513 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002716/0.7073, allocations: 1.995 MB / 0.5533 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.7075, allocations: 142.9 kB / 0.5534 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.24e-05/0.7076, allocations: 15.94 kB / 0.5534 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.7079, allocations: 12 kB / 0.5534 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.708, allocations: 52.56 kB / 0.5535 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.7081, allocations: 24 kB / 0.5535 GB, free: 4.488 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001592/0.7097, allocations: 0.9336 MB / 0.5544 GB, free: 3.559 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7097, allocations: 0 / 0.5544 GB, free: 3.559 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009423/0.7106, allocations: 223.2 kB / 0.5546 GB, free: 3.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (70): * Single equations (assignments): 70 * 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.0002896/0.7109, allocations: 123.1 kB / 0.5548 GB, free: 3.211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.7126, allocations: 1.061 MB / 0.5558 GB, free: 2.152 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7126, allocations: 0 / 0.5558 GB, free: 2.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007395/0.7134, allocations: 0.5036 MB / 0.5563 GB, free: 1.648 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008011/0.7142, allocations: 101 kB / 0.5564 GB, free: 1.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005001/0.7192, allocations: 2.925 MB / 0.5592 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/0.7204, allocations: 1.327 MB / 0.5605 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004197/0.7208, allocations: 136.8 kB / 0.5607 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.721, allocations: 55.44 kB / 0.5607 GB, free: 13.04 MB / 414.1 MB Notification: Performance of SimCode: time 1.713e-06/0.721, allocations: 0 / 0.5607 GB, free: 13.04 MB / 414.1 MB Notification: Performance of Templates: time 0.01697/0.738, allocations: 6.232 MB / 0.5668 GB, free: 6.82 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.580971611001587] Failed to read output from testmodel.py, exit status != 0: 0.7499238279997371 0.765965648 0.10858205100000001 Calling exit ...