Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.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.001293/0.001293, 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.001405/0.001405, allocations: 213.6 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.422/1.422, 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.2201/0.2201, allocations: 29.23 MB / 342.4 MB, free: 5.594 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.World3.Human_Fertility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility") translateModel(SystemDynamics.WorldDynamics.World3.Human_Fertility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility") [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.002065/0.002065, allocations: 59.91 kB / 479.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3392, allocations: 60.79 MB / 0.5277 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.004559/0.3438, allocations: 3.121 MB / 0.5307 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.3459, allocations: 0.8549 MB / 0.5316 GB, free: 5.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005367/0.3464, allocations: 21.03 kB / 0.5316 GB, free: 5.352 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000445/0.3469, allocations: 163.5 kB / 0.5317 GB, free: 5.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.3472, allocations: 100.4 kB / 0.5318 GB, free: 5.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009083/0.3481, allocations: 455.7 kB / 0.5323 GB, free: 4.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.3491, allocations: 0.9942 MB / 0.5332 GB, free: 4.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007119/0.3498, allocations: 487.6 kB / 0.5337 GB, free: 4.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003166/0.3502, allocations: 376.8 kB / 0.5341 GB, free: 3.812 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003515/0.3505, allocations: 369.4 kB / 0.5344 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.3507, allocations: 120.4 kB / 0.5345 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.3509, allocations: 146.6 kB / 0.5347 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002787/0.3512, allocations: 308.9 kB / 0.535 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002948/0.3515, allocations: 419.9 kB / 0.5354 GB, free: 3.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.3528, allocations: 1.271 MB / 0.5366 GB, free: 2.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3528, allocations: 3.938 kB / 0.5366 GB, free: 2.355 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3528, allocations: 1.375 kB / 0.5366 GB, free: 2.355 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.3529, allocations: 0 / 0.5366 GB, free: 2.355 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.001706/0.3546, allocations: 1.348 MB / 0.5379 GB, free: 1.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3546, allocations: 10.53 kB / 0.5379 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.3548, allocations: 145.9 kB / 0.5381 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008905/0.3557, allocations: 0.6457 MB / 0.5387 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.29e-05/0.3557, allocations: 89.33 kB / 0.5388 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.3558, allocations: 117.2 kB / 0.5389 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.3573, allocations: 1.091 MB / 0.54 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/0.3573, allocations: 5.5 kB / 0.54 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.631e-05/0.3574, allocations: 46.84 kB / 0.54 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.3575, allocations: 28.66 kB / 0.5401 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.3587, allocations: 0.7024 MB / 0.5407 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004594/0.3632, allocations: 3.641 MB / 0.5443 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009205/0.3642, allocations: 452.1 kB / 0.5447 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.3645, allocations: 179.6 kB / 0.5449 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.759e-05/0.3645, allocations: 16.05 kB / 0.5449 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.044e-05/0.3646, allocations: 41.38 kB / 0.545 GB, free: 12.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.964e-06/0.3646, allocations: 0 / 0.545 GB, free: 12.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.001139/0.3657, allocations: 0.647 MB / 0.5456 GB, free: 11.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.3658, allocations: 58.84 kB / 0.5456 GB, free: 11.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009064/0.3667, allocations: 0.6742 MB / 0.5463 GB, free: 11.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.3667, allocations: 38.98 kB / 0.5463 GB, free: 11.37 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005147/0.3672, allocations: 0.6041 MB / 0.5469 GB, free: 10.83 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.3674, allocations: 129.3 kB / 0.5471 GB, free: 10.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.3675, allocations: 106.4 kB / 0.5472 GB, free: 10.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3677, allocations: 327.2 kB / 0.5475 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.3681, allocations: 204.1 kB / 0.5477 GB, free: 10.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/0.3685, allocations: 367 kB / 0.548 GB, free: 9.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008212/0.3694, allocations: 0.569 MB / 0.5486 GB, free: 9.602 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3694, allocations: 5.344 kB / 0.5486 GB, free: 9.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001067/0.3704, allocations: 0.6744 MB / 0.5492 GB, free: 9.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.3705, allocations: 6.312 kB / 0.5492 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.3705, allocations: 5.062 kB / 0.5492 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/0.3705, allocations: 8.094 kB / 0.5492 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.3709, allocations: 104.1 kB / 0.5493 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/0.3709, allocations: 15.7 kB / 0.5494 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.3711, allocations: 47.23 kB / 0.5494 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.3712, allocations: 21.88 kB / 0.5494 GB, free: 9.207 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 10 (Fert_Cont_Facil_PC.Smooth3.Integrator1.local_reset,Fert_Cont_Facil_PC.Smooth2.Integrator1.local_reset,Fert_Cont_Facil_PC.Smooth1.Integrator1.local_reset,Perc_Life_Expectancy.Smooth3.Integrator1.local_reset,Perc_Life_Expectancy.Smooth2.Integrator1.local_reset,Perc_Life_Expectancy.Smooth1.Integrator1.local_reset,Del_Ind_Out_PC.Smooth3.Integrator1.local_reset,Del_Ind_Out_PC.Smooth2.Integrator1.local_reset,Del_Ind_Out_PC.Smooth1.Integrator1.local_reset,Avg_Ind_Out_PC.Smooth_of_Input.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * 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.0004017/0.3716, allocations: 282.2 kB / 0.5497 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.3717, allocations: 77.62 kB / 0.5498 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009054/0.3726, allocations: 0.535 MB / 0.5503 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3726, allocations: 3.844 kB / 0.5503 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3726, allocations: 1.406 kB / 0.5503 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3726, allocations: 0 / 0.5503 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008493/0.3735, allocations: 0.6187 MB / 0.5509 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3735, allocations: 5.031 kB / 0.5509 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/0.3738, allocations: 65.56 kB / 0.551 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.3738, allocations: 6.016 kB / 0.551 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.3738, allocations: 11.66 kB / 0.551 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3738, allocations: 5.906 kB / 0.551 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3738, allocations: 0 / 0.551 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.375, allocations: 0.8446 MB / 0.5518 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.3751, allocations: 68.97 kB / 0.5519 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.756e-05/0.3752, allocations: 8 kB / 0.5519 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.3754, allocations: 11.98 kB / 0.5519 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.3754, allocations: 23.95 kB / 0.5519 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.3755, allocations: 12 kB / 0.5519 GB, free: 7.703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005723/0.376, allocations: 479 kB / 0.5524 GB, free: 7.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.376, allocations: 0 / 0.5524 GB, free: 7.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006353/0.3767, allocations: 195 kB / 0.5526 GB, free: 7.051 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (Avg_Ind_Out_PC.Smooth_of_Input.Integrator1.y,Del_Ind_Out_PC.Smooth1.Integrator1.y,Del_Ind_Out_PC.Smooth2.Integrator1.y,Del_Ind_Out_PC.Smooth3.Integrator1.y,Perc_Life_Expectancy.Smooth1.Integrator1.y,Perc_Life_Expectancy.Smooth2.Integrator1.y,Perc_Life_Expectancy.Smooth3.Integrator1.y,Fert_Cont_Facil_PC.Smooth1.Integrator1.y,Fert_Cont_Facil_PC.Smooth2.Integrator1.y,Fert_Cont_Facil_PC.Smooth3.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 (36): * Single equations (assignments): 36 * 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.0001945/0.3769, allocations: 112.9 kB / 0.5527 GB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007909/0.3777, allocations: 476.5 kB / 0.5531 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3777, allocations: 0 / 0.5531 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.378, allocations: 211.9 kB / 0.5533 GB, free: 6.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005993/0.3786, allocations: 101.5 kB / 0.5534 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.3814, allocations: 1.818 MB / 0.5552 GB, free: 4.301 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/0.382, allocations: 478.2 kB / 0.5557 GB, free: 3.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.3821, allocations: 43.44 kB / 0.5557 GB, free: 3.762 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3821, allocations: 0 / 0.5557 GB, free: 3.762 MB / 398.1 MB Notification: Performance of Templates: time 0.01592/0.398, allocations: 9.232 MB / 0.5647 GB, free: 10.55 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.942670417018235] Failed to read output from testmodel.py, exit status != 0: 0.40701861726120114 0.42175455100000003 0.06579797700000001 Calling exit ...