Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.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.002635/0.002635, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.00322/0.00322, allocations: 213.1 kB / 22.25 MB, free: 3.59 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.742/1.742, allocations: 230.6 MB / 256 MB, free: 9.582 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.1013/0.1013, allocations: 17.16 MB / 329.6 MB, free: 0.7148 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.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element") translateModel(Bodylight.Hydraulic.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element") [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.00477/0.00477, allocations: 71.91 kB / 460.7 MB, free: 26.39 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1354, allocations: 57.77 MB / 0.5063 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_3element): time 0.005512/0.1409, allocations: 2.512 MB / 0.5088 GB, free: 13.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.1426, allocations: 0.6389 MB / 0.5094 GB, free: 13.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.1427, allocations: 7.938 kB / 0.5094 GB, free: 13.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.1429, allocations: 35.64 kB / 0.5094 GB, free: 13.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.1433, allocations: 83.38 kB / 0.5095 GB, free: 13.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.1435, allocations: 63.86 kB / 0.5096 GB, free: 13.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004811/0.144, allocations: 290.6 kB / 0.5098 GB, free: 12.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.1442, allocations: 29.8 kB / 0.5099 GB, free: 12.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003163/0.1445, allocations: 107.7 kB / 0.51 GB, free: 12.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.1447, allocations: 95.5 kB / 0.5101 GB, free: 12.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.764e-05/0.1448, allocations: 20 kB / 0.5101 GB, free: 12.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.495e-05/0.1448, allocations: 16 kB / 0.5101 GB, free: 12.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.1449, allocations: 39.89 kB / 0.5101 GB, free: 12.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.145, allocations: 87.59 kB / 0.5102 GB, free: 12.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.1455, allocations: 223.1 kB / 0.5104 GB, free: 12.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1455, allocations: 0 / 0.5104 GB, free: 12.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1455, allocations: 3.938 kB / 0.5104 GB, free: 12.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1455, allocations: 0 / 0.5104 GB, free: 12.26 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0011/0.1466, allocations: 437.4 kB / 0.5108 GB, free: 11.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1466, allocations: 8.031 kB / 0.5109 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.66e-05/0.1467, allocations: 20.84 kB / 0.5109 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.1471, allocations: 182.1 kB / 0.511 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.1473, allocations: 119.4 kB / 0.5112 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/0.1473, allocations: 16.38 kB / 0.5112 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/0.1479, allocations: 203 kB / 0.5114 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.1479, allocations: 0 / 0.5114 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.1479, allocations: 8 kB / 0.5114 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.1479, allocations: 4 kB / 0.5114 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005092/0.1484, allocations: 135.9 kB / 0.5115 GB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.1497, allocations: 443.8 kB / 0.5119 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007053/0.1504, allocations: 158.5 kB / 0.5121 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.1506, allocations: 76.75 kB / 0.5122 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.1506, allocations: 7.984 kB / 0.5122 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002864/0.1509, allocations: 145.1 kB / 0.5123 GB, free: 10.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.1509, allocations: 0 / 0.5123 GB, free: 10.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006686/0.1516, allocations: 229.4 kB / 0.5125 GB, free: 9.961 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.1516, allocations: 55.34 kB / 0.5126 GB, free: 9.895 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.1518, allocations: 161.6 kB / 0.5127 GB, free: 9.723 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.1519, allocations: 29.7 kB / 0.5128 GB, free: 9.688 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.152, allocations: 136.2 kB / 0.5129 GB, free: 9.551 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/0.1521, allocations: 47.64 kB / 0.5129 GB, free: 9.504 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.1522, allocations: 41.61 kB / 0.513 GB, free: 9.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.1524, allocations: 326.8 kB / 0.5133 GB, free: 9.129 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.1525, allocations: 51.95 kB / 0.5133 GB, free: 9.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.1527, allocations: 92.61 kB / 0.5134 GB, free: 8.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.1532, allocations: 147.3 kB / 0.5136 GB, free: 8.824 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1532, allocations: 0 / 0.5136 GB, free: 8.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000457/0.1536, allocations: 181.5 kB / 0.5137 GB, free: 8.641 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.1536, allocations: 12.05 kB / 0.5138 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1536, allocations: 4 kB / 0.5138 GB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.1537, allocations: 0 / 0.5138 GB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/0.1541, allocations: 79.83 kB / 0.5138 GB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1541, allocations: 0 / 0.5138 GB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.1543, allocations: 23.88 kB / 0.5139 GB, free: 8.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.1543, allocations: 11.94 kB / 0.5139 GB, free: 8.512 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: pulses.HP:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"duration of cardiac cycle\" type: Real 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: 4 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.pulses.HP,$PRE.pulses.T0,pulses.b,$whenCondition1,pulses.TD2,pulses.HP,pulses.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002033/0.1545, allocations: 137.7 kB / 0.514 GB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.1546, allocations: 15.91 kB / 0.514 GB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000494/0.155, allocations: 191 kB / 0.5142 GB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.1551, allocations: 4 kB / 0.5142 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1551, allocations: 0 / 0.5142 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1551, allocations: 3.984 kB / 0.5142 GB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000889/0.156, allocations: 454.1 kB / 0.5146 GB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.156, allocations: 0 / 0.5146 GB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.1564, allocations: 63.95 kB / 0.5147 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1564, allocations: 0 / 0.5147 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.1564, allocations: 3.984 kB / 0.5147 GB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1564, allocations: 0 / 0.5147 GB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.1564, allocations: 4 kB / 0.5147 GB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007007/0.1571, allocations: 358.4 kB / 0.515 GB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.1571, allocations: 11.94 kB / 0.5151 GB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.1572, allocations: 0 / 0.5151 GB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.1573, allocations: 15.98 kB / 0.5151 GB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.1574, allocations: 15.97 kB / 0.5151 GB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.1574, allocations: 4 kB / 0.5151 GB, free: 7.184 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.1575, allocations: 124.8 kB / 0.5152 GB, free: 7.062 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1575, allocations: 4.062 kB / 0.5152 GB, free: 7.059 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003258/0.1578, allocations: 51.89 kB / 0.5153 GB, free: 7.008 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (arteries.volume) * Number of discrete variables: 5 (pulses.b,$whenCondition1,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 2 (pulses.T0,pulses.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000135/0.158, allocations: 111.1 kB / 0.5154 GB, free: 6.891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000446/0.1584, allocations: 131.9 kB / 0.5155 GB, free: 6.762 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1584, allocations: 0 / 0.5155 GB, free: 6.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.1586, allocations: 68.03 kB / 0.5156 GB, free: 6.695 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.1592, allocations: 39.91 kB / 0.5156 GB, free: 6.656 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.1602, allocations: 417 kB / 0.516 GB, free: 6.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.1605, allocations: 116.1 kB / 0.5161 GB, free: 6.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.1606, allocations: 17.56 kB / 0.5161 GB, free: 6.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.408e-05/0.1607, allocations: 31.36 kB / 0.5162 GB, free: 6.039 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1607, allocations: 0 / 0.5162 GB, free: 6.039 MB / 378.7 MB Notification: Performance of Templates: time 0.006699/0.1674, allocations: 2.155 MB / 0.5183 GB, free: 3.926 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.sim & ./Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.471444217022508]