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.0006544/0.0006544, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008224/0.001477, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006795/0.0006795, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008236/0.001503, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9782/0.9782, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09408/1.072, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.06502/0.06502, allocations: 12.75 MB / 256.7 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007757/0.07277, allocations: 4.817 MB / 261.5 MB, free: 13.26 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 8.12e-07/8.12e-07, allocations: 0 / 262.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.421e-05, allocations: 5.688 kB / 262.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_4element): time 0.002532/0.002546, allocations: 2.881 MB / 265.7 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008976/0.003444, allocations: 0.701 MB / 266.4 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.438e-05/0.003528, allocations: 7.938 kB / 266.4 MB, free: 8.375 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.611e-05/0.003604, allocations: 47.52 kB / 266.4 MB, free: 8.328 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.003733, allocations: 107.1 kB / 266.5 MB, free: 8.223 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.003858, allocations: 75.77 kB / 266.6 MB, free: 8.148 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.004106, allocations: 338.2 kB / 266.9 MB, free: 7.816 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.004223, allocations: 54.53 kB / 267 MB, free: 7.762 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.004463, allocations: 187.6 kB / 267.2 MB, free: 7.578 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.004609, allocations: 103.7 kB / 267.3 MB, free: 7.477 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.004636, allocations: 23.94 kB / 267.3 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.558e-05/0.004661, allocations: 20 kB / 267.3 MB, free: 7.434 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.004693, allocations: 35.86 kB / 267.4 MB, free: 7.398 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.936e-05/0.004763, allocations: 71.88 kB / 267.4 MB, free: 7.328 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.004943, allocations: 167.4 kB / 267.6 MB, free: 7.164 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/0.004956, allocations: 4 kB / 267.6 MB, free: 7.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004956, allocations: 0 / 267.6 MB, free: 7.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.00497, allocations: 0 / 267.6 MB, free: 7.16 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.0005709/0.005541, allocations: 491.2 kB / 268.1 MB, free: 6.656 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.626e-05/0.005567, allocations: 12.03 kB / 268.1 MB, free: 6.645 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.005613, allocations: 32.84 kB / 268.1 MB, free: 6.613 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.005802, allocations: 193.4 kB / 268.3 MB, free: 6.398 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.515e-05/0.005877, allocations: 115.4 kB / 268.4 MB, free: 6.262 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.005904, allocations: 20.38 kB / 268.4 MB, free: 6.242 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.006091, allocations: 168.5 kB / 268.6 MB, free: 6.062 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.006101, allocations: 8.141 kB / 268.6 MB, free: 6.055 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.006116, allocations: 15.94 kB / 268.6 MB, free: 6.039 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.006122, allocations: 4 kB / 268.6 MB, free: 6.035 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.803e-05/0.00622, allocations: 63.53 kB / 268.7 MB, free: 5.973 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.006698, allocations: 371.5 kB / 269.1 MB, free: 5.594 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.006948, allocations: 110.5 kB / 269.2 MB, free: 5.477 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.126e-05/0.007029, allocations: 64.8 kB / 269.2 MB, free: 5.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.007049, allocations: 7.938 kB / 269.2 MB, free: 5.402 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.007161, allocations: 113.3 kB / 269.4 MB, free: 5.273 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.007162, allocations: 0 / 269.4 MB, free: 5.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001701/0.007332, allocations: 112.8 kB / 269.5 MB, free: 5.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.007358, allocations: 59.34 kB / 269.5 MB, free: 5.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.007441, allocations: 175.1 kB / 269.7 MB, free: 4.906 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.007457, allocations: 29.7 kB / 269.7 MB, free: 4.871 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.00751, allocations: 132.3 kB / 269.8 MB, free: 4.734 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.007544, allocations: 59.47 kB / 269.9 MB, free: 4.676 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.007589, allocations: 41.67 kB / 269.9 MB, free: 4.629 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.826e-05/0.007657, allocations: 326.8 kB / 270.3 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.98e-05/0.007687, allocations: 23.98 kB / 270.3 MB, free: 4.277 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.568e-05/0.007732, allocations: 53.78 kB / 270.3 MB, free: 4.215 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.00785, allocations: 118.4 kB / 270.5 MB, free: 4.086 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.007852, allocations: 0 / 270.5 MB, free: 4.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001193/0.007971, allocations: 113.5 kB / 270.6 MB, free: 3.969 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.007984, allocations: 7.984 kB / 270.6 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.00799, allocations: 4 kB / 270.6 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.007997, allocations: 4.062 kB / 270.6 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.008306, allocations: 95.91 kB / 270.7 MB, free: 3.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.00831, allocations: 4 kB / 270.7 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.113e-05/0.008372, allocations: 23.89 kB / 270.7 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.008382, allocations: 7.984 kB / 270.7 MB, free: 3.824 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.0001006/0.008482, allocations: 142 kB / 270.9 MB, free: 3.676 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.0085, allocations: 11.98 kB / 270.9 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.008637, allocations: 123.3 kB / 271 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.008639, allocations: 4.047 kB / 271 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.008641, allocations: 3.984 kB / 271 MB, free: 3.531 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.008645, allocations: 3.984 kB / 271 MB, free: 3.527 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003747/0.00902, allocations: 313.8 kB / 271.3 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.009022, allocations: 0 / 271.3 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/0.009312, allocations: 91.86 kB / 271.4 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.009331, allocations: 19.89 kB / 271.4 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.009334, allocations: 0 / 271.4 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.009348, allocations: 7.938 kB / 271.4 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.00935, allocations: 4 kB / 271.4 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009351, allocations: 0 / 271.4 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.009537, allocations: 231.3 kB / 271.6 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.009556, allocations: 8 kB / 271.7 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.109e-05/0.009627, allocations: 7.984 kB / 271.7 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.009662, allocations: 15.92 kB / 271.7 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.009676, allocations: 7.984 kB / 271.7 MB, free: 2.797 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.228e-05/0.009708, allocations: 53.84 kB / 271.7 MB, free: 2.742 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009708, allocations: 0 / 271.7 MB, free: 2.742 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001559/0.009864, allocations: 59.89 kB / 271.8 MB, free: 2.684 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 7.448e-05/0.009939, allocations: 88.39 kB / 271.9 MB, free: 2.586 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.01006, allocations: 84.66 kB / 272 MB, free: 2.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.617e-06/0.01007, allocations: 4 kB / 272 MB, free: 2.496 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.251e-05/0.01012, allocations: 51.42 kB / 272 MB, free: 2.445 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.01031, allocations: 51.97 kB / 272.1 MB, free: 2.395 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006045/0.01635, allocations: 472.2 kB / 272.5 MB, free: 1.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.028e-05/0.01639, allocations: 79.97 kB / 272.6 MB, free: 1.812 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.525e-05/0.01646, allocations: 21.64 kB / 272.6 MB, free: 1.793 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.01656, allocations: 91.34 kB / 272.7 MB, free: 1.703 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01656, allocations: 0 / 272.7 MB, free: 1.703 MB / 266.7 MB Notification: Performance of Templates: time 0.1012/0.1178, allocations: 2.512 MB / 275.2 MB, free: 7.367 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.5910276966169477]