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.001193/0.001193, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002117/0.003311, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001477/0.001477, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001787/0.003263, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.031/1.031, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08901/1.12, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.05882/0.05882, allocations: 12.74 MB / 256.9 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008615/0.06743, allocations: 4.841 MB / 261.7 MB, free: 13.15 MB / 266.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.443e-06/1.443e-06, allocations: 0 / 263 MB, free: 11.88 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.287e-05, allocations: 2.312 kB / 263 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_4element): time 0.002872/0.002895, allocations: 2.893 MB / 265.9 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.004009, allocations: 0.7049 MB / 266.6 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.004114, allocations: 7.938 kB / 266.6 MB, free: 8.242 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.004218, allocations: 51.5 kB / 266.7 MB, free: 8.191 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.00438, allocations: 99.09 kB / 266.8 MB, free: 8.094 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.00453, allocations: 83.77 kB / 266.8 MB, free: 8.012 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.004798, allocations: 330.3 kB / 267.2 MB, free: 7.688 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.004924, allocations: 50.53 kB / 267.2 MB, free: 7.637 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.005188, allocations: 199.6 kB / 267.4 MB, free: 7.441 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.005345, allocations: 107.6 kB / 267.5 MB, free: 7.336 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.005371, allocations: 16 kB / 267.5 MB, free: 7.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.875e-05/0.0054, allocations: 20 kB / 267.5 MB, free: 7.301 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.005435, allocations: 35.88 kB / 267.6 MB, free: 7.266 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.294e-05/0.005498, allocations: 71.88 kB / 267.6 MB, free: 7.195 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.005714, allocations: 167.4 kB / 267.8 MB, free: 7.031 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-05/0.005728, allocations: 4 kB / 267.8 MB, free: 7.027 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.00573, allocations: 0 / 267.8 MB, free: 7.027 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.00574, allocations: 0 / 267.8 MB, free: 7.027 MB / 266.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.0006105/0.006351, allocations: 491.2 kB / 268.3 MB, free: 6.523 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.00638, allocations: 11.97 kB / 268.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.57e-05/0.006436, allocations: 36.89 kB / 268.3 MB, free: 6.477 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.006653, allocations: 185.4 kB / 268.5 MB, free: 6.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.624e-05/0.006739, allocations: 123.4 kB / 268.6 MB, free: 6.125 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.006769, allocations: 20.36 kB / 268.7 MB, free: 6.105 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.006966, allocations: 168.5 kB / 268.8 MB, free: 5.926 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.006976, allocations: 4.141 kB / 268.8 MB, free: 5.922 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.006992, allocations: 11.94 kB / 268.8 MB, free: 5.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.006999, allocations: 4 kB / 268.8 MB, free: 5.906 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.565e-05/0.007094, allocations: 71.52 kB / 268.9 MB, free: 5.836 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005076/0.007602, allocations: 363.5 kB / 269.3 MB, free: 5.465 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.007858, allocations: 114.4 kB / 269.4 MB, free: 5.344 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.295e-05/0.007941, allocations: 52.81 kB / 269.4 MB, free: 5.289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.007961, allocations: 11.94 kB / 269.4 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/0.00808, allocations: 113.3 kB / 269.6 MB, free: 5.148 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.008081, allocations: 0 / 269.6 MB, free: 5.148 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001968/0.008278, allocations: 121 kB / 269.7 MB, free: 5.027 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.008304, allocations: 51.41 kB / 269.7 MB, free: 4.965 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.928e-05/0.008393, allocations: 175.1 kB / 269.9 MB, free: 4.781 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.008412, allocations: 29.7 kB / 269.9 MB, free: 4.746 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.008724, allocations: 128.3 kB / 270.1 MB, free: 4.617 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.00876, allocations: 59.47 kB / 270.1 MB, free: 4.559 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.008807, allocations: 53.67 kB / 270.2 MB, free: 4.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.87e-05/0.008875, allocations: 330.8 kB / 270.5 MB, free: 4.168 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.912e-05/0.008904, allocations: 12 kB / 270.5 MB, free: 4.156 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.531e-05/0.00895, allocations: 58.58 kB / 270.6 MB, free: 4.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.009075, allocations: 118.3 kB / 270.7 MB, free: 3.961 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.009077, allocations: 0 / 270.7 MB, free: 3.961 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001253/0.009203, allocations: 113.5 kB / 270.8 MB, free: 3.844 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.009215, allocations: 8.062 kB / 270.8 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.009221, allocations: 4 kB / 270.8 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.009236, allocations: 4.031 kB / 270.8 MB, free: 3.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.009556, allocations: 103.9 kB / 270.9 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.009562, allocations: 7.938 kB / 270.9 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.009628, allocations: 23.81 kB / 270.9 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.009638, allocations: 8 kB / 270.9 MB, free: 3.688 MB / 266.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.0001195/0.009757, allocations: 137.9 kB / 271.1 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.009778, allocations: 19.98 kB / 271.1 MB, free: 3.527 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.009924, allocations: 115.3 kB / 271.2 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.009927, allocations: 4 kB / 271.2 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.009928, allocations: 0 / 271.2 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.009932, allocations: 0 / 271.2 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.01026, allocations: 321.1 kB / 271.5 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01026, allocations: 0 / 271.5 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.01053, allocations: 87.91 kB / 271.6 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.01055, allocations: 15.91 kB / 271.6 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01055, allocations: 0 / 271.6 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.01057, allocations: 7.938 kB / 271.6 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.01057, allocations: 8 kB / 271.6 MB, free: 2.953 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01057, allocations: 0 / 271.6 MB, free: 2.953 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.01079, allocations: 230 kB / 271.9 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.01081, allocations: 4 kB / 271.9 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.375e-05/0.01088, allocations: 11.98 kB / 271.9 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.01092, allocations: 19.91 kB / 271.9 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.01094, allocations: 4 kB / 271.9 MB, free: 2.676 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.693e-05/0.01098, allocations: 49.84 kB / 272 MB, free: 2.625 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01098, allocations: 0 / 272 MB, free: 2.625 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001797/0.01116, allocations: 67.92 kB / 272 MB, free: 2.559 MB / 266.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 9.591e-05/0.01125, allocations: 84.34 kB / 272.1 MB, free: 2.465 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.01139, allocations: 87.89 kB / 272.2 MB, free: 2.379 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.0114, allocations: 4 kB / 272.2 MB, free: 2.375 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.788e-05/0.01147, allocations: 60.75 kB / 272.2 MB, free: 2.312 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.01178, allocations: 380.7 kB / 272.6 MB, free: 1.867 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005885/0.01766, allocations: 460.1 kB / 273.1 MB, free: 1.395 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.906e-05/0.01771, allocations: 75.98 kB / 273.1 MB, free: 1.301 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.01783, allocations: 25.62 kB / 273.2 MB, free: 1.277 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.01795, allocations: 87.34 kB / 273.3 MB, free: 1.191 MB / 266.7 MB Notification: Performance of SimCode: time 1.744e-06/0.01795, allocations: 4 kB / 273.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of Templates: time 0.1096/0.1275, allocations: 2.493 MB / 275.8 MB, free: 8.551 MB / 266.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.716735003516078]