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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 106.7 kB / 18.19 MB, free: 4.02 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 184.5 kB / 21.33 MB, free: 0.8789 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 249.9 MB, free: 3.066 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2344/0.2344, allocations: 29.23 MB / 334.3 MB, free: 304 kB / 254.1 MB [Timeout remaining time 90] 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=500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility") translateModel(SystemDynamics.WorldDynamics.World3.Human_Fertility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 70.94 kB / 468.4 MB, free: 35.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1341, allocations: 59.55 MB / 0.5156 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.005569/0.1397, allocations: 3.733 MB / 0.5192 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.1416, allocations: 0.8683 MB / 0.5201 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003593/0.142, allocations: 15.94 kB / 0.5201 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004199/0.1424, allocations: 166.3 kB / 0.5202 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.1427, allocations: 114.9 kB / 0.5203 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008745/0.1436, allocations: 451.5 kB / 0.5208 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001297/0.1449, allocations: 1.027 MB / 0.5218 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008734/0.1458, allocations: 0.5111 MB / 0.5223 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004191/0.1462, allocations: 362.4 kB / 0.5226 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004255/0.1466, allocations: 429.5 kB / 0.523 GB, free: 5.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.1468, allocations: 120 kB / 0.5231 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.147, allocations: 144 kB / 0.5233 GB, free: 5.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003411/0.1474, allocations: 314.9 kB / 0.5236 GB, free: 5.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005029/0.1479, allocations: 0.5436 MB / 0.5241 GB, free: 4.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.1495, allocations: 1.275 MB / 0.5254 GB, free: 3.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1496, allocations: 0 / 0.5254 GB, free: 3.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.1496, allocations: 0 / 0.5254 GB, free: 3.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.1496, allocations: 0 / 0.5254 GB, free: 3.219 MB / 382.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.002333/0.1519, allocations: 1.423 MB / 0.5267 GB, free: 1.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.152, allocations: 11.97 kB / 0.5268 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/0.1522, allocations: 148 kB / 0.5269 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.1533, allocations: 0.7185 MB / 0.5276 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.143e-05/0.1534, allocations: 86.58 kB / 0.5277 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.1536, allocations: 116.4 kB / 0.5278 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.1554, allocations: 1.09 MB / 0.5289 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.1554, allocations: 4 kB / 0.5289 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-05/0.1555, allocations: 44 kB / 0.5289 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.048e-05/0.1555, allocations: 28 kB / 0.5289 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.1568, allocations: 0.7105 MB / 0.5296 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004797/0.1616, allocations: 4.1 MB / 0.5336 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008925/0.1625, allocations: 454.4 kB / 0.5341 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/0.1628, allocations: 189.3 kB / 0.5342 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.307e-05/0.1629, allocations: 20.27 kB / 0.5343 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.1629, allocations: 30.84 kB / 0.5343 GB, free: 9.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.746e-06/0.1629, allocations: 3.938 kB / 0.5343 GB, free: 9.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.001131/0.164, allocations: 0.6514 MB / 0.5349 GB, free: 9.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.1641, allocations: 59.34 kB / 0.535 GB, free: 8.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008393/0.1649, allocations: 0.6685 MB / 0.5356 GB, free: 8.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.165, allocations: 33.7 kB / 0.5357 GB, free: 8.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004929/0.1654, allocations: 0.6049 MB / 0.5363 GB, free: 7.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.1656, allocations: 134.9 kB / 0.5364 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.1658, allocations: 98.2 kB / 0.5365 GB, free: 7.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.166, allocations: 330 kB / 0.5368 GB, free: 7.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.1663, allocations: 205 kB / 0.537 GB, free: 6.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000453/0.1667, allocations: 355.5 kB / 0.5373 GB, free: 6.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008164/0.1676, allocations: 0.5835 MB / 0.5379 GB, free: 5.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1676, allocations: 0 / 0.5379 GB, free: 5.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001056/0.1686, allocations: 0.6686 MB / 0.5386 GB, free: 5.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.1686, allocations: 8 kB / 0.5386 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1687, allocations: 4 kB / 0.5386 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.1687, allocations: 8 kB / 0.5386 GB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.1691, allocations: 99.83 kB / 0.5387 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.1691, allocations: 15.92 kB / 0.5387 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.1693, allocations: 48.11 kB / 0.5387 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.1694, allocations: 24 kB / 0.5388 GB, free: 4.941 MB / 398.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.0004489/0.1698, allocations: 288.3 kB / 0.539 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.1699, allocations: 71.48 kB / 0.5391 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009824/0.1709, allocations: 0.5317 MB / 0.5396 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1709, allocations: 4 kB / 0.5396 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1709, allocations: 4 kB / 0.5396 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1709, allocations: 0 / 0.5396 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.172, allocations: 0.8484 MB / 0.5405 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.1721, allocations: 3.984 kB / 0.5405 GB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.1724, allocations: 63.91 kB / 0.5405 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.1724, allocations: 4 kB / 0.5405 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.1724, allocations: 12 kB / 0.5405 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1724, allocations: 0 / 0.5405 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1724, allocations: 4 kB / 0.5405 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.1736, allocations: 0.8439 MB / 0.5414 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.1737, allocations: 144.6 kB / 0.5415 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.1738, allocations: 12 kB / 0.5415 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.1739, allocations: 8 kB / 0.5415 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.174, allocations: 23.97 kB / 0.5415 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.174, allocations: 12 kB / 0.5416 GB, free: 1.969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000584/0.1746, allocations: 471.2 kB / 0.542 GB, free: 1.516 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1746, allocations: 0 / 0.542 GB, free: 1.516 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006106/0.1752, allocations: 206.9 kB / 0.5422 GB, free: 1.312 MB / 398.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.0002334/0.1755, allocations: 117 kB / 0.5423 GB, free: 1.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008504/0.1763, allocations: 475.9 kB / 0.5428 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1763, allocations: 0 / 0.5428 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003201/0.1766, allocations: 211.8 kB / 0.543 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006018/0.1772, allocations: 114.6 kB / 0.5431 GB, free: 416 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.1803, allocations: 1.846 MB / 0.5449 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008288/0.1812, allocations: 1.069 MB / 0.5459 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.1813, allocations: 39.44 kB / 0.546 GB, free: 13.39 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1813, allocations: 0 / 0.546 GB, free: 13.39 MB / 414.1 MB Notification: Performance of Templates: time 0.01524/0.1965, allocations: 8.965 MB / 0.5547 GB, free: 4.426 MB / 414.1 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]