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.0008484/0.0008484, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0008839/0.0008839, allocations: 177 kB / 23.36 MB, free: 1.129 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.8792/0.8792, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.1103/0.1103, allocations: 21.8 MB / 282.1 MB, free: 7.055 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.984e-06/1.984e-06, allocations: 3.938 kB / 306 MB, free: 9.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.21e-05/1.409e-05, allocations: 8.422 kB / 306 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.004246/0.00426, allocations: 3.154 MB / 309.1 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.006387, allocations: 0.9144 MB / 310 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003889/0.006776, allocations: 23.81 kB / 310.1 MB, free: 6 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004675/0.007243, allocations: 158.3 kB / 310.2 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.00755, allocations: 110.9 kB / 310.3 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008491/0.008399, allocations: 443.5 kB / 310.8 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009896/0.009388, allocations: 1 MB / 311.8 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008172/0.01021, allocations: 0.4921 MB / 312.3 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005314/0.01074, allocations: 0.5612 MB / 312.8 MB, free: 3.199 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.01102, allocations: 286.8 kB / 313.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.01116, allocations: 116 kB / 313.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.01135, allocations: 140 kB / 313.3 MB, free: 2.668 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.0116, allocations: 322.9 kB / 313.7 MB, free: 2.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.01185, allocations: 322.9 kB / 314 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008032/0.01265, allocations: 0.801 MB / 314.8 MB, free: 1.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.01265, allocations: 4 kB / 314.8 MB, free: 1.227 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01265, allocations: 0 / 314.8 MB, free: 1.227 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.01266, allocations: 0 / 314.8 MB, free: 1.227 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.001796/0.01446, allocations: 1.31 MB / 316.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.01449, allocations: 12.03 kB / 316.1 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.0147, allocations: 184.7 kB / 316.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007238/0.01543, allocations: 0.4975 MB / 316.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.492e-05/0.0155, allocations: 82.58 kB / 316.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.01562, allocations: 116.3 kB / 317 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000933/0.01655, allocations: 0.7936 MB / 317.8 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.01657, allocations: 192 / 317.8 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-05/0.01663, allocations: 51.94 kB / 317.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.01666, allocations: 31.98 kB / 317.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004496/0.01711, allocations: 268.7 kB / 318.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003016/0.02012, allocations: 3.065 MB / 321.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.02051, allocations: 226.8 kB / 321.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.927e-05/0.02058, allocations: 49.34 kB / 321.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.757e-05/0.02063, allocations: 16.28 kB / 321.5 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.02066, allocations: 34.84 kB / 321.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 2.014e-06/0.02066, allocations: 0 / 321.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003679/0.02103, allocations: 203.7 kB / 321.7 MB, free: 9.996 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.02106, allocations: 67.34 kB / 321.8 MB, free: 9.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005037/0.02156, allocations: 0.5583 MB / 322.3 MB, free: 9.348 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.02159, allocations: 33.7 kB / 322.4 MB, free: 9.309 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005431/0.02213, allocations: 0.4975 MB / 322.9 MB, free: 8.805 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.967e-05/0.02222, allocations: 138.8 kB / 323 MB, free: 8.668 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.02234, allocations: 102.2 kB / 323.1 MB, free: 8.562 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.342e-05/0.02243, allocations: 333.9 kB / 323.4 MB, free: 8.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.346e-05/0.02253, allocations: 44.06 kB / 323.5 MB, free: 8.188 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.02269, allocations: 196.5 kB / 323.6 MB, free: 7.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.02301, allocations: 293.1 kB / 323.9 MB, free: 7.578 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.02301, allocations: 0 / 323.9 MB, free: 7.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.000412/0.02342, allocations: 300.6 kB / 324.2 MB, free: 7.277 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.02344, allocations: 4 kB / 324.2 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.02344, allocations: 8 kB / 324.2 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.02346, allocations: 7.938 kB / 324.2 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.02375, allocations: 99.83 kB / 324.3 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.02376, allocations: 12.47 kB / 324.4 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.02394, allocations: 51.61 kB / 324.4 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.02396, allocations: 24 kB / 324.4 MB, free: 7.074 MB / 298.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.0001737/0.02414, allocations: 143.2 kB / 324.6 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/0.02421, allocations: 47.95 kB / 324.6 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003832/0.02459, allocations: 229.9 kB / 324.8 MB, free: 6.637 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.0246, allocations: 7.938 kB / 324.8 MB, free: 6.629 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.0246, allocations: 8 kB / 324.9 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/0.02461, allocations: 7.969 kB / 324.9 MB, free: 6.613 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.02509, allocations: 381.9 kB / 325.2 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.02509, allocations: 3.938 kB / 325.2 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.02534, allocations: 55.97 kB / 325.3 MB, free: 6.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.02535, allocations: 0 / 325.3 MB, free: 6.164 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.02537, allocations: 15.98 kB / 325.3 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.02538, allocations: 3.938 kB / 325.3 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.02538, allocations: 0 / 325.3 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.0258, allocations: 392.2 kB / 325.7 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.02588, allocations: 75.36 kB / 325.8 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.02593, allocations: 15.98 kB / 325.8 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.02605, allocations: 4 kB / 325.8 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.0261, allocations: 27.89 kB / 325.8 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.02612, allocations: 4 kB / 325.8 MB, free: 5.621 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002753/0.02639, allocations: 264.5 kB / 326.1 MB, free: 5.367 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02639, allocations: 0 / 326.1 MB, free: 5.367 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004965/0.02689, allocations: 195 kB / 326.3 MB, free: 5.176 MB / 298.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.0001324/0.02702, allocations: 102.3 kB / 326.4 MB, free: 5.066 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.02732, allocations: 201.6 kB / 326.6 MB, free: 4.867 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/0.02733, allocations: 8 kB / 326.6 MB, free: 4.859 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.02745, allocations: 80.75 kB / 326.7 MB, free: 4.777 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.02785, allocations: 108.4 kB / 326.8 MB, free: 4.684 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.02983, allocations: 1.568 MB / 328.3 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.03001, allocations: 201.6 kB / 328.5 MB, free: 2.852 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001958/0.03021, allocations: 60.25 kB / 328.6 MB, free: 2.793 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.03039, allocations: 115.4 kB / 328.7 MB, free: 2.68 MB / 298.7 MB Notification: Performance of SimCode: time 9.51e-07/0.03039, allocations: 0 / 328.7 MB, free: 2.68 MB / 298.7 MB Notification: Performance of Templates: time 0.01141/0.0418, allocations: 4.627 MB / 333.3 MB, free: 14.12 MB / 314.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.6480098450556397]