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.001618/0.001618, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001819/0.001819, allocations: 204.8 kB / 22.24 MB, free: 5.262 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 7.785 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.1916/0.1916, allocations: 29.23 MB / 341.6 MB, free: 5.676 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_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.00199/0.00199, allocations: 71.89 kB / 478.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3379, allocations: 60.78 MB / 0.527 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.004971/0.3429, allocations: 3.078 MB / 0.53 GB, free: 6.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.3449, allocations: 0.6719 MB / 0.5307 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006126/0.3455, allocations: 19.25 kB / 0.5307 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004923/0.346, allocations: 171.2 kB / 0.5308 GB, free: 5.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003873/0.3464, allocations: 133 kB / 0.531 GB, free: 5.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008435/0.3472, allocations: 360.2 kB / 0.5313 GB, free: 5.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00098/0.3482, allocations: 0.8466 MB / 0.5321 GB, free: 4.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007706/0.349, allocations: 466.9 kB / 0.5326 GB, free: 4.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003501/0.3493, allocations: 345.1 kB / 0.5329 GB, free: 4.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003876/0.3497, allocations: 373.8 kB / 0.5333 GB, free: 4.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.3499, allocations: 85.72 kB / 0.5334 GB, free: 4.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.3502, allocations: 115.2 kB / 0.5335 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003829/0.3505, allocations: 451.7 kB / 0.5339 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002931/0.3508, allocations: 465 kB / 0.5343 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.352, allocations: 1.273 MB / 0.5356 GB, free: 2.777 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.352, allocations: 0 / 0.5356 GB, free: 2.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.352, allocations: 0 / 0.5356 GB, free: 2.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.352, allocations: 0 / 0.5356 GB, free: 2.777 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.001826/0.3538, allocations: 1.774 MB / 0.5373 GB, free: 1.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3539, allocations: 9.438 kB / 0.5373 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/0.3541, allocations: 211.9 kB / 0.5375 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008275/0.3549, allocations: 0.7104 MB / 0.5382 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.863e-05/0.355, allocations: 77.02 kB / 0.5383 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.3551, allocations: 104.9 kB / 0.5384 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.3566, allocations: 1.158 MB / 0.5395 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.3566, allocations: 1.219 kB / 0.5395 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.63e-05/0.3567, allocations: 53.59 kB / 0.5396 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.3567, allocations: 30.02 kB / 0.5396 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.3583, allocations: 1.093 MB / 0.5407 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004774/0.3631, allocations: 3.259 MB / 0.5439 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.3647, allocations: 1.304 MB / 0.5451 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005546/0.3653, allocations: 466.5 kB / 0.5456 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.42e-05/0.3654, allocations: 25.27 kB / 0.5456 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.3654, allocations: 38.78 kB / 0.5456 GB, free: 12.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=68): time 2.685e-06/0.3654, allocations: 0 / 0.5456 GB, free: 12.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=68): time 0.002138/0.3675, allocations: 1.531 MB / 0.5471 GB, free: 12.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.3676, allocations: 58.59 kB / 0.5472 GB, free: 11.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.3692, allocations: 1.275 MB / 0.5484 GB, free: 10.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.3693, allocations: 37.7 kB / 0.5485 GB, free: 10.81 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006702/0.3699, allocations: 0.7688 MB / 0.5492 GB, free: 10.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/0.3702, allocations: 245.9 kB / 0.5494 GB, free: 9.793 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.3703, allocations: 114.7 kB / 0.5496 GB, free: 9.676 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3705, allocations: 337.9 kB / 0.5499 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005708/0.371, allocations: 433.8 kB / 0.5503 GB, free: 8.914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006749/0.3717, allocations: 0.535 MB / 0.5508 GB, free: 8.344 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.373, allocations: 1.006 MB / 0.5518 GB, free: 7.305 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.373, allocations: 0 / 0.5518 GB, free: 7.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001663/0.3747, allocations: 1.191 MB / 0.553 GB, free: 6.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.3747, allocations: 11.98 kB / 0.553 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.3747, allocations: 4 kB / 0.553 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.3747, allocations: 4 kB / 0.553 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000477/0.3752, allocations: 132.1 kB / 0.5531 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/0.3752, allocations: 11.98 kB / 0.5531 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.3756, allocations: 51.56 kB / 0.5532 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.3756, allocations: 35.88 kB / 0.5532 GB, free: 5.859 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.0006477/0.3763, allocations: 373.5 kB / 0.5536 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/0.3765, allocations: 143 kB / 0.5537 GB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.3783, allocations: 1.203 MB / 0.5549 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.3783, allocations: 4 kB / 0.5549 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.3783, allocations: 0 / 0.5549 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.3784, allocations: 11.98 kB / 0.5549 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003153/0.3815, allocations: 2.152 MB / 0.557 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.3815, allocations: 0 / 0.557 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004745/0.382, allocations: 107.9 kB / 0.5571 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.382, allocations: 4 kB / 0.5571 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.382, allocations: 15.98 kB / 0.5571 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.382, allocations: 7.938 kB / 0.5571 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.382, allocations: 0 / 0.5571 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/0.3844, allocations: 1.89 MB / 0.559 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.3846, allocations: 130.8 kB / 0.5591 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.723e-05/0.3847, allocations: 16.05 kB / 0.5591 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.3849, allocations: 12 kB / 0.5591 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.856e-05/0.385, allocations: 40.58 kB / 0.5592 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.3851, allocations: 23.98 kB / 0.5592 GB, free: 15.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001289/0.3864, allocations: 0.8723 MB / 0.56 GB, free: 14.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3864, allocations: 0 / 0.56 GB, free: 14.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006283/0.387, allocations: 215.1 kB / 0.5602 GB, free: 14.57 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.0002208/0.3872, allocations: 126.1 kB / 0.5604 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.3887, allocations: 0.9621 MB / 0.5613 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3887, allocations: 0 / 0.5613 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007114/0.3894, allocations: 0.4995 MB / 0.5618 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006742/0.39, allocations: 93.38 kB / 0.5619 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004971/0.395, allocations: 2.798 MB / 0.5646 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/0.396, allocations: 0.717 MB / 0.5653 GB, free: 9.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000272/0.3963, allocations: 76.36 kB / 0.5654 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.3964, allocations: 51.42 kB / 0.5654 GB, free: 9.195 MB / 414.1 MB Notification: Performance of SimCode: time 1.223e-06/0.3964, allocations: 3.938 kB / 0.5654 GB, free: 9.191 MB / 414.1 MB Notification: Performance of Templates: time 0.01465/0.4111, allocations: 5.81 MB / 0.5711 GB, free: 3.398 MB / 414.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: 4.970156883820891] Failed to read output from testmodel.py, exit status != 0: 0.4206658098846674 0.437409374 0.08225737500000001 Calling exit ...