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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 103.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1949/0.1949, allocations: 29.23 MB / 331.9 MB, free: 0.918 MB / 254.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(SystemDynamics.WorldDynamics.World3.Human_Fertility,fileNamePrefix="SystemDynamics_SystemDynamics_WorldDynamics_World3_Human_Fertility",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(SystemDynamics.WorldDynamics.World3.Human_Fertility,fileNamePrefix="SystemDynamics_SystemDynamics_WorldDynamics_World3_Human_Fertility",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 68.55 kB / 464.7 MB, free: 35.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.122, allocations: 59.56 MB / 0.5119 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.005777/0.1278, allocations: 3.729 MB / 0.5156 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002494/0.1303, allocations: 0.8723 MB / 0.5164 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.1313, allocations: 19.88 kB / 0.5165 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007338/0.132, allocations: 158.3 kB / 0.5166 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008245/0.1329, allocations: 114.9 kB / 0.5167 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.1342, allocations: 451.5 kB / 0.5171 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.1357, allocations: 1.023 MB / 0.5181 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008024/0.1365, allocations: 0.5072 MB / 0.5186 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003903/0.1369, allocations: 374.3 kB / 0.519 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004072/0.1373, allocations: 429.5 kB / 0.5194 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.1374, allocations: 116 kB / 0.5195 GB, free: 6.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.1377, allocations: 148 kB / 0.5197 GB, free: 6.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003099/0.138, allocations: 306.9 kB / 0.52 GB, free: 6.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004658/0.1384, allocations: 0.5436 MB / 0.5205 GB, free: 5.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.1399, allocations: 1.275 MB / 0.5217 GB, free: 4.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1399, allocations: 0 / 0.5217 GB, free: 4.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.14, allocations: 4 kB / 0.5217 GB, free: 4.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.14, allocations: 0 / 0.5217 GB, free: 4.52 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.002056/0.142, allocations: 1.417 MB / 0.5231 GB, free: 3.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.1421, allocations: 12.03 kB / 0.5231 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000232/0.1423, allocations: 167.3 kB / 0.5233 GB, free: 2.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.1425, allocations: 148 kB / 0.5234 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.1436, allocations: 0.7185 MB / 0.5241 GB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.284e-05/0.1437, allocations: 82.58 kB / 0.5242 GB, free: 1.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.1438, allocations: 116.3 kB / 0.5243 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.1455, allocations: 1.098 MB / 0.5254 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.1456, allocations: 3.938 kB / 0.5254 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.087e-05/0.1457, allocations: 48 kB / 0.5254 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/0.1457, allocations: 31.94 kB / 0.5255 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.1469, allocations: 0.7105 MB / 0.5262 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00481/0.1517, allocations: 4.112 MB / 0.5302 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008843/0.1526, allocations: 443.2 kB / 0.5306 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/0.1529, allocations: 181.3 kB / 0.5308 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.893e-05/0.1529, allocations: 16.27 kB / 0.5308 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.153, allocations: 46.77 kB / 0.5308 GB, free: 10.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/0.153, allocations: 4 kB / 0.5308 GB, free: 10.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.001115/0.1541, allocations: 0.6398 MB / 0.5315 GB, free: 10.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.1542, allocations: 59.34 kB / 0.5315 GB, free: 10.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008455/0.155, allocations: 0.6646 MB / 0.5322 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/0.155, allocations: 37.7 kB / 0.5322 GB, free: 9.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004465/0.1555, allocations: 0.6049 MB / 0.5328 GB, free: 8.766 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.1556, allocations: 134.8 kB / 0.5329 GB, free: 8.633 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.1558, allocations: 102.2 kB / 0.533 GB, free: 8.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1559, allocations: 326 kB / 0.5333 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.1563, allocations: 209 kB / 0.5335 GB, free: 7.996 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004539/0.1567, allocations: 355.4 kB / 0.5339 GB, free: 7.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008092/0.1575, allocations: 0.5797 MB / 0.5344 GB, free: 6.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.1575, allocations: 4 kB / 0.5344 GB, free: 6.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001022/0.1586, allocations: 0.6606 MB / 0.5351 GB, free: 6.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.1586, allocations: 11.94 kB / 0.5351 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.1586, allocations: 4 kB / 0.5351 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.1586, allocations: 8.625 kB / 0.5351 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.159, allocations: 103.8 kB / 0.5352 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.159, allocations: 8 kB / 0.5352 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.1592, allocations: 55.61 kB / 0.5353 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.1593, allocations: 28 kB / 0.5353 GB, free: 6.055 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.0004088/0.1597, allocations: 280.3 kB / 0.5356 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.1598, allocations: 71.53 kB / 0.5356 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009366/0.1607, allocations: 0.5356 MB / 0.5362 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.1607, allocations: 4 kB / 0.5362 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1607, allocations: 112 / 0.5362 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1607, allocations: 7.922 kB / 0.5362 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.1618, allocations: 0.8328 MB / 0.537 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1618, allocations: 0 / 0.537 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.1622, allocations: 67.91 kB / 0.537 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.1622, allocations: 7.984 kB / 0.5371 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/0.1622, allocations: 12 kB / 0.5371 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.1622, allocations: 4 kB / 0.5371 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.1622, allocations: 3.984 kB / 0.5371 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.1635, allocations: 0.8401 MB / 0.5379 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.1637, allocations: 148.8 kB / 0.538 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.303e-05/0.1638, allocations: 23.94 kB / 0.5381 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.164, allocations: 15.92 kB / 0.5381 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.589e-05/0.164, allocations: 23.97 kB / 0.5381 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1641, allocations: 4 kB / 0.5381 GB, free: 3.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006231/0.1647, allocations: 471 kB / 0.5385 GB, free: 2.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1647, allocations: 0 / 0.5385 GB, free: 2.625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006507/0.1653, allocations: 203 kB / 0.5387 GB, free: 2.426 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.001637/0.167, allocations: 1.41 MB / 0.5401 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008402/0.1678, allocations: 476.4 kB / 0.5406 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1678, allocations: 0 / 0.5406 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.1682, allocations: 215.8 kB / 0.5408 GB, free: 316 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006194/0.1688, allocations: 98.36 kB / 0.5409 GB, free: 220 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.1792, allocations: 6.705 MB / 0.5474 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000907/0.1801, allocations: 1.061 MB / 0.5485 GB, free: 8.211 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002466/0.1803, allocations: 60.25 kB / 0.5485 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005256/0.1809, allocations: 407.3 kB / 0.5489 GB, free: 7.754 MB / 414.1 MB Notification: Performance of SimCode: time 1.944e-06/0.1809, allocations: 112 / 0.5489 GB, free: 7.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07254/0.2534, allocations: 12.99 MB / 0.5616 GB, free: 10.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.322/9.576, allocations: 3.938 kB / 0.5616 GB, free: 10.85 MB / 430.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_SystemDynamics_SystemDynamics_WorldDynamics_World3_Human_Fertility_fmu --startTime=0 --stopTime=200 --stepSize=0.08 --timeout=50 --tolerance=1e-06 SystemDynamics_SystemDynamics_WorldDynamics_World3_Human_Fertility.fmu > SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.697987378109246] Failed to read output from testmodel.py, exit status != 0: 9.65185749810189 9.677671665 9.532800706 Calling exit ...