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.001377/0.001377, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0013/0.0013, allocations: 177 kB / 23.36 MB, free: 1.137 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 1.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.0623/0.0623, allocations: 12.76 MB / 273 MB, free: 160 kB / 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.563e-06/1.563e-06, allocations: 0 / 293.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.046e-05, allocations: 3.438 kB / 293.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_4element): time 0.003188/0.003218, allocations: 2.831 MB / 296.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.004453, allocations: 0.7035 MB / 297.4 MB, free: 9.652 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.004568, allocations: 7.844 kB / 297.4 MB, free: 9.648 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.004705, allocations: 47.53 kB / 297.5 MB, free: 9.617 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.004931, allocations: 92.12 kB / 297.6 MB, free: 9.555 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.005146, allocations: 83.61 kB / 297.6 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003744/0.00552, allocations: 337.8 kB / 298 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.005676, allocations: 48.06 kB / 298 MB, free: 9.309 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003964/0.006072, allocations: 184.1 kB / 298.2 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.006278, allocations: 95.41 kB / 298.3 MB, free: 9.211 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.006309, allocations: 18.91 kB / 298.3 MB, free: 9.211 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.65e-05/0.006345, allocations: 20.34 kB / 298.3 MB, free: 9.211 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.635e-05/0.006382, allocations: 46.14 kB / 298.4 MB, free: 9.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.081e-05/0.006463, allocations: 87.08 kB / 298.5 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.006695, allocations: 188 kB / 298.6 MB, free: 9.062 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.006698, allocations: 5.156 kB / 298.6 MB, free: 9.059 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006699, allocations: 0 / 298.6 MB, free: 9.059 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.006706, allocations: 0 / 298.6 MB, free: 9.059 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.0005461/0.007252, allocations: 434.8 kB / 299.1 MB, free: 8.727 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.007284, allocations: 13.39 kB / 299.1 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.00734, allocations: 29.47 kB / 299.1 MB, free: 8.719 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.007551, allocations: 195.8 kB / 299.3 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.907e-05/0.00762, allocations: 122.4 kB / 299.4 MB, free: 8.414 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.007649, allocations: 17.56 kB / 299.4 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.007867, allocations: 176 kB / 299.6 MB, free: 8.312 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.007878, allocations: 4.141 kB / 299.6 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.007897, allocations: 10.88 kB / 299.6 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.007904, allocations: 4.188 kB / 299.6 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.008015, allocations: 66.11 kB / 299.7 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.008529, allocations: 361.8 kB / 300 MB, free: 8.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.0088, allocations: 115.9 kB / 300.2 MB, free: 8.027 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.403e-05/0.008894, allocations: 60.95 kB / 300.2 MB, free: 8.008 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.008916, allocations: 13 kB / 300.2 MB, free: 8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.009024, allocations: 112.6 kB / 300.3 MB, free: 7.914 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.009026, allocations: 0 / 300.3 MB, free: 7.914 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001958/0.009222, allocations: 122.7 kB / 300.5 MB, free: 7.871 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.009242, allocations: 54.33 kB / 300.5 MB, free: 7.809 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.187e-05/0.009324, allocations: 169.9 kB / 300.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.009338, allocations: 31.45 kB / 300.7 MB, free: 7.645 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.009381, allocations: 129.6 kB / 300.8 MB, free: 7.531 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.009411, allocations: 55.95 kB / 300.9 MB, free: 7.488 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/0.00946, allocations: 48 kB / 300.9 MB, free: 7.453 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.673e-05/0.009496, allocations: 329.5 kB / 301.3 MB, free: 7.133 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.194e-05/0.009528, allocations: 15.56 kB / 301.3 MB, free: 7.133 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.289e-05/0.009571, allocations: 57.45 kB / 301.3 MB, free: 7.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.009703, allocations: 114.4 kB / 301.4 MB, free: 7.043 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.009706, allocations: 0 / 301.4 MB, free: 7.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001441/0.00985, allocations: 125.8 kB / 301.6 MB, free: 6.992 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.009862, allocations: 5.5 kB / 301.6 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.009868, allocations: 1.375 kB / 301.6 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.009883, allocations: 1.984 kB / 301.6 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.01012, allocations: 75.39 kB / 301.6 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.01013, allocations: 8.438 kB / 301.7 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.383e-05/0.01019, allocations: 20.47 kB / 301.7 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.0102, allocations: 8.656 kB / 301.7 MB, free: 6.969 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 9.882e-05/0.0103, allocations: 133.1 kB / 301.8 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.01033, allocations: 19.16 kB / 301.8 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.01048, allocations: 114.2 kB / 301.9 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.01048, allocations: 2.438 kB / 301.9 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01048, allocations: 0 / 301.9 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.01049, allocations: 1.219 kB / 301.9 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.01081, allocations: 323.2 kB / 302.3 MB, free: 6.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01081, allocations: 0 / 302.3 MB, free: 6.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.01102, allocations: 64.55 kB / 302.3 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.01102, allocations: 1.438 kB / 302.3 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.01104, allocations: 1.781 kB / 302.3 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01104, allocations: 1.922 kB / 302.3 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01104, allocations: 0 / 302.3 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.01123, allocations: 228.5 kB / 302.6 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.01125, allocations: 18.41 kB / 302.6 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.01127, allocations: 5.922 kB / 302.6 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.01134, allocations: 16.73 kB / 302.6 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.01138, allocations: 16.38 kB / 302.6 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.0114, allocations: 11.3 kB / 302.6 MB, free: 6.375 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.764e-05/0.01144, allocations: 47.89 kB / 302.7 MB, free: 6.355 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01144, allocations: 0 / 302.7 MB, free: 6.355 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001759/0.01161, allocations: 60.48 kB / 302.7 MB, free: 6.344 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 8.35e-05/0.01169, allocations: 86.98 kB / 302.8 MB, free: 6.262 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.01185, allocations: 89.81 kB / 302.9 MB, free: 6.238 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.01186, allocations: 1.625 kB / 302.9 MB, free: 6.238 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.475e-05/0.01192, allocations: 47.67 kB / 302.9 MB, free: 6.223 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.01212, allocations: 42.89 kB / 303 MB, free: 6.211 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.01323, allocations: 485.2 kB / 303.5 MB, free: 5.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.95e-05/0.01327, allocations: 76.77 kB / 303.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.635e-05/0.01334, allocations: 25.31 kB / 303.6 MB, free: 5.828 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.211e-05/0.01344, allocations: 87.95 kB / 303.7 MB, free: 5.777 MB / 266.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01344, allocations: 1.375 kB / 303.7 MB, free: 5.777 MB / 266.7 MB Notification: Performance of Templates: time 0.004201/0.01764, allocations: 2.289 MB / 305.9 MB, free: 4.859 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.721371323335916]