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.0007079/0.0007079, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009454/0.001653, allocations: 435.8 kB / 10.33 MB, free: 364 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.0006975/0.0006975, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008726/0.00157, allocations: 463.6 kB / 11.68 MB, free: 2.48 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.8791/0.8791, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07591/0.955, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.1128/0.1128, allocations: 21.82 MB / 265.8 MB, free: 8.988 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01185/0.1247, allocations: 7.832 MB / 273.6 MB, free: 1.133 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.854e-06/1.854e-06, allocations: 0 / 274.9 MB, free: 1.387 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.465e-05, allocations: 3.438 kB / 274.9 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.003068/0.003083, allocations: 3.244 MB / 278.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.004901, allocations: 0.9095 MB / 279 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003559/0.005257, allocations: 25.12 kB / 279.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.005553, allocations: 164.6 kB / 279.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.005784, allocations: 103.2 kB / 279.3 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006402/0.006424, allocations: 451.9 kB / 279.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008435/0.007267, allocations: 0.9724 MB / 280.7 MB, free: 14.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005657/0.007833, allocations: 0.4926 MB / 281.2 MB, free: 13.85 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005457/0.008379, allocations: 0.6266 MB / 281.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.008642, allocations: 290.2 kB / 282.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.008766, allocations: 116.6 kB / 282.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.008964, allocations: 145.3 kB / 282.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.009159, allocations: 260.8 kB / 282.7 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.009344, allocations: 261.2 kB / 282.9 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006425/0.009986, allocations: 0.7422 MB / 283.6 MB, free: 12.88 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.376e-05/0.01, allocations: 4 kB / 283.7 MB, free: 12.88 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.01, allocations: 0 / 283.7 MB, free: 12.88 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.856e-05/0.01003, allocations: 0 / 283.7 MB, free: 12.88 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.001491/0.01152, allocations: 1.512 MB / 285.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.01155, allocations: 10.47 kB / 285.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002159/0.01177, allocations: 177.4 kB / 285.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/0.01232, allocations: 0.4981 MB / 285.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.403e-05/0.01238, allocations: 87.02 kB / 285.9 MB, free: 11.56 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-05/0.01247, allocations: 118.7 kB / 286 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007731/0.01324, allocations: 0.794 MB / 286.8 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.01326, allocations: 5.281 kB / 286.8 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.0133, allocations: 50.94 kB / 286.9 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.01332, allocations: 28.16 kB / 286.9 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003289/0.01365, allocations: 258.2 kB / 287.2 MB, free: 10.99 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.01587, allocations: 3.082 MB / 290.3 MB, free: 8.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.01617, allocations: 225.6 kB / 290.5 MB, free: 8.469 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.563e-05/0.01623, allocations: 50.89 kB / 290.5 MB, free: 8.449 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.327e-05/0.01628, allocations: 17 kB / 290.5 MB, free: 8.449 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.0163, allocations: 37.06 kB / 290.6 MB, free: 8.406 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 1.493e-06/0.0163, allocations: 0 / 290.6 MB, free: 8.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002723/0.01658, allocations: 205.5 kB / 290.8 MB, free: 8.363 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.0166, allocations: 58.84 kB / 290.8 MB, free: 8.297 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/0.01698, allocations: 0.5708 MB / 291.4 MB, free: 7.977 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.017, allocations: 35.2 kB / 291.4 MB, free: 7.938 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.01721, allocations: 0.5032 MB / 291.9 MB, free: 7.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.719e-05/0.01728, allocations: 129.4 kB / 292.1 MB, free: 7.387 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-05/0.01737, allocations: 105 kB / 292.2 MB, free: 7.316 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.145e-05/0.01744, allocations: 326.9 kB / 292.5 MB, free: 6.996 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.865e-05/0.0175, allocations: 46.45 kB / 292.5 MB, free: 6.984 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.01761, allocations: 199 kB / 292.7 MB, free: 6.781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.01781, allocations: 291.7 kB / 293 MB, free: 6.535 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.01781, allocations: 0 / 293 MB, free: 6.535 MB / 282.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0002802/0.01809, allocations: 301.6 kB / 293.3 MB, free: 6.398 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.01811, allocations: 6.656 kB / 293.3 MB, free: 6.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.01811, allocations: 4.938 kB / 293.3 MB, free: 6.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.01813, allocations: 11.25 kB / 293.3 MB, free: 6.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.01834, allocations: 111.9 kB / 293.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.01835, allocations: 10.78 kB / 293.5 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.01846, allocations: 50.22 kB / 293.5 MB, free: 6.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.01848, allocations: 17.56 kB / 293.5 MB, free: 6.328 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.000132/0.01861, allocations: 146.5 kB / 293.7 MB, free: 6.188 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.01866, allocations: 45.7 kB / 293.7 MB, free: 6.172 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.01894, allocations: 239.8 kB / 293.9 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.01894, allocations: 7.938 kB / 294 MB, free: 6.031 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.01894, allocations: 4 kB / 294 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.01895, allocations: 3.984 kB / 294 MB, free: 6.023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.01932, allocations: 378.4 kB / 294.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01932, allocations: 0 / 294.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.0195, allocations: 76.42 kB / 294.4 MB, free: 5.777 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.01955, allocations: 66.14 kB / 294.5 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.01956, allocations: 1.156 kB / 294.5 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.01957, allocations: 10.31 kB / 294.5 MB, free: 5.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01958, allocations: 5.938 kB / 294.5 MB, free: 5.719 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01958, allocations: 0 / 294.5 MB, free: 5.719 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.01987, allocations: 399.6 kB / 294.9 MB, free: 5.402 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.0199, allocations: 12 kB / 294.9 MB, free: 5.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.01998, allocations: 12 kB / 294.9 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.02002, allocations: 27.89 kB / 294.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.02002, allocations: 11.92 kB / 294.9 MB, free: 5.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001771/0.0202, allocations: 260.5 kB / 295.2 MB, free: 5.086 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0202, allocations: 0 / 295.2 MB, free: 5.086 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002786/0.02048, allocations: 187.1 kB / 295.4 MB, free: 4.902 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.0001128/0.02059, allocations: 98.36 kB / 295.5 MB, free: 4.801 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.0208, allocations: 197.9 kB / 295.7 MB, free: 4.602 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/0.02081, allocations: 8 kB / 295.7 MB, free: 4.594 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.02092, allocations: 80.98 kB / 295.8 MB, free: 4.512 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.0213, allocations: 130.1 kB / 295.9 MB, free: 4.395 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.02298, allocations: 1.817 MB / 297.7 MB, free: 2.531 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.02312, allocations: 225.6 kB / 297.9 MB, free: 2.289 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.02325, allocations: 60.25 kB / 298 MB, free: 2.227 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.02337, allocations: 111.4 kB / 298.1 MB, free: 2.117 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02337, allocations: 4 kB / 298.1 MB, free: 2.113 MB / 282.7 MB Notification: Performance of Templates: time 0.008417/0.03178, allocations: 4.634 MB / 302.7 MB, free: 13.55 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.698799450881779]