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.0009463/0.0009463, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001064/0.001064, allocations: 169 kB / 23.02 MB, free: 1.539 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.9813/0.9813, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.1199/0.1199, allocations: 21.8 MB / 281.7 MB, free: 7.176 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.974e-06/1.974e-06, allocations: 0 / 358.8 MB, free: 5.07 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.188e-05, allocations: 5.406 kB / 358.8 MB, free: 5.066 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.003643/0.003665, allocations: 3.254 MB / 362 MB, free: 1.801 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.005304, allocations: 0.8644 MB / 362.9 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004137/0.005718, allocations: 23.81 kB / 362.9 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.006052, allocations: 158.3 kB / 363.1 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.006262, allocations: 102.9 kB / 363.2 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007821/0.007044, allocations: 451.5 kB / 363.6 MB, free: 216 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.008061, allocations: 1 MB / 364.6 MB, free: 15.2 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005433/0.008605, allocations: 491.9 kB / 365.1 MB, free: 14.69 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003873/0.008992, allocations: 0.5534 MB / 365.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.009201, allocations: 282.8 kB / 365.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.009308, allocations: 116 kB / 366 MB, free: 13.75 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.009487, allocations: 159.9 kB / 366.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.00967, allocations: 314.9 kB / 366.5 MB, free: 13.28 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.009841, allocations: 322.9 kB / 366.8 MB, free: 12.96 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007546/0.0106, allocations: 0.8088 MB / 367.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.0106, allocations: 0 / 367.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.0106, allocations: 4 kB / 367.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.025e-05/0.01062, allocations: 0 / 367.6 MB, free: 12.15 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.001369/0.01199, allocations: 1.43 MB / 369.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.01203, allocations: 12.03 kB / 369.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.01225, allocations: 236 kB / 369.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006274/0.01288, allocations: 0.668 MB / 370 MB, free: 9.734 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.798e-05/0.01293, allocations: 86.58 kB / 370.1 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.028e-05/0.01302, allocations: 120.3 kB / 370.2 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009089/0.01393, allocations: 0.884 MB / 371.1 MB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.01395, allocations: 4.188 kB / 371.1 MB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.014, allocations: 43.94 kB / 371.1 MB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.01402, allocations: 28 kB / 371.1 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005052/0.01452, allocations: 363.7 kB / 371.5 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002923/0.01744, allocations: 4.526 MB / 376 MB, free: 3.398 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.01787, allocations: 217.1 kB / 376.2 MB, free: 3.176 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.452e-05/0.01796, allocations: 60.22 kB / 376.3 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.978e-05/0.01801, allocations: 24.27 kB / 376.3 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.01804, allocations: 37.67 kB / 376.3 MB, free: 3.043 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 2.524e-06/0.01804, allocations: 4 kB / 376.3 MB, free: 3.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.000454/0.0185, allocations: 311.2 kB / 376.7 MB, free: 2.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.01853, allocations: 59.45 kB / 376.7 MB, free: 2.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/0.01901, allocations: 0.6555 MB / 377.4 MB, free: 1.992 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.01904, allocations: 33.7 kB / 377.4 MB, free: 1.953 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.01935, allocations: 0.6545 MB / 378.1 MB, free: 1.289 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.759e-05/0.01942, allocations: 134.9 kB / 378.2 MB, free: 1.156 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.916e-05/0.01952, allocations: 108 kB / 378.3 MB, free: 1.043 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.01963, allocations: 0.4926 MB / 378.8 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.01974, allocations: 61.27 kB / 378.8 MB, free: 492 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.01992, allocations: 267.9 kB / 379.1 MB, free: 136 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.02026, allocations: 365.1 kB / 379.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.02027, allocations: 4 kB / 379.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004581/0.02073, allocations: 424.9 kB / 379.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.02074, allocations: 7.938 kB / 379.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.02075, allocations: 8 kB / 379.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.02077, allocations: 4 kB / 379.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.02099, allocations: 103.8 kB / 380 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.021, allocations: 15.92 kB / 380 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.02113, allocations: 55.56 kB / 380.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.02115, allocations: 20 kB / 380.1 MB, free: 15.05 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 (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.0001608/0.02131, allocations: 195.3 kB / 380.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.02138, allocations: 83.47 kB / 380.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.02176, allocations: 297.1 kB / 380.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.02177, allocations: 4 kB / 380.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.02177, allocations: 0 / 380.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.02178, allocations: 3.984 kB / 380.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.02227, allocations: 0.5509 MB / 381.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.02227, allocations: 4 kB / 381.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.02246, allocations: 63.91 kB / 381.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.02247, allocations: 7.984 kB / 381.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.02249, allocations: 19.92 kB / 381.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.0225, allocations: 4 kB / 381.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.0225, allocations: 0 / 381.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.02294, allocations: 497.5 kB / 381.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.02299, allocations: 63.45 kB / 381.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.02303, allocations: 15.94 kB / 381.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.02319, allocations: 8 kB / 381.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.02325, allocations: 31.89 kB / 381.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.02326, allocations: 8 kB / 381.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002864/0.02355, allocations: 418.9 kB / 382.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02355, allocations: 0 / 382.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003844/0.02394, allocations: 195 kB / 382.5 MB, free: 12.55 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.0001727/0.02411, allocations: 109.2 kB / 382.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003101/0.02442, allocations: 232.9 kB / 382.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.02442, allocations: 0 / 382.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.02453, allocations: 111.4 kB / 383 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.02488, allocations: 104.3 kB / 383.1 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.02646, allocations: 1.573 MB / 384.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.02658, allocations: 197.6 kB / 384.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.02671, allocations: 56.25 kB / 384.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.02677, allocations: 44.48 kB / 384.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.02678, allocations: 0 / 384.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of Templates: time 0.007892/0.03467, allocations: 4.442 MB / 389.4 MB, free: 5.68 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: 3.077546803280711]