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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(SystemDynamics.WorldDynamics.World3.Human_Fertility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility") translateModel(SystemDynamics.WorldDynamics.World3.Human_Fertility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008056/0.0008057, allocations: 91.86 kB / 15.36 MB, free: 0.7422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005819/0.005819, allocations: 179.3 kB / 16.26 MB, free: 6.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 223.3 MB / 240.3 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.34/0.34, allocations: 28.83 MB / 320.3 MB, free: 6.195 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000296/0.000296, allocations: 8 kB / 388.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3204, allocations: 57.48 MB / 446 MB, free: 32.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.003273/0.3237, allocations: 3.234 MB / 449.2 MB, free: 30.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.3258, allocations: 0.7989 MB / 450 MB, free: 29.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004075/0.3262, allocations: 15.09 kB / 450 MB, free: 29.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004561/0.3267, allocations: 119.3 kB / 450.1 MB, free: 29.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.327, allocations: 68.52 kB / 450.2 MB, free: 29.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007869/0.3278, allocations: 395.8 kB / 450.6 MB, free: 29.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008752/0.3287, allocations: 0.9385 MB / 451.5 MB, free: 28.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009822/0.3297, allocations: 0.6654 MB / 452.2 MB, free: 28.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002374/0.3299, allocations: 216.4 kB / 452.4 MB, free: 28.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.3302, allocations: 284 kB / 452.7 MB, free: 28.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.321e-05/0.3302, allocations: 21.47 kB / 452.7 MB, free: 28.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.3304, allocations: 45.33 kB / 452.7 MB, free: 28.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.3306, allocations: 189.7 kB / 452.9 MB, free: 28.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.3309, allocations: 446.3 kB / 453.4 MB, free: 27.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000676/0.3316, allocations: 1.075 MB / 454.4 MB, free: 27.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3316, allocations: 0 / 454.4 MB, free: 27.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3316, allocations: 0 / 454.4 MB, free: 27.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.3316, allocations: 0 / 454.4 MB, free: 27.37 MB / 350.1 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.001374/0.333, allocations: 1.161 MB / 455.6 MB, free: 26.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.333, allocations: 8.656 kB / 455.6 MB, free: 26.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.3332, allocations: 138.6 kB / 455.7 MB, free: 26.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007421/0.334, allocations: 0.6909 MB / 456.4 MB, free: 25.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.029e-05/0.3341, allocations: 89.83 kB / 456.5 MB, free: 25.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.3342, allocations: 113.9 kB / 456.6 MB, free: 25.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.3359, allocations: 1.099 MB / 457.7 MB, free: 25.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.3359, allocations: 3.938 kB / 457.7 MB, free: 25.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.187e-05/0.336, allocations: 51.25 kB / 457.8 MB, free: 25.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-05/0.336, allocations: 29.09 kB / 457.8 MB, free: 25.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.3371, allocations: 0.7085 MB / 458.5 MB, free: 25.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003428/0.3405, allocations: 4.152 MB / 462.7 MB, free: 22.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008562/0.3414, allocations: 466.7 kB / 463.1 MB, free: 21.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/0.3417, allocations: 194 kB / 463.3 MB, free: 21.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.988e-05/0.3418, allocations: 18.22 kB / 463.3 MB, free: 21.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.3418, allocations: 37.56 kB / 463.4 MB, free: 21.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.743e-06/0.3418, allocations: 0 / 463.4 MB, free: 21.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.001003/0.3428, allocations: 0.6528 MB / 464 MB, free: 21.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.3428, allocations: 58.91 kB / 464.1 MB, free: 21.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007725/0.3436, allocations: 0.6741 MB / 464.8 MB, free: 21.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.3437, allocations: 31.11 kB / 464.8 MB, free: 21.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000285/0.3439, allocations: 0.5843 MB / 465.4 MB, free: 20.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.537e-05/0.344, allocations: 135.2 kB / 465.5 MB, free: 20.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/0.3441, allocations: 49.86 kB / 465.6 MB, free: 20.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.957e-05/0.3442, allocations: 331.6 kB / 465.9 MB, free: 20.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.3445, allocations: 206.6 kB / 466.1 MB, free: 20.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.3449, allocations: 358.6 kB / 466.4 MB, free: 20.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/0.3456, allocations: 0.5847 MB / 467 MB, free: 19.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.3456, allocations: 6.188 kB / 467 MB, free: 19.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009267/0.3466, allocations: 0.6724 MB / 467.7 MB, free: 19.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3466, allocations: 7.031 kB / 467.7 MB, free: 19.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3466, allocations: 4.5 kB / 467.7 MB, free: 19.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.3466, allocations: 12.08 kB / 467.7 MB, free: 19.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.347, allocations: 105.8 kB / 467.8 MB, free: 19.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.347, allocations: 11.94 kB / 467.8 MB, free: 19.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.3472, allocations: 64.22 kB / 467.9 MB, free: 19.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.3473, allocations: 21.47 kB / 467.9 MB, free: 19.36 MB / 350.1 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.0003424/0.3476, allocations: 280.6 kB / 468.2 MB, free: 19.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.001e-05/0.3477, allocations: 65.44 kB / 468.3 MB, free: 19.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008597/0.3486, allocations: 0.5432 MB / 468.8 MB, free: 18.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.3486, allocations: 8.797 kB / 468.8 MB, free: 18.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3486, allocations: 0 / 468.8 MB, free: 18.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3486, allocations: 2.828 kB / 468.8 MB, free: 18.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.3497, allocations: 0.8427 MB / 469.7 MB, free: 18.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3497, allocations: 4.844 kB / 469.7 MB, free: 18.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/0.35, allocations: 65.09 kB / 469.7 MB, free: 18.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.35, allocations: 5.438 kB / 469.7 MB, free: 18.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.3501, allocations: 12.42 kB / 469.7 MB, free: 18.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3501, allocations: 6.469 kB / 469.7 MB, free: 18.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3501, allocations: 0 / 469.7 MB, free: 18.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.3512, allocations: 0.8487 MB / 470.6 MB, free: 18.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.3513, allocations: 144.9 kB / 470.7 MB, free: 17.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/0.3514, allocations: 11.88 kB / 470.8 MB, free: 17.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.3516, allocations: 10.69 kB / 470.8 MB, free: 17.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.3517, allocations: 28.22 kB / 470.8 MB, free: 17.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.3517, allocations: 11.44 kB / 470.8 MB, free: 17.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006039/0.3523, allocations: 475.7 kB / 471.3 MB, free: 17.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3523, allocations: 0 / 471.3 MB, free: 17.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006721/0.353, allocations: 196.9 kB / 471.5 MB, free: 17.67 MB / 350.1 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.000173/0.3532, allocations: 111.1 kB / 471.6 MB, free: 17.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008348/0.354, allocations: 0.4884 MB / 472.1 MB, free: 17.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.354, allocations: 0 / 472.1 MB, free: 17.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003788/0.3544, allocations: 223.7 kB / 472.3 MB, free: 17.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006716/0.3551, allocations: 105.6 kB / 472.4 MB, free: 17.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.358, allocations: 2.312 MB / 474.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/0.3587, allocations: 1.065 MB / 475.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002411/0.359, allocations: 58.95 kB / 475.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.675e-05/0.3591, allocations: 37.92 kB / 475.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3591, allocations: 0 / 475.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of Templates: time 0.01073/0.3698, allocations: 4.346 MB / 480.2 MB, free: 14.69 MB / 350.1 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: