Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.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.002221/0.002221, allocations: 109.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.002201/0.002201, allocations: 216.1 kB / 22.25 MB, free: 3.582 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.725/1.725, allocations: 230.6 MB / 256 MB, free: 9.613 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.108/0.108, allocations: 17.18 MB / 329.6 MB, free: 0.8281 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.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation") translateModel(Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation") [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.0114/0.0114, allocations: 72.81 kB / 460.8 MB, free: 26.27 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1579, allocations: 57.76 MB / 0.5064 GB, free: 412 kB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation): time 0.02631/0.1842, allocations: 4.183 MB / 0.5105 GB, free: 12.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00885/0.193, allocations: 0.9893 MB / 0.5115 GB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003907/0.1934, allocations: 15.88 kB / 0.5115 GB, free: 11.19 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.1938, allocations: 95.06 kB / 0.5116 GB, free: 11.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007944/0.1946, allocations: 253.9 kB / 0.5118 GB, free: 10.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.1951, allocations: 159.7 kB / 0.512 GB, free: 10.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007287/0.2023, allocations: 0.7777 MB / 0.5127 GB, free: 9.906 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003838/0.2027, allocations: 124.9 kB / 0.5129 GB, free: 9.777 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006187/0.2033, allocations: 287.1 kB / 0.5131 GB, free: 9.496 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006228/0.204, allocations: 274.7 kB / 0.5134 GB, free: 9.227 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.2041, allocations: 44 kB / 0.5134 GB, free: 9.184 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.2042, allocations: 48 kB / 0.5135 GB, free: 9.137 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.2044, allocations: 103.6 kB / 0.5136 GB, free: 9.035 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006419/0.2108, allocations: 255 kB / 0.5138 GB, free: 8.785 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.2119, allocations: 0.6225 MB / 0.5144 GB, free: 8.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.2119, allocations: 8 kB / 0.5144 GB, free: 8.152 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2119, allocations: 0 / 0.5144 GB, free: 8.152 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.2119, allocations: 3.984 kB / 0.5145 GB, free: 8.148 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.008028/0.2199, allocations: 0.7402 MB / 0.5152 GB, free: 7.379 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.2199, allocations: 16.03 kB / 0.5152 GB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.2201, allocations: 60.59 kB / 0.5152 GB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007841/0.2209, allocations: 314 kB / 0.5155 GB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.2211, allocations: 148.3 kB / 0.5157 GB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.983e-05/0.2212, allocations: 40.36 kB / 0.5157 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007313/0.2285, allocations: 0.5011 MB / 0.5162 GB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.2285, allocations: 0 / 0.5162 GB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-05/0.2286, allocations: 16 kB / 0.5162 GB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.2286, allocations: 8 kB / 0.5162 GB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.2301, allocations: 359.8 kB / 0.5166 GB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008674/0.2387, allocations: 0.8964 MB / 0.5175 GB, free: 4.922 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.2399, allocations: 366 kB / 0.5178 GB, free: 4.559 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001875/0.2417, allocations: 303.6 kB / 0.5181 GB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.281e-05/0.2418, allocations: 8.219 kB / 0.5181 GB, free: 4.254 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006559/0.2424, allocations: 346.2 kB / 0.5184 GB, free: 3.879 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 3.256e-06/0.2424, allocations: 0 / 0.5184 GB, free: 3.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001434/0.2439, allocations: 0.5281 MB / 0.5189 GB, free: 3.344 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.2439, allocations: 55.41 kB / 0.519 GB, free: 3.277 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.2443, allocations: 284.5 kB / 0.5193 GB, free: 2.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.738e-05/0.2443, allocations: 41.69 kB / 0.5193 GB, free: 2.945 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.2445, allocations: 236.6 kB / 0.5195 GB, free: 2.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.2447, allocations: 119 kB / 0.5197 GB, free: 2.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.2448, allocations: 69.69 kB / 0.5197 GB, free: 2.516 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.245, allocations: 350.7 kB / 0.5201 GB, free: 2.164 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.2454, allocations: 144.3 kB / 0.5202 GB, free: 2.023 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/0.2458, allocations: 177.4 kB / 0.5204 GB, free: 1.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008188/0.2466, allocations: 344.3 kB / 0.5207 GB, free: 1.496 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2466, allocations: 0 / 0.5207 GB, free: 1.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009537/0.2475, allocations: 450.6 kB / 0.5211 GB, free: 1.051 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.2476, allocations: 7.281 kB / 0.5211 GB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2476, allocations: 4 kB / 0.5211 GB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2476, allocations: 0 / 0.5211 GB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007337/0.2483, allocations: 127.8 kB / 0.5213 GB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.2483, allocations: 4 kB / 0.5213 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003172/0.2486, allocations: 43.81 kB / 0.5213 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.2487, allocations: 16 kB / 0.5213 GB, free: 0.8555 MB / 378.7 MB Warning: Assuming fixed start value for the following 4 variables: rightHeart.pulses.HP:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"duration of cardiac cycle\" type: Real rightHeart.pulses.T0:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"beginning of cardiac cycle\" type: Real leftHeart.pulses.HP:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"duration of cardiac cycle\" type: Real leftHeart.pulses.T0:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"beginning of cardiac cycle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.rightHeart.pulses.HP,$PRE.rightHeart.pulses.T0,rightHeart.pulses.b,$whenCondition1,$PRE.leftHeart.pulses.HP,$PRE.leftHeart.pulses.T0,leftHeart.pulses.b,$whenCondition2,leftHeart.pulses.TD2,leftHeart.pulses.HP,leftHeart.pulses.T0,rightHeart.pulses.TD2,rightHeart.pulses.HP,rightHeart.pulses.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0002795/0.249, allocations: 179.2 kB / 0.5215 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.277e-05/0.249, allocations: 39.77 kB / 0.5215 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009997/0.25, allocations: 441 kB / 0.5219 GB, free: 200 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.25, allocations: 4 kB / 0.5219 GB, free: 196 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.25, allocations: 96 / 0.5219 GB, free: 196 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.25, allocations: 7.969 kB / 0.522 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.2518, allocations: 0.8593 MB / 0.5228 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2519, allocations: 0 / 0.5228 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006483/0.2525, allocations: 99.84 kB / 0.5229 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.2525, allocations: 4 kB / 0.5229 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.2525, allocations: 11.98 kB / 0.5229 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.2525, allocations: 4 kB / 0.5229 GB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.2525, allocations: 7.875 kB / 0.5229 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.254, allocations: 0.6875 MB / 0.5236 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-05/0.2541, allocations: 39.7 kB / 0.5236 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.375e-05/0.2541, allocations: 12 kB / 0.5236 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.2544, allocations: 32 kB / 0.5237 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.635e-05/0.2545, allocations: 31.89 kB / 0.5237 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/0.2546, allocations: 23.98 kB / 0.5237 GB, free: 14.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002316/0.2548, allocations: 199 kB / 0.5239 GB, free: 14.13 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2548, allocations: 0 / 0.5239 GB, free: 14.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004694/0.2553, allocations: 139.8 kB / 0.524 GB, free: 13.99 MB / 394.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: 10 (leftHeart.pulses.b,rightHeart.pulses.b,$whenCondition2,$whenCondition1,rightHeart.pulses.T0,rightHeart.pulses.HP,rightHeart.pulses.TD2,leftHeart.pulses.T0,leftHeart.pulses.HP,leftHeart.pulses.TD2) * Number of discrete states: 4 (rightHeart.pulses.T0,rightHeart.pulses.HP,leftHeart.pulses.T0,leftHeart.pulses.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0001625/0.2554, allocations: 111.7 kB / 0.5241 GB, free: 13.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009161/0.2564, allocations: 351.5 kB / 0.5245 GB, free: 13.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2564, allocations: 0 / 0.5245 GB, free: 13.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000458/0.2568, allocations: 176.4 kB / 0.5247 GB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000576/0.2574, allocations: 101 kB / 0.5247 GB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.2593, allocations: 0.9662 MB / 0.5257 GB, free: 12.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.2596, allocations: 215.5 kB / 0.5259 GB, free: 12.03 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002327/0.2598, allocations: 54.92 kB / 0.5259 GB, free: 11.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.2599, allocations: 39.42 kB / 0.526 GB, free: 11.94 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2599, allocations: 0 / 0.526 GB, free: 11.94 MB / 394.7 MB Notification: Performance of Templates: time 0.01264/0.2726, allocations: 6.18 MB / 0.532 GB, free: 5.863 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.sim & ./Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.721101958770305]