Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.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.001354/0.001354, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001517/0.001517, allocations: 215.2 kB / 22.99 MB, free: 4.945 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.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.2208/0.2208, allocations: 29.23 MB / 342.4 MB, free: 5.602 MB / 270.1 MB " [Timeout remaining time 179] 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_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") [Timeout 660] "Notification: SystemDynamics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 63.91 kB / 479.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4203, allocations: 60.8 MB / 0.5277 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_2): time 0.005386/0.4257, allocations: 3.072 MB / 0.5307 GB, free: 6.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.4279, allocations: 0.6646 MB / 0.5314 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004304/0.4283, allocations: 22.22 kB / 0.5314 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005596/0.4289, allocations: 184.8 kB / 0.5316 GB, free: 5.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.4292, allocations: 128.2 kB / 0.5317 GB, free: 5.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.4302, allocations: 356.3 kB / 0.532 GB, free: 5.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.4314, allocations: 0.8372 MB / 0.5329 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008554/0.4322, allocations: 467.8 kB / 0.5333 GB, free: 4.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004151/0.4327, allocations: 344.8 kB / 0.5336 GB, free: 4.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005165/0.4332, allocations: 373 kB / 0.534 GB, free: 4.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.4334, allocations: 89.16 kB / 0.5341 GB, free: 4.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002992/0.4337, allocations: 114.2 kB / 0.5342 GB, free: 4.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005436/0.4342, allocations: 440.1 kB / 0.5346 GB, free: 3.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004436/0.4347, allocations: 467.7 kB / 0.5351 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001689/0.4363, allocations: 1.274 MB / 0.5363 GB, free: 2.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.4363, allocations: 0 / 0.5363 GB, free: 2.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.859e-06/0.4364, allocations: 5.359 kB / 0.5363 GB, free: 2.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.522e-05/0.4364, allocations: 3.938 kB / 0.5363 GB, free: 2.797 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.002352/0.4387, allocations: 1.775 MB / 0.538 GB, free: 1.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.4388, allocations: 9.625 kB / 0.5381 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002779/0.4391, allocations: 211.7 kB / 0.5383 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009928/0.4401, allocations: 0.7077 MB / 0.5389 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.581e-05/0.4401, allocations: 77.06 kB / 0.539 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.4403, allocations: 103.8 kB / 0.5391 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.4421, allocations: 1.159 MB / 0.5402 GB, free: 16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.4421, allocations: 5.188 kB / 0.5403 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.546e-05/0.4422, allocations: 46.22 kB / 0.5403 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.415e-05/0.4422, allocations: 24.47 kB / 0.5403 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.4441, allocations: 1.085 MB / 0.5414 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005828/0.4499, allocations: 3.25 MB / 0.5446 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.4522, allocations: 1.298 MB / 0.5458 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007057/0.4529, allocations: 465.1 kB / 0.5463 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.903e-05/0.453, allocations: 26.42 kB / 0.5463 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/0.4531, allocations: 38 kB / 0.5463 GB, free: 12.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=67): time 2.926e-06/0.4531, allocations: 4 kB / 0.5463 GB, free: 12.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=67): time 0.002646/0.4557, allocations: 1.521 MB / 0.5478 GB, free: 12.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/0.4558, allocations: 59.22 kB / 0.5479 GB, free: 12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.4578, allocations: 1.275 MB / 0.5491 GB, free: 10.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.425e-05/0.4578, allocations: 41.7 kB / 0.5492 GB, free: 10.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000766/0.4586, allocations: 0.7685 MB / 0.5499 GB, free: 10.08 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.4589, allocations: 238 kB / 0.5501 GB, free: 9.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.4591, allocations: 118.3 kB / 0.5502 GB, free: 9.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002421/0.4593, allocations: 333.9 kB / 0.5506 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006461/0.4599, allocations: 441.1 kB / 0.551 GB, free: 8.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006955/0.4606, allocations: 0.5239 MB / 0.5515 GB, free: 8.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.462, allocations: 0.9981 MB / 0.5525 GB, free: 7.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.462, allocations: 0 / 0.5525 GB, free: 7.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001935/0.4639, allocations: 1.183 MB / 0.5536 GB, free: 6.184 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.4639, allocations: 8 kB / 0.5536 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.464, allocations: 0 / 0.5536 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.303e-05/0.464, allocations: 8.312 kB / 0.5536 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/0.4646, allocations: 127.8 kB / 0.5538 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/0.4646, allocations: 11.92 kB / 0.5538 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.4649, allocations: 55.56 kB / 0.5538 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.465, allocations: 24 kB / 0.5539 GB, free: 5.953 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 82 * 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.0007395/0.4657, allocations: 379.7 kB / 0.5542 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.4659, allocations: 143 kB / 0.5544 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/0.4678, allocations: 1.199 MB / 0.5555 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.4678, allocations: 4 kB / 0.5555 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.4678, allocations: 7.938 kB / 0.5555 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.4678, allocations: 7.984 kB / 0.5555 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003047/0.4709, allocations: 2.14 MB / 0.5576 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4709, allocations: 0 / 0.5576 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004725/0.4714, allocations: 111.8 kB / 0.5577 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.4714, allocations: 0 / 0.5577 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.4714, allocations: 12 kB / 0.5578 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.4714, allocations: 4 kB / 0.5578 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4714, allocations: 0 / 0.5578 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/0.4741, allocations: 1.882 MB / 0.5596 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/0.4744, allocations: 134.8 kB / 0.5597 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.858e-05/0.4745, allocations: 12.06 kB / 0.5597 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.4747, allocations: 16.12 kB / 0.5597 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.4748, allocations: 44.45 kB / 0.5598 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-05/0.4748, allocations: 24 kB / 0.5598 GB, free: 15.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001519/0.4763, allocations: 0.8764 MB / 0.5607 GB, free: 14.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4763, allocations: 0 / 0.5607 GB, free: 14.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007661/0.4771, allocations: 207.2 kB / 0.5609 GB, free: 14.69 MB / 414.1 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.0002611/0.4774, allocations: 131 kB / 0.561 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001514/0.4789, allocations: 0.9582 MB / 0.5619 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.4789, allocations: 4 kB / 0.5619 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006402/0.4795, allocations: 495.5 kB / 0.5624 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000638/0.4802, allocations: 84.45 kB / 0.5625 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/0.485, allocations: 2.878 MB / 0.5653 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009425/0.4859, allocations: 0.7132 MB / 0.566 GB, free: 9.355 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.4861, allocations: 55.42 kB / 0.566 GB, free: 9.305 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4861, allocations: 0 / 0.566 GB, free: 9.305 MB / 414.1 MB Notification: Performance of Templates: time 0.02511/0.5112, allocations: 11.54 MB / 0.5773 GB, free: 13.75 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.064486338291317] Failed to read output from testmodel.py, exit status != 0: 0.5215281578712165 0.538572131 0.098818108 Calling exit ...