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.001058/0.001058, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001161/0.001161, allocations: 169 kB / 23.27 MB, free: 1.223 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 1.019/1.019, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.1264/0.1264, allocations: 21.8 MB / 282.1 MB, free: 7.012 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 2.004e-06/2.004e-06, allocations: 0 / 359.2 MB, free: 4.809 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.693e-05, allocations: 9.484 kB / 359.2 MB, free: 4.801 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.006963/0.00699, allocations: 3.176 MB / 362.4 MB, free: 1.613 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004684/0.01167, allocations: 0.8566 MB / 363.3 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005625/0.01224, allocations: 23.88 kB / 363.3 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003998/0.01264, allocations: 162.3 kB / 363.4 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.01289, allocations: 106.9 kB / 363.5 MB, free: 476 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007188/0.01361, allocations: 451.5 kB / 364 MB, free: 24 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008748/0.01448, allocations: 1 MB / 365 MB, free: 15.01 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000609/0.01509, allocations: 487.9 kB / 365.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004153/0.01551, allocations: 0.5534 MB / 366 MB, free: 13.95 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.01572, allocations: 294.8 kB / 366.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.672e-05/0.01582, allocations: 116 kB / 366.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.016, allocations: 140 kB / 366.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001834/0.01619, allocations: 322.8 kB / 366.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.01636, allocations: 319 kB / 367.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007162/0.01708, allocations: 0.8088 MB / 368 MB, free: 11.97 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.01709, allocations: 0 / 368 MB, free: 11.97 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.01709, allocations: 4 kB / 368 MB, free: 11.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.0171, allocations: 4 kB / 368 MB, free: 11.96 MB / 346.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.001242/0.01834, allocations: 1.442 MB / 369.4 MB, free: 10.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.01838, allocations: 8.031 kB / 369.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00018/0.01856, allocations: 236 kB / 369.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/0.01916, allocations: 0.6719 MB / 370.3 MB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.541e-05/0.01923, allocations: 86.58 kB / 370.4 MB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.33e-05/0.01932, allocations: 116.3 kB / 370.5 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007501/0.02007, allocations: 0.8323 MB / 371.4 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.02009, allocations: 4.125 kB / 371.4 MB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.334e-05/0.02013, allocations: 51.94 kB / 371.4 MB, free: 8.328 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.02015, allocations: 31.94 kB / 371.5 MB, free: 8.297 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.02045, allocations: 277.8 kB / 371.7 MB, free: 8.012 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002645/0.0231, allocations: 4.378 MB / 376.1 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.02342, allocations: 205.1 kB / 376.3 MB, free: 3.273 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.842e-05/0.02348, allocations: 56.2 kB / 376.4 MB, free: 3.215 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.694e-05/0.02354, allocations: 24.27 kB / 376.4 MB, free: 3.191 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.02356, allocations: 33.67 kB / 376.4 MB, free: 3.148 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 1.373e-06/0.02356, allocations: 0 / 376.4 MB, free: 3.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003544/0.02391, allocations: 291.2 kB / 376.7 MB, free: 2.859 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.02395, allocations: 63.28 kB / 376.8 MB, free: 2.785 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.02436, allocations: 0.6396 MB / 377.4 MB, free: 2.133 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.02438, allocations: 41.7 kB / 377.4 MB, free: 2.086 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/0.02468, allocations: 0.6584 MB / 378.1 MB, free: 1.418 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.818e-05/0.02475, allocations: 134.9 kB / 378.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.782e-05/0.02484, allocations: 107.9 kB / 378.3 MB, free: 1.172 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.02502, allocations: 0.4965 MB / 378.8 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.864e-05/0.02508, allocations: 45.27 kB / 378.9 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.02525, allocations: 263.8 kB / 379.1 MB, free: 284 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.0255, allocations: 337 kB / 379.5 MB, free: 15.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.0255, allocations: 4 kB / 379.5 MB, free: 15.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003568/0.02586, allocations: 396.7 kB / 379.9 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.02588, allocations: 8 kB / 379.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.02589, allocations: 7.938 kB / 379.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.0259, allocations: 8 kB / 379.9 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.02611, allocations: 95.84 kB / 380 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.02611, allocations: 7.984 kB / 380 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.02622, allocations: 55.56 kB / 380 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.02624, allocations: 20.38 kB / 380.1 MB, free: 15.26 MB / 362.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.0001545/0.02639, allocations: 199.1 kB / 380.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.241e-05/0.02646, allocations: 87.47 kB / 380.3 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.02678, allocations: 277.1 kB / 380.6 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.02678, allocations: 4 kB / 380.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.02678, allocations: 112 / 380.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.02679, allocations: 7.922 kB / 380.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.0272, allocations: 428.6 kB / 381 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.02721, allocations: 0 / 381 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.02739, allocations: 63.91 kB / 381.1 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.02739, allocations: 4 kB / 381.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.02741, allocations: 11.98 kB / 381.1 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.02741, allocations: 0 / 381.1 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.02742, allocations: 7.922 kB / 381.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.0278, allocations: 469.4 kB / 381.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.02786, allocations: 71.45 kB / 381.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.02789, allocations: 12 kB / 381.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/0.02798, allocations: 12 kB / 381.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.02803, allocations: 23.89 kB / 381.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.02804, allocations: 12 kB / 381.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002109/0.02825, allocations: 386.8 kB / 382.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02825, allocations: 0 / 382.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003391/0.02859, allocations: 199 kB / 382.3 MB, free: 12.97 MB / 362.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.0001373/0.02873, allocations: 113.2 kB / 382.4 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002275/0.02895, allocations: 212.5 kB / 382.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.02895, allocations: 0 / 382.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.148e-05/0.02905, allocations: 99.36 kB / 382.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.02939, allocations: 97.05 kB / 382.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.03086, allocations: 1.558 MB / 384.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.031, allocations: 205.6 kB / 384.6 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000124/0.03112, allocations: 60.27 kB / 384.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.03126, allocations: 138.2 kB / 384.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.03126, allocations: 0 / 384.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of Templates: time 0.008474/0.03973, allocations: 4.6 MB / 389.4 MB, free: 5.895 MB / 362.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.9673603139817715]