Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.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.002223/0.002223, allocations: 105.5 kB / 18.95 MB, free: 1.176 MB / 13.93 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.002282/0.002282, allocations: 215 kB / 22.25 MB, free: 3.566 MB / 13.93 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 1.702/1.702, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.1008/0.1008, allocations: 17.16 MB / 329.6 MB, free: 0.6992 MB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/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(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation") translateModel(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation") [Timeout 660] "Notification: Bodylight requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00978/0.00978, allocations: 67.89 kB / 460.8 MB, free: 26.24 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1582, allocations: 57.76 MB / 0.5064 GB, free: 380 kB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation): time 0.006962/0.1651, allocations: 3.47 MB / 0.5098 GB, free: 12.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.1674, allocations: 0.8219 MB / 0.5106 GB, free: 12.06 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.1676, allocations: 11.88 kB / 0.5106 GB, free: 12.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.1679, allocations: 75.28 kB / 0.5107 GB, free: 11.97 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006236/0.1685, allocations: 210.4 kB / 0.5109 GB, free: 11.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.1688, allocations: 103.8 kB / 0.511 GB, free: 11.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009864/0.1698, allocations: 0.5949 MB / 0.5116 GB, free: 11.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.1701, allocations: 92.77 kB / 0.5117 GB, free: 10.97 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000373/0.1705, allocations: 215.3 kB / 0.5119 GB, free: 10.76 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004872/0.171, allocations: 207 kB / 0.5121 GB, free: 10.56 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.597e-05/0.1711, allocations: 31.94 kB / 0.5121 GB, free: 10.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1712, allocations: 32 kB / 0.5121 GB, free: 10.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.1713, allocations: 71.69 kB / 0.5122 GB, free: 10.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002944/0.1716, allocations: 191.2 kB / 0.5124 GB, free: 10.24 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007596/0.1724, allocations: 450.1 kB / 0.5128 GB, free: 9.797 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1724, allocations: 0 / 0.5128 GB, free: 9.797 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1724, allocations: 4 kB / 0.5128 GB, free: 9.793 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1724, allocations: 0 / 0.5128 GB, free: 9.793 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001546/0.1739, allocations: 0.6101 MB / 0.5134 GB, free: 9.148 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.174, allocations: 12.03 kB / 0.5134 GB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.1741, allocations: 40.7 kB / 0.5135 GB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006677/0.1748, allocations: 281.2 kB / 0.5137 GB, free: 8.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.175, allocations: 124 kB / 0.5138 GB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.969e-05/0.175, allocations: 32.38 kB / 0.5139 GB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009464/0.176, allocations: 396.7 kB / 0.5143 GB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.176, allocations: 12 kB / 0.5143 GB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.1761, allocations: 8 kB / 0.5143 GB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.1761, allocations: 8 kB / 0.5143 GB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008183/0.1769, allocations: 238.5 kB / 0.5145 GB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.1789, allocations: 0.6956 MB / 0.5152 GB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008383/0.1798, allocations: 250.3 kB / 0.5154 GB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006731/0.1805, allocations: 172.7 kB / 0.5156 GB, free: 6.789 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.1805, allocations: 7.984 kB / 0.5156 GB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.1805, allocations: 30.94 kB / 0.5156 GB, free: 6.742 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.1805, allocations: 0 / 0.5156 GB, free: 6.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001218/0.1818, allocations: 337.2 kB / 0.516 GB, free: 6.406 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.1818, allocations: 51.41 kB / 0.516 GB, free: 6.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/0.1823, allocations: 256.2 kB / 0.5162 GB, free: 6.086 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.1823, allocations: 29.7 kB / 0.5163 GB, free: 6.051 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.1825, allocations: 204.5 kB / 0.5165 GB, free: 5.848 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.1826, allocations: 87.25 kB / 0.5166 GB, free: 5.762 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.1828, allocations: 49.69 kB / 0.5166 GB, free: 5.707 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005228/0.1833, allocations: 342.8 kB / 0.5169 GB, free: 5.363 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.1836, allocations: 91.94 kB / 0.517 GB, free: 5.273 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.184, allocations: 87.95 kB / 0.5171 GB, free: 5.188 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006604/0.1846, allocations: 189.3 kB / 0.5173 GB, free: 5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.1846, allocations: 7.938 kB / 0.5173 GB, free: 4.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008713/0.1855, allocations: 285.3 kB / 0.5176 GB, free: 4.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1855, allocations: 4 kB / 0.5176 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1855, allocations: 0 / 0.5176 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1856, allocations: 0 / 0.5176 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008955/0.1865, allocations: 99.86 kB / 0.5177 GB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.1865, allocations: 0 / 0.5177 GB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.1867, allocations: 27.83 kB / 0.5177 GB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.1868, allocations: 11.98 kB / 0.5177 GB, free: 4.566 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.000215/0.187, allocations: 137.8 kB / 0.5178 GB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.116e-05/0.1871, allocations: 35.81 kB / 0.5179 GB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009496/0.188, allocations: 278.9 kB / 0.5181 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.188, allocations: 4 kB / 0.5181 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1881, allocations: 0 / 0.5181 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1881, allocations: 0 / 0.5181 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005855/0.1886, allocations: 265.1 kB / 0.5184 GB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.1886, allocations: 8 kB / 0.5184 GB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007996/0.1894, allocations: 91.73 kB / 0.5185 GB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1894, allocations: 0 / 0.5185 GB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.1895, allocations: 4 kB / 0.5185 GB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1895, allocations: 0 / 0.5185 GB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1895, allocations: 4 kB / 0.5185 GB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.1908, allocations: 459.1 kB / 0.5189 GB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.512e-05/0.1909, allocations: 39.72 kB / 0.519 GB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/0.191, allocations: 0 / 0.519 GB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00032/0.1913, allocations: 19.98 kB / 0.519 GB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.1914, allocations: 19.91 kB / 0.519 GB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.1914, allocations: 8 kB / 0.519 GB, free: 3.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003036/0.1917, allocations: 187 kB / 0.5192 GB, free: 2.977 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1917, allocations: 0 / 0.5192 GB, free: 2.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005879/0.1923, allocations: 99.84 kB / 0.5193 GB, free: 2.879 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (PulmonaryArteries.volume,PulmonaryVeins.volume,SystemicVeins.volume,SystemicArteries.volume) * 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 (22): * Single equations (assignments): 22 * 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.0001757/0.1925, allocations: 99.19 kB / 0.5194 GB, free: 2.773 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008463/0.1933, allocations: 223.8 kB / 0.5196 GB, free: 2.555 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1933, allocations: 0 / 0.5196 GB, free: 2.555 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000383/0.1937, allocations: 107.1 kB / 0.5197 GB, free: 2.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007926/0.1945, allocations: 87.28 kB / 0.5198 GB, free: 2.367 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.1965, allocations: 0.7854 MB / 0.5205 GB, free: 1.555 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.1967, allocations: 177.1 kB / 0.5207 GB, free: 1.359 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000263/0.197, allocations: 46.94 kB / 0.5208 GB, free: 1.312 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.1971, allocations: 31.42 kB / 0.5208 GB, free: 1.281 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1971, allocations: 0 / 0.5208 GB, free: 1.281 MB / 378.7 MB Notification: Performance of Templates: time 0.01422/0.2113, allocations: 4.779 MB / 0.5255 GB, free: 12.6 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.sim & ./Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.657478803768754]