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.001336/0.001336, allocations: 78.02 kB / 19.76 MB, free: 2.031 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.001609/0.001609, allocations: 155.1 kB / 23.01 MB, free: 4.941 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.472/1.472, allocations: 177.2 MB / 203.4 MB, free: 9.25 MB / 190.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.1848/0.1848, allocations: 21.8 MB / 281.6 MB, free: 10.93 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.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.002353/0.002353, allocations: 59.91 kB / 418.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.32, allocations: 60.76 MB / 479.5 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.005093/0.325, allocations: 3.124 MB / 482.6 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.3269, allocations: 0.8498 MB / 483.4 MB, free: 9.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000362/0.3272, allocations: 28.97 kB / 483.5 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.3277, allocations: 163.4 kB / 483.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.328, allocations: 101 kB / 483.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008656/0.3288, allocations: 449.4 kB / 484.2 MB, free: 9.305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.3299, allocations: 0.9966 MB / 485.2 MB, free: 8.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008204/0.3307, allocations: 492.6 kB / 485.6 MB, free: 8.277 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006331/0.3314, allocations: 0.5813 MB / 486.2 MB, free: 7.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003641/0.3317, allocations: 369.1 kB / 486.6 MB, free: 7.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.3319, allocations: 116.5 kB / 486.7 MB, free: 7.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.3321, allocations: 148 kB / 486.8 MB, free: 7.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000295/0.3324, allocations: 306.9 kB / 487.1 MB, free: 7.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003797/0.3328, allocations: 425.4 kB / 487.6 MB, free: 6.664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.3341, allocations: 1.271 MB / 488.8 MB, free: 5.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3341, allocations: 4 kB / 488.8 MB, free: 5.383 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3341, allocations: 4 kB / 488.8 MB, free: 5.379 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.832e-05/0.3341, allocations: 0 / 488.8 MB, free: 5.379 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.002071/0.3362, allocations: 1.338 MB / 490.2 MB, free: 4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3362, allocations: 12.03 kB / 490.2 MB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.3365, allocations: 152 kB / 490.3 MB, free: 3.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.3375, allocations: 0.6465 MB / 491 MB, free: 3.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-05/0.3376, allocations: 86.58 kB / 491.1 MB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.3378, allocations: 112.3 kB / 491.2 MB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.3395, allocations: 1.094 MB / 492.3 MB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.3396, allocations: 7.938 kB / 492.3 MB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-05/0.3396, allocations: 43.94 kB / 492.3 MB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.3397, allocations: 28 kB / 492.4 MB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.3409, allocations: 0.7144 MB / 493.1 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004238/0.3452, allocations: 3.645 MB / 496.7 MB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008445/0.346, allocations: 442.9 kB / 497.1 MB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.3463, allocations: 185.3 kB / 497.3 MB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.579e-05/0.3464, allocations: 16.27 kB / 497.3 MB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3464, allocations: 42.72 kB / 497.4 MB, free: 12.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.064e-06/0.3464, allocations: 0 / 497.4 MB, free: 12.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.001127/0.3475, allocations: 0.6442 MB / 498 MB, free: 11.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.3476, allocations: 63.34 kB / 498.1 MB, free: 11.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008749/0.3485, allocations: 0.6723 MB / 498.8 MB, free: 11.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.3485, allocations: 37.7 kB / 498.8 MB, free: 11.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000471/0.349, allocations: 0.5933 MB / 499.4 MB, free: 10.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.3491, allocations: 134.8 kB / 499.5 MB, free: 10.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.3493, allocations: 102.3 kB / 499.6 MB, free: 10.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.3494, allocations: 326 kB / 499.9 MB, free: 9.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.3498, allocations: 209.2 kB / 0.4884 GB, free: 9.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004739/0.3502, allocations: 360.4 kB / 0.4888 GB, free: 9.289 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008321/0.3511, allocations: 0.5719 MB / 0.4893 GB, free: 8.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.3511, allocations: 4 kB / 0.4893 GB, free: 8.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00103/0.3521, allocations: 0.6721 MB / 0.49 GB, free: 7.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.3521, allocations: 12.61 kB / 0.49 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3521, allocations: 4 kB / 0.49 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.167e-05/0.3522, allocations: 12 kB / 0.49 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.3526, allocations: 99.83 kB / 0.4901 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.3526, allocations: 8 kB / 0.4901 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.3528, allocations: 47.67 kB / 0.4902 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.3528, allocations: 20 kB / 0.4902 GB, free: 7.77 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.0003686/0.3532, allocations: 288.1 kB / 0.4905 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.3533, allocations: 79.48 kB / 0.4905 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000939/0.3542, allocations: 0.5246 MB / 0.491 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3543, allocations: 4 kB / 0.491 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3543, allocations: 0 / 0.491 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3543, allocations: 0 / 0.491 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008179/0.3551, allocations: 0.6335 MB / 0.4917 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.3551, allocations: 3.938 kB / 0.4917 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.3554, allocations: 59.91 kB / 0.4917 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.3554, allocations: 8 kB / 0.4917 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.3555, allocations: 12 kB / 0.4917 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3555, allocations: 7.875 kB / 0.4918 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3555, allocations: 0 / 0.4918 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.3567, allocations: 0.8484 MB / 0.4926 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.3568, allocations: 71.41 kB / 0.4926 GB, free: 5.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.717e-05/0.3569, allocations: 7.984 kB / 0.4927 GB, free: 5.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.3571, allocations: 12 kB / 0.4927 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.3571, allocations: 23.95 kB / 0.4927 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.381e-05/0.3572, allocations: 16 kB / 0.4927 GB, free: 5.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005842/0.3577, allocations: 475 kB / 0.4932 GB, free: 4.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3577, allocations: 0 / 0.4932 GB, free: 4.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005362/0.3583, allocations: 191 kB / 0.4933 GB, free: 4.469 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.0001877/0.3585, allocations: 125.2 kB / 0.4935 GB, free: 4.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007952/0.3593, allocations: 468 kB / 0.4939 GB, free: 3.883 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3593, allocations: 0 / 0.4939 GB, free: 3.883 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.3596, allocations: 211.8 kB / 0.4941 GB, free: 3.676 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005954/0.3602, allocations: 86.89 kB / 0.4942 GB, free: 3.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.3628, allocations: 1.77 MB / 0.4959 GB, free: 1.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.3633, allocations: 490.3 kB / 0.4964 GB, free: 1.277 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002026/0.3635, allocations: 56.25 kB / 0.4964 GB, free: 1.223 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.869e-05/0.3636, allocations: 36.5 kB / 0.4965 GB, free: 1.188 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3636, allocations: 0 / 0.4965 GB, free: 1.188 MB / 398.1 MB Notification: Performance of Templates: time 0.01108/0.3747, allocations: 4.241 MB / 0.5006 GB, free: 13 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.889374249149114] Failed to read output from testmodel.py, exit status != 0: 0.3832756648771465 0.397225283 0.060063494 Calling exit ...