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.001302/0.001302, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 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.001493/0.001493, allocations: 177.3 kB / 23.36 MB, free: 1.137 MB / 18.57 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 0.9439/0.9439, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.1306/0.1306, allocations: 21.81 MB / 282.1 MB, free: 7.059 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 306 MB, free: 9.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059e-05/1.191e-05, allocations: 5.078 kB / 306 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.002972/0.002984, allocations: 3.201 MB / 309.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.004362, allocations: 0.9183 MB / 310.1 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/0.004608, allocations: 27.81 kB / 310.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.004879, allocations: 154.3 kB / 310.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.00507, allocations: 106.9 kB / 310.4 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005628/0.005633, allocations: 447.5 kB / 310.9 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000694/0.006327, allocations: 0.9962 MB / 311.8 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004638/0.006791, allocations: 0.496 MB / 312.3 MB, free: 3.68 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003448/0.007136, allocations: 0.5456 MB / 312.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.007316, allocations: 286.8 kB / 313.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.789e-05/0.007404, allocations: 120 kB / 313.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.007575, allocations: 151.9 kB / 313.4 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.00774, allocations: 322.9 kB / 313.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.007895, allocations: 322.9 kB / 314.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005279/0.008423, allocations: 0.8049 MB / 314.9 MB, free: 1.145 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.008425, allocations: 0 / 314.9 MB, free: 1.145 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.008428, allocations: 0 / 314.9 MB, free: 1.145 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.008437, allocations: 4 kB / 314.9 MB, free: 1.141 MB / 282.7 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.001009/0.009446, allocations: 1.306 MB / 316.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.702e-05/0.009473, allocations: 12.03 kB / 316.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.009599, allocations: 180.8 kB / 316.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004827/0.01008, allocations: 0.4974 MB / 316.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.949e-05/0.01013, allocations: 82.58 kB / 316.9 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.64e-05/0.01021, allocations: 120.3 kB / 317.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006329/0.01084, allocations: 0.8013 MB / 317.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.01086, allocations: 192 / 317.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.01089, allocations: 51.94 kB / 317.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.01091, allocations: 28 kB / 317.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.01119, allocations: 264.7 kB / 318.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.01319, allocations: 3.057 MB / 321.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.01346, allocations: 230.2 kB / 321.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.01352, allocations: 49.41 kB / 321.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.798e-05/0.01355, allocations: 20.2 kB / 321.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.01357, allocations: 42.78 kB / 321.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.423e-06/0.01358, allocations: 0 / 321.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.000251/0.01383, allocations: 199.7 kB / 321.8 MB, free: 9.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.01385, allocations: 59.34 kB / 321.8 MB, free: 9.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.01419, allocations: 0.5622 MB / 322.4 MB, free: 9.266 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.01421, allocations: 33.7 kB / 322.4 MB, free: 9.227 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.01441, allocations: 0.5053 MB / 322.9 MB, free: 8.715 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.324e-05/0.01447, allocations: 130.8 kB / 323.1 MB, free: 8.586 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.468e-05/0.01455, allocations: 106.2 kB / 323.2 MB, free: 8.477 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.447e-05/0.01463, allocations: 329.9 kB / 323.5 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.056e-05/0.01469, allocations: 44.12 kB / 323.5 MB, free: 8.105 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.01481, allocations: 200.4 kB / 323.7 MB, free: 7.844 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.01502, allocations: 285.1 kB / 324 MB, free: 7.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.01503, allocations: 8 kB / 324 MB, free: 7.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0002713/0.0153, allocations: 297 kB / 324.3 MB, free: 7.195 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.01531, allocations: 12.12 kB / 324.3 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.01532, allocations: 4 kB / 324.3 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.01533, allocations: 11.94 kB / 324.3 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.01553, allocations: 99.83 kB / 324.4 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.01554, allocations: 15.92 kB / 324.5 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.01564, allocations: 51.62 kB / 324.5 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.01566, allocations: 16 kB / 324.5 MB, free: 6.988 MB / 298.7 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 (Avg_Ind_Out_PC.Smooth_of_Input.Integrator1.local_reset,Del_Ind_Out_PC.Smooth1.Integrator1.local_reset,Del_Ind_Out_PC.Smooth2.Integrator1.local_reset,Del_Ind_Out_PC.Smooth3.Integrator1.local_reset,Perc_Life_Expectancy.Smooth1.Integrator1.local_reset,Perc_Life_Expectancy.Smooth2.Integrator1.local_reset,Perc_Life_Expectancy.Smooth3.Integrator1.local_reset,Fert_Cont_Facil_PC.Smooth1.Integrator1.local_reset,Fert_Cont_Facil_PC.Smooth2.Integrator1.local_reset,Fert_Cont_Facil_PC.Smooth3.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.0001307/0.01579, allocations: 147.2 kB / 324.7 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.01584, allocations: 43.95 kB / 324.7 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.0161, allocations: 241.9 kB / 324.9 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.01611, allocations: 7.938 kB / 325 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01611, allocations: 3.984 kB / 325 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01611, allocations: 0 / 325 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003336/0.01645, allocations: 381.9 kB / 325.3 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01645, allocations: 0 / 325.3 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.01662, allocations: 67.91 kB / 325.4 MB, free: 6.074 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01662, allocations: 8 kB / 325.4 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.01664, allocations: 4 kB / 325.4 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.01664, allocations: 4 kB / 325.4 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01664, allocations: 0 / 325.4 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.01694, allocations: 408 kB / 325.8 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.01698, allocations: 67.36 kB / 325.9 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.01701, allocations: 8 kB / 325.9 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.01709, allocations: 12 kB / 325.9 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.01713, allocations: 23.89 kB / 325.9 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.01714, allocations: 11.98 kB / 325.9 MB, free: 5.523 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001777/0.01732, allocations: 264.5 kB / 326.2 MB, free: 5.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01732, allocations: 0 / 326.2 MB, free: 5.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002755/0.01759, allocations: 191 kB / 326.4 MB, free: 5.082 MB / 298.7 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.0001007/0.01769, allocations: 98.36 kB / 326.5 MB, free: 4.977 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.0179, allocations: 194.8 kB / 326.7 MB, free: 4.785 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.01791, allocations: 12.06 kB / 326.7 MB, free: 4.773 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.558e-05/0.01798, allocations: 84.69 kB / 326.8 MB, free: 4.688 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.01826, allocations: 107.2 kB / 326.9 MB, free: 4.594 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.01963, allocations: 1.564 MB / 328.4 MB, free: 2.984 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.01975, allocations: 213.6 kB / 328.6 MB, free: 2.754 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.01988, allocations: 60.25 kB / 328.7 MB, free: 2.695 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.02001, allocations: 115.3 kB / 328.8 MB, free: 2.582 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02001, allocations: 0 / 328.8 MB, free: 2.582 MB / 298.7 MB Notification: Performance of Templates: time 0.008098/0.02811, allocations: 4.621 MB / 333.4 MB, free: 14.03 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.740038441028446]