Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.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.0009936/0.0009936, allocations: 88.52 kB / 19.93 MB, free: 4.605 MB / 18.57 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.001027/0.001027, allocations: 173.9 kB / 23.21 MB, free: 1.328 MB / 18.57 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 0.9643/0.9643, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.05245/0.05245, allocations: 12.73 MB / 272.7 MB, free: 0.4961 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_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element") translateModel(Bodylight.Hydraulic.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 403.1 MB, free: 8.918 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.82e-05, allocations: 6.219 kB / 403.1 MB, free: 8.91 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_4element): time 0.002517/0.002535, allocations: 2.648 MB / 405.7 MB, free: 6.25 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007601/0.003295, allocations: 0.6816 MB / 406.4 MB, free: 5.566 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.538e-05/0.003391, allocations: 7.938 kB / 406.4 MB, free: 5.559 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.003508, allocations: 35.64 kB / 406.4 MB, free: 5.523 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.003691, allocations: 99.11 kB / 406.5 MB, free: 5.426 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.003834, allocations: 75.77 kB / 406.6 MB, free: 5.352 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.004076, allocations: 338.2 kB / 406.9 MB, free: 5.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.004206, allocations: 56.55 kB / 407 MB, free: 4.965 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.004436, allocations: 179.6 kB / 407.2 MB, free: 4.789 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.004568, allocations: 91.72 kB / 407.3 MB, free: 4.699 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.004595, allocations: 20 kB / 407.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.758e-05/0.004622, allocations: 20 kB / 407.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.443e-05/0.004657, allocations: 43.83 kB / 407.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.052e-05/0.004727, allocations: 91.83 kB / 407.4 MB, free: 4.527 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.004941, allocations: 255.2 kB / 407.7 MB, free: 4.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004943, allocations: 0 / 407.7 MB, free: 4.277 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004944, allocations: 4 kB / 407.7 MB, free: 4.273 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.004948, allocations: 0 / 407.7 MB, free: 4.273 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005878/0.005536, allocations: 469 kB / 408.1 MB, free: 3.785 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.005569, allocations: 15.98 kB / 408.2 MB, free: 3.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.005619, allocations: 32.75 kB / 408.2 MB, free: 3.738 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.005833, allocations: 193.3 kB / 408.4 MB, free: 3.523 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-05/0.005917, allocations: 119.4 kB / 408.5 MB, free: 3.383 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.005948, allocations: 20.38 kB / 408.5 MB, free: 3.363 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.006217, allocations: 211.8 kB / 408.7 MB, free: 3.145 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.006227, allocations: 4.188 kB / 408.7 MB, free: 3.141 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.006244, allocations: 11.94 kB / 408.7 MB, free: 3.129 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.00625, allocations: 4 kB / 408.7 MB, free: 3.125 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.006493, allocations: 167.4 kB / 408.9 MB, free: 2.961 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.007105, allocations: 479.9 kB / 409.4 MB, free: 2.461 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.007487, allocations: 194.3 kB / 409.6 MB, free: 2.262 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.007645, allocations: 100.8 kB / 409.7 MB, free: 2.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.007664, allocations: 7.938 kB / 409.7 MB, free: 2.152 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.007829, allocations: 147.9 kB / 409.8 MB, free: 1.992 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.007831, allocations: 0 / 409.8 MB, free: 1.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003846/0.008216, allocations: 261.6 kB / 410.1 MB, free: 1.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.008244, allocations: 55.41 kB / 410.1 MB, free: 1.664 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.008352, allocations: 175.2 kB / 410.3 MB, free: 1.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.00837, allocations: 33.7 kB / 410.3 MB, free: 1.441 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/0.008702, allocations: 136.4 kB / 410.5 MB, free: 1.305 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.008737, allocations: 67.44 kB / 410.5 MB, free: 1.238 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.008784, allocations: 41.66 kB / 410.6 MB, free: 1.191 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.008856, allocations: 330.8 kB / 410.9 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.223e-05/0.008948, allocations: 63.81 kB / 411 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.009053, allocations: 94.23 kB / 411 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005044/0.009557, allocations: 310.4 kB / 411.4 MB, free: 388 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.00956, allocations: 0 / 411.4 MB, free: 388 kB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002557/0.009816, allocations: 213.4 kB / 411.6 MB, free: 168 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.009828, allocations: 8 kB / 411.6 MB, free: 160 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.009832, allocations: 4.062 kB / 411.6 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.009843, allocations: 0 / 411.6 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.01008, allocations: 75.95 kB / 411.6 MB, free: 80 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.01009, allocations: 7.984 kB / 411.7 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.927e-05/0.01016, allocations: 19.89 kB / 411.7 MB, free: 52 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.01017, allocations: 11.98 kB / 411.7 MB, free: 40 kB / 330.7 MB Warning: Assuming fixed start value for the following 3 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 inertia.q_in.q:VARIABLE(flow=true unit = \"m3/s\" fixed = true nominal = 1.6666666666666667e-8 ) \"Volume flow\" 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 (24): * Single equations (assignments): 24 * 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.1308/0.1409, allocations: 145.9 kB / 411.8 MB, free: 21.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.141, allocations: 19.02 kB / 411.8 MB, free: 21.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004038/0.1414, allocations: 213.7 kB / 412.1 MB, free: 21.22 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1414, allocations: 1.906 kB / 412.1 MB, free: 21.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.1414, allocations: 1.281 kB / 412.1 MB, free: 21.22 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1414, allocations: 1.172 kB / 412.1 MB, free: 21.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005737/0.142, allocations: 499.5 kB / 412.5 MB, free: 21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.142, allocations: 1.375 kB / 412.5 MB, free: 21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.1422, allocations: 66.06 kB / 412.6 MB, free: 21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.1422, allocations: 0.6094 kB / 412.6 MB, free: 21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.1423, allocations: 17.7 kB / 412.6 MB, free: 21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1423, allocations: 0 / 412.6 MB, free: 21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1423, allocations: 1.469 kB / 412.6 MB, free: 21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/0.1427, allocations: 376.2 kB / 413 MB, free: 20.87 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.548e-05/0.1427, allocations: 16.83 kB / 413 MB, free: 20.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.1427, allocations: 8.984 kB / 413 MB, free: 20.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.072e-05/0.1428, allocations: 11.44 kB / 413 MB, free: 20.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.1428, allocations: 15.47 kB / 413.1 MB, free: 20.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.1429, allocations: 5.938 kB / 413.1 MB, free: 20.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.235e-05/0.1429, allocations: 129.6 kB / 413.2 MB, free: 20.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1429, allocations: 1.312 kB / 413.2 MB, free: 20.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.1431, allocations: 66.72 kB / 413.3 MB, free: 20.78 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (arteries.volume,inertia.q_in.q) * 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 (18): * Single equations (assignments): 15 * 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 8.067e-05/0.1432, allocations: 104.7 kB / 413.4 MB, free: 20.69 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.1435, allocations: 157.4 kB / 413.5 MB, free: 20.65 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.1435, allocations: 1.156 kB / 413.5 MB, free: 20.65 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.1436, allocations: 80.39 kB / 413.6 MB, free: 20.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.1439, allocations: 34.92 kB / 413.6 MB, free: 20.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005842/0.1444, allocations: 478.3 kB / 414.1 MB, free: 20.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.438e-05/0.1445, allocations: 119.8 kB / 414.2 MB, free: 20.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.656e-05/0.1446, allocations: 27.02 kB / 414.2 MB, free: 20.25 MB / 330.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1446, allocations: 4 kB / 414.2 MB, free: 20.25 MB / 330.7 MB Notification: Performance of Templates: time 0.003651/0.1482, allocations: 2.652 MB / 416.9 MB, free: 20.04 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.sim & ./Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.682024948764592]