Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.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.001719/0.001719, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001747/0.001747, allocations: 219.6 kB / 22.99 MB, free: 4.914 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.2218/0.2218, allocations: 29.22 MB / 342.4 MB, free: 5.605 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_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") [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.002351/0.002351, allocations: 67.89 kB / 479.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4044, allocations: 60.79 MB / 0.5277 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.005049/0.4094, allocations: 3.062 MB / 0.5307 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.4113, allocations: 0.6639 MB / 0.5314 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003878/0.4117, allocations: 23.34 kB / 0.5314 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004736/0.4122, allocations: 166.2 kB / 0.5316 GB, free: 5.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.4125, allocations: 120.8 kB / 0.5317 GB, free: 5.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008671/0.4134, allocations: 350.7 kB / 0.532 GB, free: 5.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.4144, allocations: 0.8364 MB / 0.5328 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008218/0.4152, allocations: 477.2 kB / 0.5333 GB, free: 4.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004492/0.4157, allocations: 346.1 kB / 0.5336 GB, free: 4.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000483/0.4161, allocations: 376 kB / 0.534 GB, free: 4.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.4163, allocations: 84.56 kB / 0.534 GB, free: 4.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.4166, allocations: 115.2 kB / 0.5342 GB, free: 4.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004557/0.417, allocations: 444.9 kB / 0.5346 GB, free: 3.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003859/0.4174, allocations: 465.3 kB / 0.535 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.4189, allocations: 1.24 MB / 0.5362 GB, free: 2.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.4189, allocations: 1.156 kB / 0.5362 GB, free: 2.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4189, allocations: 0 / 0.5362 GB, free: 2.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.503e-05/0.4189, allocations: 4 kB / 0.5362 GB, free: 2.855 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.002138/0.4211, allocations: 1.716 MB / 0.5379 GB, free: 1.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.4211, allocations: 9.625 kB / 0.5379 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002418/0.4214, allocations: 201 kB / 0.5381 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009379/0.4223, allocations: 0.6871 MB / 0.5388 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.377e-05/0.4224, allocations: 79.08 kB / 0.5389 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.4225, allocations: 99.94 kB / 0.539 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.4242, allocations: 1.138 MB / 0.5401 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.4242, allocations: 192 / 0.5401 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-05/0.4243, allocations: 45.88 kB / 0.5401 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-05/0.4243, allocations: 25.28 kB / 0.5401 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.426, allocations: 1.043 MB / 0.5412 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005825/0.4318, allocations: 3.191 MB / 0.5443 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.4338, allocations: 1.249 MB / 0.5455 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006576/0.4345, allocations: 442.5 kB / 0.5459 GB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.4346, allocations: 28.59 kB / 0.5459 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.4346, allocations: 38.88 kB / 0.546 GB, free: 12.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 3.777e-06/0.4346, allocations: 0 / 0.546 GB, free: 12.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.002421/0.437, allocations: 1.452 MB / 0.5474 GB, free: 12.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.4371, allocations: 58.84 kB / 0.5475 GB, free: 12.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/0.4391, allocations: 1.214 MB / 0.5486 GB, free: 11.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/0.4392, allocations: 33.7 kB / 0.5487 GB, free: 11.35 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007419/0.4399, allocations: 0.7564 MB / 0.5494 GB, free: 10.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/0.4402, allocations: 230.2 kB / 0.5496 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.4403, allocations: 114.3 kB / 0.5497 GB, free: 10.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.4405, allocations: 334 kB / 0.5501 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005622/0.4411, allocations: 413.1 kB / 0.5505 GB, free: 9.504 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006529/0.4418, allocations: 0.5004 MB / 0.5509 GB, free: 8.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.443, allocations: 0.9552 MB / 0.5519 GB, free: 7.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.443, allocations: 3.938 kB / 0.5519 GB, free: 7.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001584/0.4446, allocations: 1.129 MB / 0.553 GB, free: 6.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.4446, allocations: 12.03 kB / 0.553 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.4447, allocations: 0 / 0.553 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/0.4447, allocations: 11.98 kB / 0.553 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.4452, allocations: 127.8 kB / 0.5531 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/0.4452, allocations: 4 kB / 0.5531 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.4455, allocations: 51.62 kB / 0.5532 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.4455, allocations: 27.94 kB / 0.5532 GB, free: 6.613 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 (81): * Single equations (assignments): 81 * 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.0006771/0.4462, allocations: 357.5 kB / 0.5535 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.4464, allocations: 139.1 kB / 0.5537 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.4481, allocations: 1.148 MB / 0.5548 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.4481, allocations: 12 kB / 0.5548 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4481, allocations: 0 / 0.5548 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.4481, allocations: 3.984 kB / 0.5548 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.4511, allocations: 2.058 MB / 0.5568 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4511, allocations: 3.938 kB / 0.5568 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004608/0.4515, allocations: 107.9 kB / 0.5569 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.4515, allocations: 0 / 0.5569 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.4516, allocations: 23.98 kB / 0.557 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.4516, allocations: 0 / 0.557 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4516, allocations: 0 / 0.557 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.4538, allocations: 1.796 MB / 0.5587 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.454, allocations: 130.9 kB / 0.5588 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-05/0.4541, allocations: 12.06 kB / 0.5588 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.4543, allocations: 12 kB / 0.5589 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.4544, allocations: 40.58 kB / 0.5589 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.4544, allocations: 20.12 kB / 0.5589 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001253/0.4556, allocations: 0.8356 MB / 0.5597 GB, free: 15.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4556, allocations: 4 kB / 0.5597 GB, free: 15.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007097/0.4564, allocations: 203.2 kB / 0.5599 GB, free: 15.64 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 (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.0002585/0.4566, allocations: 119.1 kB / 0.56 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.458, allocations: 0.923 MB / 0.5609 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.458, allocations: 4 kB / 0.5609 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006011/0.4586, allocations: 479.5 kB / 0.5614 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00063/0.4592, allocations: 86.41 kB / 0.5615 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004382/0.4636, allocations: 2.776 MB / 0.5642 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008693/0.4645, allocations: 0.6967 MB / 0.5649 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.4647, allocations: 55.42 kB / 0.5649 GB, free: 10.44 MB / 414.1 MB Notification: Performance of SimCode: time 1.133e-06/0.4647, allocations: 0 / 0.5649 GB, free: 10.44 MB / 414.1 MB Notification: Performance of Templates: time 0.02353/0.4882, allocations: 11.22 MB / 0.5759 GB, free: 15.21 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.959124606102705] Failed to read output from testmodel.py, exit status != 0: 0.4982492420822382 0.5139252120000001 0.091736758 Calling exit ...