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.0008862/0.0008862, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001103/0.001989, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007046/0.0007046, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009294/0.001634, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.95/0.95, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08569/1.036, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1226/0.1226, allocations: 21.8 MB / 265.9 MB, free: 8.902 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01159/0.1342, allocations: 7.863 MB / 273.8 MB, free: 1.02 MB / 266.7 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-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.342e-06/1.342e-06, allocations: 0 / 275.1 MB, free: 1.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144e-05/1.278e-05, allocations: 2.312 kB / 275.1 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.00332/0.003333, allocations: 3.24 MB / 278.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.005179, allocations: 0.9131 MB / 279.2 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003935/0.005573, allocations: 25.19 kB / 279.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.00587, allocations: 161.6 kB / 279.4 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002781/0.006148, allocations: 108.8 kB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006538/0.006802, allocations: 446.3 kB / 280 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00097/0.007772, allocations: 0.9693 MB / 280.9 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005928/0.008364, allocations: 0.4954 MB / 281.4 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006271/0.008991, allocations: 0.6182 MB / 282.1 MB, free: 13.42 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.009301, allocations: 290.3 kB / 282.3 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001625/0.009464, allocations: 116.5 kB / 282.4 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002263/0.00969, allocations: 153.9 kB / 282.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.009889, allocations: 265.2 kB / 282.9 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.01009, allocations: 256.9 kB / 283.1 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000726/0.01081, allocations: 0.7417 MB / 283.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.01082, allocations: 5.062 kB / 283.9 MB, free: 12.79 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01082, allocations: 0 / 283.9 MB, free: 12.79 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.665e-05/0.01086, allocations: 0 / 283.9 MB, free: 12.79 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.001637/0.0125, allocations: 1.516 MB / 285.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.01253, allocations: 8.688 kB / 285.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.01273, allocations: 177.9 kB / 285.6 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005512/0.01328, allocations: 0.5005 MB / 286.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.747e-05/0.01334, allocations: 88.61 kB / 286.1 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.246e-05/0.01343, allocations: 122.4 kB / 286.3 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000821/0.01426, allocations: 0.7975 MB / 287.1 MB, free: 10.99 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.01427, allocations: 2.812 kB / 287.1 MB, free: 10.99 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/0.01432, allocations: 46.56 kB / 287.1 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.01434, allocations: 28.62 kB / 287.1 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.01471, allocations: 267.7 kB / 287.4 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.01707, allocations: 3.083 MB / 290.5 MB, free: 8.473 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.0174, allocations: 217.4 kB / 290.7 MB, free: 8.375 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.825e-05/0.01746, allocations: 41.5 kB / 290.7 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.547e-05/0.01752, allocations: 21.47 kB / 290.8 MB, free: 8.359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.01754, allocations: 38.02 kB / 290.8 MB, free: 8.316 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.01754, allocations: 0 / 290.8 MB, free: 8.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.000322/0.01786, allocations: 207.1 kB / 291 MB, free: 8.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.0179, allocations: 59.27 kB / 291 MB, free: 8.203 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.01831, allocations: 0.5614 MB / 291.6 MB, free: 7.863 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.01833, allocations: 35.36 kB / 291.6 MB, free: 7.824 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.01858, allocations: 0.5075 MB / 292.2 MB, free: 7.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/0.01865, allocations: 133.7 kB / 292.3 MB, free: 7.266 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.099e-05/0.01874, allocations: 103.3 kB / 292.4 MB, free: 7.195 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.39e-05/0.01882, allocations: 327.8 kB / 292.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.01889, allocations: 42.66 kB / 292.7 MB, free: 6.867 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.01904, allocations: 206.5 kB / 292.9 MB, free: 6.656 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.01928, allocations: 301.8 kB / 293.2 MB, free: 6.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.01928, allocations: 2 kB / 293.2 MB, free: 6.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0002931/0.01958, allocations: 292.6 kB / 293.5 MB, free: 6.281 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.01959, allocations: 8.406 kB / 293.5 MB, free: 6.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.0196, allocations: 4.812 kB / 293.5 MB, free: 6.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.01962, allocations: 11.94 kB / 293.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.01985, allocations: 110 kB / 293.7 MB, free: 6.254 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.01986, allocations: 15.89 kB / 293.7 MB, free: 6.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.01998, allocations: 46.42 kB / 293.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.02001, allocations: 16.25 kB / 293.7 MB, free: 6.211 MB / 282.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.0001473/0.02015, allocations: 155.1 kB / 293.9 MB, free: 6.062 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.02021, allocations: 46.23 kB / 293.9 MB, free: 6.047 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.0205, allocations: 232.6 kB / 294.2 MB, free: 5.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.02051, allocations: 16.77 kB / 294.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.02051, allocations: 0 / 294.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.02051, allocations: 1.125 kB / 294.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/0.02092, allocations: 385.6 kB / 294.6 MB, free: 5.664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.02092, allocations: 0 / 294.6 MB, free: 5.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.02111, allocations: 72.56 kB / 294.6 MB, free: 5.648 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.02117, allocations: 69.02 kB / 294.7 MB, free: 5.598 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.02118, allocations: 2.344 kB / 294.7 MB, free: 5.598 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.02119, allocations: 10.7 kB / 294.7 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.0212, allocations: 5.375 kB / 294.7 MB, free: 5.586 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.0212, allocations: 3.938 kB / 294.7 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.02153, allocations: 392.4 kB / 295.1 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.02156, allocations: 11.98 kB / 295.1 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/0.02164, allocations: 15.98 kB / 295.1 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.02168, allocations: 27.89 kB / 295.2 MB, free: 5.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-06/0.02169, allocations: 8 kB / 295.2 MB, free: 5.141 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001817/0.02187, allocations: 260.5 kB / 295.4 MB, free: 4.887 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02187, allocations: 0 / 295.4 MB, free: 4.887 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003125/0.02219, allocations: 187.1 kB / 295.6 MB, free: 4.703 MB / 282.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.0001412/0.02233, allocations: 96.2 kB / 295.7 MB, free: 4.602 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002176/0.02255, allocations: 209.9 kB / 295.9 MB, free: 4.395 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/0.02256, allocations: 8 kB / 295.9 MB, free: 4.387 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.944e-05/0.02266, allocations: 104.8 kB / 296 MB, free: 4.281 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.02313, allocations: 477 kB / 296.5 MB, free: 3.766 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.0249, allocations: 1.812 MB / 298.3 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.02504, allocations: 225.6 kB / 298.5 MB, free: 1.668 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.02518, allocations: 60.36 kB / 298.6 MB, free: 1.605 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.02532, allocations: 127.3 kB / 298.7 MB, free: 1.48 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.02532, allocations: 0 / 298.7 MB, free: 1.48 MB / 282.7 MB Notification: Performance of Templates: time 0.009186/0.03451, allocations: 5.005 MB / 303.7 MB, free: 12.57 MB / 298.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 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6587141482159495]