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.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.001683/0.001683, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001612/0.001612, allocations: 221 kB / 23 MB, free: 4.918 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.957 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.2008/0.2008, allocations: 29.23 MB / 342.4 MB, free: 5.594 MB / 270.1 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_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: 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.00211/0.00211, allocations: 63.91 kB / 479.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3619, allocations: 60.8 MB / 0.5277 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_4): time 0.004673/0.3665, allocations: 3.094 MB / 0.5308 GB, free: 6.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.3684, allocations: 0.6827 MB / 0.5314 GB, free: 5.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.3689, allocations: 21.62 kB / 0.5314 GB, free: 5.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004605/0.3693, allocations: 173.5 kB / 0.5316 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.3696, allocations: 134.7 kB / 0.5317 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008155/0.3705, allocations: 360.4 kB / 0.5321 GB, free: 5.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008727/0.3713, allocations: 0.8508 MB / 0.5329 GB, free: 4.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006752/0.372, allocations: 472.8 kB / 0.5334 GB, free: 4.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003438/0.3723, allocations: 350.6 kB / 0.5337 GB, free: 4.289 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003652/0.3727, allocations: 374.2 kB / 0.5341 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.3729, allocations: 85.19 kB / 0.5341 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.3731, allocations: 120.3 kB / 0.5343 GB, free: 4.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004111/0.3735, allocations: 458.9 kB / 0.5347 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003315/0.3738, allocations: 484.6 kB / 0.5352 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.3751, allocations: 1.309 MB / 0.5364 GB, free: 2.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3751, allocations: 0 / 0.5364 GB, free: 2.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3751, allocations: 0 / 0.5364 GB, free: 2.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.807e-05/0.3751, allocations: 1.125 kB / 0.5364 GB, free: 2.723 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.001942/0.377, allocations: 1.814 MB / 0.5382 GB, free: 1.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3771, allocations: 13.62 kB / 0.5382 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/0.3773, allocations: 209.1 kB / 0.5384 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008478/0.3781, allocations: 0.7162 MB / 0.5391 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.286e-05/0.3782, allocations: 81.92 kB / 0.5392 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.3783, allocations: 105.9 kB / 0.5393 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.38, allocations: 1.284 MB / 0.5405 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.3801, allocations: 5.25 kB / 0.5406 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.898e-05/0.3802, allocations: 50.66 kB / 0.5406 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.4e-05/0.3802, allocations: 44.89 kB / 0.5406 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.382, allocations: 1.221 MB / 0.5418 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005086/0.3871, allocations: 3.48 MB / 0.5452 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.3889, allocations: 1.335 MB / 0.5465 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006333/0.3895, allocations: 475.6 kB / 0.547 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.36e-05/0.3896, allocations: 28.72 kB / 0.547 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.3897, allocations: 48 kB / 0.5471 GB, free: 12.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 2.785e-06/0.3897, allocations: 0 / 0.5471 GB, free: 12.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=70): time 0.002237/0.3919, allocations: 1.563 MB / 0.5486 GB, free: 11.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/0.392, allocations: 89.7 kB / 0.5487 GB, free: 11.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.3938, allocations: 1.353 MB / 0.55 GB, free: 9.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.3938, allocations: 37.7 kB / 0.55 GB, free: 9.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007239/0.3945, allocations: 0.8425 MB / 0.5509 GB, free: 9.078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.3947, allocations: 253.8 kB / 0.5511 GB, free: 8.828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.395, allocations: 154.6 kB / 0.5512 GB, free: 8.672 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3951, allocations: 349.9 kB / 0.5516 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006653/0.3958, allocations: 473.8 kB / 0.552 GB, free: 7.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008884/0.3967, allocations: 0.72 MB / 0.5527 GB, free: 7.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.3983, allocations: 1.245 MB / 0.554 GB, free: 5.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.3983, allocations: 4 kB / 0.554 GB, free: 5.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002002/0.4003, allocations: 1.394 MB / 0.5553 GB, free: 4.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.4003, allocations: 8 kB / 0.5553 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.4003, allocations: 8 kB / 0.5553 GB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/0.4003, allocations: 12 kB / 0.5553 GB, free: 4.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006079/0.401, allocations: 183.7 kB / 0.5555 GB, free: 4.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.353e-05/0.401, allocations: 19.92 kB / 0.5555 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.4014, allocations: 79.41 kB / 0.5556 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.489e-05/0.4015, allocations: 44.19 kB / 0.5557 GB, free: 3.918 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.0007223/0.4022, allocations: 411.5 kB / 0.556 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.4024, allocations: 155 kB / 0.5562 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/0.4042, allocations: 1.239 MB / 0.5574 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.4042, allocations: 11.94 kB / 0.5574 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4043, allocations: 0 / 0.5574 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.4043, allocations: 7.984 kB / 0.5574 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/0.4073, allocations: 2.172 MB / 0.5595 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.4073, allocations: 4 kB / 0.5596 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004881/0.4078, allocations: 115.8 kB / 0.5597 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.4078, allocations: 4 kB / 0.5597 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/0.4078, allocations: 23.98 kB / 0.5597 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4078, allocations: 0 / 0.5597 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4078, allocations: 3.938 kB / 0.5597 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.4103, allocations: 1.995 MB / 0.5616 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.4105, allocations: 142.8 kB / 0.5618 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.653e-05/0.4106, allocations: 16.06 kB / 0.5618 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.4109, allocations: 12.12 kB / 0.5618 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.411, allocations: 52.5 kB / 0.5619 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.011e-05/0.411, allocations: 24 kB / 0.5619 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001274/0.4123, allocations: 0.9173 MB / 0.5628 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4123, allocations: 0 / 0.5628 GB, free: 12.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007696/0.4131, allocations: 223.2 kB / 0.563 GB, free: 12.33 MB / 414.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.0002122/0.4133, allocations: 127 kB / 0.5631 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.4148, allocations: 1.058 MB / 0.5641 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4148, allocations: 3.938 kB / 0.5641 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006662/0.4155, allocations: 0.5034 MB / 0.5646 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007426/0.4163, allocations: 101.8 kB / 0.5647 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004684/0.4209, allocations: 2.985 MB / 0.5676 GB, free: 7.504 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000881/0.4218, allocations: 0.7416 MB / 0.5684 GB, free: 6.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.4221, allocations: 67.42 kB / 0.5684 GB, free: 6.664 MB / 414.1 MB Notification: Performance of SimCode: time 1.001e-06/0.4221, allocations: 0 / 0.5684 GB, free: 6.664 MB / 414.1 MB Notification: Performance of Templates: time 0.02166/0.4437, allocations: 12.43 MB / 0.5806 GB, free: 10.21 MB / 430.1 MB " [Timeout remaining time 660] 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 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.043773035053164] Failed to read output from testmodel.py, exit status != 0: 0.4530616491101682 0.46777462899999994 0.089573602 Calling exit ...