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.001776/0.001776, allocations: 88.16 kB / 19.44 MB, free: 188 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.00195/0.00195, allocations: 165.3 kB / 22.77 MB, free: 1.512 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.524/1.524, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.2019/0.2019, allocations: 21.8 MB / 281.4 MB, free: 7.227 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.385e-06/2.385e-06, allocations: 0 / 358 MB, free: 5.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.385e-05/3.624e-05, allocations: 5.688 kB / 358 MB, free: 5.441 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.005378/0.005414, allocations: 3.219 MB / 361.3 MB, free: 2.211 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.007236, allocations: 0.8488 MB / 362.1 MB, free: 1.359 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003462/0.007583, allocations: 27.81 kB / 362.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004254/0.008008, allocations: 166.3 kB / 362.3 MB, free: 1.168 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.008321, allocations: 94.97 kB / 362.4 MB, free: 1.074 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008762/0.009198, allocations: 459.4 kB / 362.8 MB, free: 0.625 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.01039, allocations: 1 MB / 363.8 MB, free: 15.62 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008008/0.01119, allocations: 491.8 kB / 364.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006431/0.01183, allocations: 0.5456 MB / 364.9 MB, free: 14.56 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003515/0.01218, allocations: 286.8 kB / 365.2 MB, free: 14.28 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.01235, allocations: 116 kB / 365.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.0126, allocations: 148 kB / 365.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003441/0.01294, allocations: 322.8 kB / 365.7 MB, free: 13.7 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003417/0.01328, allocations: 322.9 kB / 366 MB, free: 13.39 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.01475, allocations: 1.265 MB / 367.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.01476, allocations: 0 / 367.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01476, allocations: 0 / 367.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.01477, allocations: 0 / 367.3 MB, free: 12.12 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.002308/0.01708, allocations: 1.543 MB / 368.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.01711, allocations: 8.031 kB / 368.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003321/0.01744, allocations: 236 kB / 369.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.01852, allocations: 0.6681 MB / 369.8 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.648e-05/0.01861, allocations: 86.58 kB / 369.8 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/0.01877, allocations: 120.3 kB / 370 MB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.02065, allocations: 1.122 MB / 371.1 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.02067, allocations: 192 / 371.1 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.192e-05/0.02076, allocations: 51.94 kB / 371.1 MB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/0.0208, allocations: 28 kB / 371.2 MB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.02194, allocations: 0.5387 MB / 371.7 MB, free: 7.523 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005858/0.0278, allocations: 5.087 MB / 376.8 MB, free: 2.277 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007425/0.02854, allocations: 304.3 kB / 377.1 MB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.02877, allocations: 105 kB / 377.2 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.002e-05/0.02884, allocations: 20.2 kB / 377.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.02888, allocations: 41.67 kB / 377.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.02888, allocations: 0 / 377.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009248/0.0298, allocations: 431.1 kB / 377.7 MB, free: 1.367 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.02985, allocations: 59.34 kB / 377.7 MB, free: 1.297 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.03098, allocations: 0.8432 MB / 378.6 MB, free: 452 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.03102, allocations: 37.7 kB / 378.6 MB, free: 408 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006558/0.03167, allocations: 0.6898 MB / 379.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.03183, allocations: 150.9 kB / 379.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.03203, allocations: 132 kB / 379.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003125/0.03234, allocations: 0.516 MB / 380.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.03262, allocations: 121.3 kB / 380.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004916/0.03311, allocations: 359.9 kB / 380.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000785/0.0339, allocations: 0.4971 MB / 381.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.0339, allocations: 0 / 381.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009775/0.03488, allocations: 0.5356 MB / 381.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.0349, allocations: 11.94 kB / 381.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.03492, allocations: 4.625 kB / 381.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.03494, allocations: 8 kB / 381.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.03532, allocations: 103.8 kB / 381.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.03534, allocations: 15.94 kB / 381.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.03558, allocations: 43.67 kB / 381.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/0.03561, allocations: 24 kB / 381.8 MB, free: 12.99 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.0003663/0.03598, allocations: 271 kB / 382.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.03612, allocations: 99.41 kB / 382.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008172/0.03693, allocations: 369.2 kB / 382.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.03694, allocations: 4 kB / 382.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.03694, allocations: 0 / 382.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.03695, allocations: 3.984 kB / 382.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.03807, allocations: 0.7619 MB / 383.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.03807, allocations: 3.938 kB / 383.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.03843, allocations: 67.91 kB / 383.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.03843, allocations: 3.984 kB / 383.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.03847, allocations: 15.94 kB / 383.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.168e-05/0.03848, allocations: 8 kB / 383.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/0.03849, allocations: 7.938 kB / 383.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.03952, allocations: 0.6225 MB / 384 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.03965, allocations: 67.45 kB / 384.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.23e-05/0.03971, allocations: 11.94 kB / 384.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.03988, allocations: 12 kB / 384.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.03996, allocations: 23.81 kB / 384.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.03998, allocations: 12 kB / 384.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006516/0.04063, allocations: 0.4951 MB / 384.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.04063, allocations: 0 / 384.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005725/0.04121, allocations: 195 kB / 384.8 MB, free: 9.891 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.0002084/0.04141, allocations: 117.1 kB / 384.9 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007039/0.04212, allocations: 341.8 kB / 385.3 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.04212, allocations: 8.062 kB / 385.3 MB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.04242, allocations: 159.4 kB / 385.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005892/0.04301, allocations: 92.62 kB / 385.5 MB, free: 9.176 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.04567, allocations: 1.635 MB / 387.2 MB, free: 7.496 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005767/0.04625, allocations: 474.2 kB / 387.6 MB, free: 7.004 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002126/0.04646, allocations: 60.23 kB / 387.7 MB, free: 6.945 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.04657, allocations: 44.5 kB / 387.7 MB, free: 6.902 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.04657, allocations: 0 / 387.7 MB, free: 6.902 MB / 362.7 MB Notification: Performance of Templates: time 0.01164/0.05821, allocations: 4.206 MB / 391.9 MB, free: 2.742 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: 4.800974517012946]