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.001375/0.001375, allocations: 84.73 kB / 19.44 MB, free: 356 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.001532/0.001532, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.468/1.468, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.1954/0.1954, allocations: 21.79 MB / 281.4 MB, free: 7.199 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.324e-06/2.324e-06, allocations: 0 / 358 MB, free: 5.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.159e-05, allocations: 2.312 kB / 358.1 MB, free: 5.438 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.005171/0.005203, allocations: 3.14 MB / 361.2 MB, free: 2.289 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.007012, allocations: 0.8527 MB / 362 MB, free: 1.434 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.007325, allocations: 23.81 kB / 362.1 MB, free: 1.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004124/0.007738, allocations: 162.3 kB / 362.2 MB, free: 1.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.008061, allocations: 98.97 kB / 362.3 MB, free: 1.152 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009019/0.008963, allocations: 459.4 kB / 362.8 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.01015, allocations: 1 MB / 363.8 MB, free: 15.7 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008133/0.01096, allocations: 491.9 kB / 364.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006529/0.01161, allocations: 0.5495 MB / 364.8 MB, free: 14.63 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/0.01197, allocations: 286.8 kB / 365.1 MB, free: 14.35 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.01215, allocations: 116 kB / 365.2 MB, free: 14.24 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002603/0.01241, allocations: 144 kB / 365.3 MB, free: 14.1 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003669/0.01277, allocations: 326.8 kB / 365.7 MB, free: 13.78 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000341/0.01312, allocations: 322.8 kB / 366 MB, free: 13.46 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.01463, allocations: 1.261 MB / 367.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.01463, allocations: 0 / 367.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01464, allocations: 0 / 367.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.104e-05/0.01466, allocations: 0 / 367.2 MB, free: 12.2 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.00214/0.0168, allocations: 1.338 MB / 368.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.01683, allocations: 8.031 kB / 368.6 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003391/0.01717, allocations: 236 kB / 368.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.0183, allocations: 0.6692 MB / 369.5 MB, free: 9.883 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.894e-05/0.01839, allocations: 82.58 kB / 369.6 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.01856, allocations: 116.3 kB / 369.7 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.02052, allocations: 1.099 MB / 370.8 MB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.02054, allocations: 4.125 kB / 370.8 MB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.02065, allocations: 51.94 kB / 370.8 MB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/0.02069, allocations: 35.98 kB / 370.9 MB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.02205, allocations: 0.7027 MB / 371.6 MB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004817/0.02686, allocations: 3.672 MB / 375.2 MB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009527/0.02782, allocations: 439.8 kB / 375.7 MB, free: 3.453 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.02814, allocations: 182.2 kB / 375.8 MB, free: 3.273 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-05/0.02821, allocations: 20.27 kB / 375.9 MB, free: 3.254 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.02824, allocations: 38.78 kB / 375.9 MB, free: 3.207 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/0.02824, allocations: 0 / 375.9 MB, free: 3.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.001256/0.0295, allocations: 0.6592 MB / 376.6 MB, free: 2.543 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.02956, allocations: 59.45 kB / 376.6 MB, free: 2.473 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009491/0.03051, allocations: 0.6878 MB / 377.3 MB, free: 1.777 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.03055, allocations: 29.7 kB / 377.3 MB, free: 1.742 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005451/0.03109, allocations: 0.6011 MB / 377.9 MB, free: 1.133 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.03123, allocations: 134.9 kB / 378.1 MB, free: 1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.0314, allocations: 98.28 kB / 378.2 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.0316, allocations: 326 kB / 378.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/0.03198, allocations: 209.2 kB / 378.7 MB, free: 376 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005587/0.03254, allocations: 360.4 kB / 379 MB, free: 15.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009311/0.03347, allocations: 0.5718 MB / 379.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.03347, allocations: 0 / 379.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001219/0.03469, allocations: 0.6962 MB / 380.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.03472, allocations: 11.94 kB / 380.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.03473, allocations: 4 kB / 380.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.171e-05/0.03476, allocations: 8 kB / 380.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/0.03516, allocations: 99.83 kB / 380.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/0.03518, allocations: 11.94 kB / 380.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.03544, allocations: 43.67 kB / 380.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.03548, allocations: 27.98 kB / 380.5 MB, free: 14.41 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.0004217/0.0359, allocations: 276.4 kB / 380.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.03604, allocations: 91.42 kB / 380.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.03709, allocations: 0.5246 MB / 381.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.03709, allocations: 0 / 381.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.0371, allocations: 4 kB / 381.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.0371, allocations: 3.984 kB / 381.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009375/0.03804, allocations: 0.6296 MB / 382 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.03804, allocations: 0 / 382 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/0.03843, allocations: 71.89 kB / 382.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.03843, allocations: 0 / 382.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.03847, allocations: 11.94 kB / 382.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.03847, allocations: 0 / 382.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.03847, allocations: 4 kB / 382.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.03982, allocations: 0.8524 MB / 383 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.03993, allocations: 75.45 kB / 383 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.059e-05/0.03999, allocations: 11.94 kB / 383.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.04018, allocations: 8 kB / 383.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/0.04025, allocations: 31.75 kB / 383.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.04028, allocations: 8 kB / 383.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006453/0.04093, allocations: 475 kB / 383.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04093, allocations: 0 / 383.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005924/0.04152, allocations: 191 kB / 383.7 MB, free: 11.1 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.0002134/0.04173, allocations: 121.3 kB / 383.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008615/0.0426, allocations: 463.6 kB / 384.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.0426, allocations: 0 / 384.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.04297, allocations: 220.9 kB / 384.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000606/0.04357, allocations: 92.94 kB / 384.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.04642, allocations: 1.753 MB / 386.4 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006033/0.04702, allocations: 482.2 kB / 386.9 MB, free: 7.926 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002285/0.04725, allocations: 64.25 kB / 386.9 MB, free: 7.859 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.04735, allocations: 36.5 kB / 386.9 MB, free: 7.824 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.04735, allocations: 0 / 386.9 MB, free: 7.824 MB / 362.7 MB Notification: Performance of Templates: time 0.0115/0.05885, allocations: 4.235 MB / 391.2 MB, free: 3.641 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=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.544922351022251]