Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.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.001644/0.001644, 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.001573/0.001573, allocations: 216.8 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.494/1.494, 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.2361/0.2361, allocations: 29.24 MB / 342.4 MB, free: 5.598 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_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") [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.002073/0.002073, allocations: 67.91 kB / 479.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3782, allocations: 60.8 MB / 0.5277 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.004514/0.3828, allocations: 3.078 MB / 0.5307 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.3844, allocations: 0.6729 MB / 0.5314 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003623/0.3847, allocations: 19 kB / 0.5314 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000428/0.3852, allocations: 178.9 kB / 0.5316 GB, free: 5.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.3855, allocations: 128.5 kB / 0.5317 GB, free: 5.375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007465/0.3862, allocations: 360.9 kB / 0.5321 GB, free: 5.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008667/0.3871, allocations: 0.8427 MB / 0.5329 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006823/0.3878, allocations: 472.3 kB / 0.5333 GB, free: 4.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.3881, allocations: 341 kB / 0.5337 GB, free: 4.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003626/0.3884, allocations: 373.3 kB / 0.534 GB, free: 4.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.3886, allocations: 85.66 kB / 0.5341 GB, free: 4.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.3888, allocations: 115.7 kB / 0.5342 GB, free: 4.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000417/0.3892, allocations: 443.8 kB / 0.5346 GB, free: 3.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003304/0.3896, allocations: 472.7 kB / 0.5351 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.3909, allocations: 1.274 MB / 0.5363 GB, free: 2.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3909, allocations: 0 / 0.5363 GB, free: 2.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3909, allocations: 0 / 0.5363 GB, free: 2.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.958e-05/0.3909, allocations: 0 / 0.5363 GB, free: 2.789 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.002003/0.3929, allocations: 1.774 MB / 0.5381 GB, free: 1.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3929, allocations: 12.28 kB / 0.5381 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.3932, allocations: 209 kB / 0.5383 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008571/0.394, allocations: 0.7065 MB / 0.539 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.764e-05/0.3941, allocations: 77.08 kB / 0.539 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.3942, allocations: 103.8 kB / 0.5391 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.3958, allocations: 1.171 MB / 0.5403 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.3958, allocations: 1.25 kB / 0.5403 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.441e-05/0.3959, allocations: 46.06 kB / 0.5403 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/0.3959, allocations: 24.91 kB / 0.5403 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.3975, allocations: 1.101 MB / 0.5414 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004807/0.4023, allocations: 3.254 MB / 0.5446 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.4043, allocations: 1.306 MB / 0.5459 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000634/0.4049, allocations: 465.5 kB / 0.5463 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-05/0.405, allocations: 25.86 kB / 0.5463 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.405, allocations: 42.09 kB / 0.5464 GB, free: 12.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=68): time 2.575e-06/0.405, allocations: 1.344 kB / 0.5464 GB, free: 12.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=68): time 0.002393/0.4074, allocations: 1.533 MB / 0.5479 GB, free: 12.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.4075, allocations: 63.97 kB / 0.5479 GB, free: 11.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/0.4092, allocations: 1.267 MB / 0.5492 GB, free: 10.87 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.51e-05/0.4093, allocations: 41.7 kB / 0.5492 GB, free: 10.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007241/0.41, allocations: 0.7608 MB / 0.55 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.4102, allocations: 242.1 kB / 0.5502 GB, free: 9.812 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.4104, allocations: 114.7 kB / 0.5503 GB, free: 9.695 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.4106, allocations: 337.9 kB / 0.5506 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005991/0.4112, allocations: 437.8 kB / 0.551 GB, free: 8.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006899/0.4119, allocations: 0.5389 MB / 0.5516 GB, free: 8.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.4132, allocations: 1.002 MB / 0.5525 GB, free: 7.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.4132, allocations: 0 / 0.5525 GB, free: 7.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001655/0.4149, allocations: 1.195 MB / 0.5537 GB, free: 6.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.4149, allocations: 8 kB / 0.5537 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.4149, allocations: 8 kB / 0.5537 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.4149, allocations: 8.312 kB / 0.5537 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/0.4154, allocations: 131.8 kB / 0.5539 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.4154, allocations: 4 kB / 0.5539 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.4157, allocations: 55.56 kB / 0.5539 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.4157, allocations: 27.98 kB / 0.5539 GB, free: 5.879 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 (83): * Single equations (assignments): 83 * 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.0005898/0.4163, allocations: 375.7 kB / 0.5543 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.4165, allocations: 143 kB / 0.5544 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.4183, allocations: 1.199 MB / 0.5556 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.4183, allocations: 8 kB / 0.5556 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.4183, allocations: 8 kB / 0.5556 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.4183, allocations: 3.984 kB / 0.5556 GB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003023/0.4213, allocations: 2.152 MB / 0.5577 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.4213, allocations: 0 / 0.5577 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/0.4218, allocations: 115.8 kB / 0.5578 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.4218, allocations: 4 kB / 0.5578 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.4219, allocations: 16 kB / 0.5579 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/0.4219, allocations: 7.938 kB / 0.5579 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4219, allocations: 4 kB / 0.5579 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/0.4243, allocations: 1.882 MB / 0.5597 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/0.4245, allocations: 134.8 kB / 0.5598 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.396e-05/0.4246, allocations: 12.06 kB / 0.5598 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.4249, allocations: 16 kB / 0.5599 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.425, allocations: 44.56 kB / 0.5599 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.425, allocations: 16 kB / 0.5599 GB, free: 15.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001362/0.4264, allocations: 0.8801 MB / 0.5608 GB, free: 14.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4264, allocations: 0 / 0.5608 GB, free: 14.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000667/0.427, allocations: 219.1 kB / 0.561 GB, free: 14.58 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 (68): * Single equations (assignments): 68 * 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.0002475/0.4273, allocations: 111.2 kB / 0.5611 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.4287, allocations: 0.9659 MB / 0.562 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4287, allocations: 0 / 0.562 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006822/0.4294, allocations: 0.4962 MB / 0.5625 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006339/0.4301, allocations: 92.02 kB / 0.5626 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005007/0.4351, allocations: 2.881 MB / 0.5654 GB, free: 9.984 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.4361, allocations: 0.7172 MB / 0.5661 GB, free: 9.234 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.4363, allocations: 63.41 kB / 0.5662 GB, free: 9.176 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4363, allocations: 3.938 kB / 0.5662 GB, free: 9.172 MB / 414.1 MB Notification: Performance of Templates: time 0.02248/0.4588, allocations: 11.56 MB / 0.5775 GB, free: 13.6 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.104036955162883] Failed to read output from testmodel.py, exit status != 0: 0.4686705907806754 0.484796469 0.09058661200000001 Calling exit ...