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.0009423/0.0009423, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009319/0.0009319, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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.96/0.96, allocations: 177.1 MB / 204.5 MB, free: 5.301 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.1299/0.1299, allocations: 21.8 MB / 282.8 MB, free: 6.871 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.245e-06/2.245e-06, allocations: 0 / 360 MB, free: 4.816 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.485e-05, allocations: 6.25 kB / 360 MB, free: 4.809 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.003091/0.003116, allocations: 3.179 MB / 363.2 MB, free: 1.621 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.00425, allocations: 0.8527 MB / 364 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002754/0.004526, allocations: 23.81 kB / 364.1 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.004815, allocations: 158.4 kB / 364.2 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.005023, allocations: 106.9 kB / 364.3 MB, free: 492 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005914/0.005614, allocations: 455.5 kB / 364.8 MB, free: 36 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006499/0.006264, allocations: 1.012 MB / 365.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004722/0.006737, allocations: 479.9 kB / 366.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000352/0.007089, allocations: 0.5457 MB / 366.8 MB, free: 13.97 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.007286, allocations: 290.8 kB / 367.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.349e-05/0.007379, allocations: 119.9 kB / 367.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.007524, allocations: 144 kB / 367.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.007698, allocations: 322.8 kB / 367.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.00787, allocations: 326.9 kB / 368 MB, free: 12.79 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005806/0.008451, allocations: 0.8049 MB / 368.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.008453, allocations: 0 / 368.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.008454, allocations: 0 / 368.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.008462, allocations: 0 / 368.8 MB, free: 11.98 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.00112/0.009582, allocations: 1.449 MB / 370.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.009611, allocations: 12.03 kB / 370.2 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.009788, allocations: 232 kB / 370.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005496/0.01034, allocations: 0.668 MB / 371.1 MB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.862e-05/0.01039, allocations: 86.52 kB / 371.2 MB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.423e-05/0.01047, allocations: 120.3 kB / 371.3 MB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006662/0.01114, allocations: 0.8214 MB / 372.1 MB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.01116, allocations: 8.109 kB / 372.2 MB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/0.0112, allocations: 51.94 kB / 372.2 MB, free: 8.344 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.01122, allocations: 28 kB / 372.2 MB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.01151, allocations: 289.8 kB / 372.5 MB, free: 8.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.01396, allocations: 4.37 MB / 376.9 MB, free: 3.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.01424, allocations: 205 kB / 377.1 MB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.0143, allocations: 52.22 kB / 377.1 MB, free: 3.234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.01434, allocations: 24.27 kB / 377.2 MB, free: 3.211 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.01436, allocations: 37.67 kB / 377.2 MB, free: 3.164 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 1.433e-06/0.01436, allocations: 8 kB / 377.2 MB, free: 3.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003167/0.01468, allocations: 279.2 kB / 377.5 MB, free: 2.879 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.0147, allocations: 67.27 kB / 377.5 MB, free: 2.801 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/0.01511, allocations: 0.6474 MB / 378.2 MB, free: 2.141 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.01513, allocations: 29.7 kB / 378.2 MB, free: 2.105 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.01541, allocations: 0.6623 MB / 378.9 MB, free: 1.434 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/0.01547, allocations: 126.9 kB / 379 MB, free: 1.309 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.475e-05/0.01557, allocations: 115.9 kB / 379.1 MB, free: 1.188 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.01567, allocations: 0.4887 MB / 379.6 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.914e-05/0.01574, allocations: 49.27 kB / 379.7 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.01589, allocations: 268.4 kB / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.01614, allocations: 337.3 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.01615, allocations: 4 kB / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003482/0.0165, allocations: 392.5 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.01651, allocations: 8 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.01652, allocations: 11.92 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.01653, allocations: 8.625 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.01672, allocations: 95.84 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.01673, allocations: 15.98 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.01684, allocations: 55.5 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.01686, allocations: 23.83 kB / 380.8 MB, free: 15.27 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.0001503/0.01701, allocations: 187.1 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/0.01707, allocations: 83.53 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.01739, allocations: 285.1 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.01739, allocations: 4 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.01739, allocations: 0 / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.0174, allocations: 3.984 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.01779, allocations: 428.6 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01779, allocations: 0 / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.01797, allocations: 63.91 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.01798, allocations: 4 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.01799, allocations: 11.98 kB / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.018, allocations: 0 / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.018, allocations: 3.938 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.01837, allocations: 481.4 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.01842, allocations: 63.47 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.01845, allocations: 15.98 kB / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.01853, allocations: 4 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.01857, allocations: 31.89 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.01858, allocations: 4 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000218/0.0188, allocations: 390.8 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0188, allocations: 0 / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003203/0.01912, allocations: 195 kB / 383.1 MB, free: 12.99 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.0001091/0.01923, allocations: 117.2 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.01945, allocations: 204.5 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.01946, allocations: 1.25 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.853e-05/0.01954, allocations: 99.36 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.01987, allocations: 100.4 kB / 383.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.02123, allocations: 1.556 MB / 385.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.02135, allocations: 197.6 kB / 385.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.02148, allocations: 68.17 kB / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.02162, allocations: 142.2 kB / 385.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02162, allocations: 0 / 385.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of Templates: time 0.008283/0.0299, allocations: 4.707 MB / 390.2 MB, free: 5.789 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.0302078439854085]