Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.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.0009789/0.0009789, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.002267, 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.0009133/0.0009133, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001039/0.001952, 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 0.9395/0.9395, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08636/1.026, allocations: 53.66 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.06043/0.06043, allocations: 12.75 MB / 256.9 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009591/0.07003, allocations: 4.83 MB / 261.7 MB, free: 13.16 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_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element") translateModel(Bodylight.Hydraulic.Examples.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 4 kB / 263 MB, free: 11.88 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.915e-05, allocations: 6.312 kB / 263 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_2element): time 0.002707/0.002726, allocations: 2.574 MB / 265.6 MB, free: 9.277 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009639/0.00369, allocations: 0.6309 MB / 266.2 MB, free: 8.645 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.716e-05/0.003767, allocations: 7.938 kB / 266.2 MB, free: 8.637 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.916e-05/0.003836, allocations: 31.7 kB / 266.2 MB, free: 8.605 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.003953, allocations: 67.34 kB / 266.3 MB, free: 8.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001195/0.004073, allocations: 63.8 kB / 266.4 MB, free: 8.477 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.004294, allocations: 238.7 kB / 266.6 MB, free: 8.242 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.511e-05/0.004379, allocations: 34.44 kB / 266.6 MB, free: 8.207 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.004583, allocations: 139.7 kB / 266.8 MB, free: 8.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.004699, allocations: 67.81 kB / 266.8 MB, free: 8.004 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.00472, allocations: 12 kB / 266.9 MB, free: 7.992 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.501e-05/0.004745, allocations: 12 kB / 266.9 MB, free: 7.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.004774, allocations: 23.88 kB / 266.9 MB, free: 7.957 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.333e-05/0.004827, allocations: 47.94 kB / 266.9 MB, free: 7.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.004991, allocations: 127.5 kB / 267.1 MB, free: 7.785 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.004999, allocations: 4 kB / 267.1 MB, free: 7.781 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.004999, allocations: 0 / 267.1 MB, free: 7.781 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.005007, allocations: 0 / 267.1 MB, free: 7.781 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004589/0.005466, allocations: 404.1 kB / 267.5 MB, free: 7.359 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.618e-05/0.005492, allocations: 12.03 kB / 267.5 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.005532, allocations: 16.92 kB / 267.5 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.005706, allocations: 172.6 kB / 267.7 MB, free: 7.141 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.055e-05/0.005757, allocations: 72.14 kB / 267.7 MB, free: 7.059 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.005781, allocations: 12.38 kB / 267.7 MB, free: 7.047 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.005947, allocations: 142.4 kB / 267.9 MB, free: 6.895 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.005955, allocations: 192 / 267.9 MB, free: 6.895 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.005967, allocations: 7.938 kB / 267.9 MB, free: 6.887 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.005971, allocations: 0 / 267.9 MB, free: 6.887 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.653e-05/0.006048, allocations: 41.14 kB / 267.9 MB, free: 6.848 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.006445, allocations: 292.2 kB / 268.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.00666, allocations: 86.52 kB / 268.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.942e-05/0.006699, allocations: 28.84 kB / 268.3 MB, free: 6.422 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.006716, allocations: 7.984 kB / 268.3 MB, free: 6.414 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.894e-05/0.006815, allocations: 105 kB / 268.4 MB, free: 6.293 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.006816, allocations: 4 kB / 268.4 MB, free: 6.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.00015/0.006966, allocations: 89.66 kB / 268.5 MB, free: 6.195 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.006991, allocations: 55.34 kB / 268.6 MB, free: 6.129 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.514e-05/0.007076, allocations: 154.6 kB / 268.7 MB, free: 5.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.007091, allocations: 25.7 kB / 268.8 MB, free: 5.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.007139, allocations: 115.9 kB / 268.9 MB, free: 5.816 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.007172, allocations: 39.64 kB / 268.9 MB, free: 5.777 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.007219, allocations: 33.69 kB / 268.9 MB, free: 5.738 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.871e-05/0.007297, allocations: 326.8 kB / 269.3 MB, free: 5.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.613e-05/0.007324, allocations: 11.98 kB / 269.3 MB, free: 5.398 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-05/0.007367, allocations: 38.5 kB / 269.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.668e-05/0.007464, allocations: 74.61 kB / 269.4 MB, free: 5.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.007465, allocations: 4 kB / 269.4 MB, free: 5.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00039/0.007855, allocations: 85.59 kB / 269.5 MB, free: 5.176 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.007867, allocations: 4 kB / 269.5 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.007871, allocations: 4 kB / 269.5 MB, free: 5.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.007881, allocations: 0 / 269.5 MB, free: 5.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.008103, allocations: 67.81 kB / 269.5 MB, free: 5.102 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-06/0.008106, allocations: 4.031 kB / 269.5 MB, free: 5.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.055e-05/0.008176, allocations: 15.89 kB / 269.6 MB, free: 5.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.008187, allocations: 8 kB / 269.6 MB, free: 5.074 MB / 266.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: 3 * 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 (17): * Single equations (assignments): 17 * 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.0001073/0.008295, allocations: 126.3 kB / 269.7 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.008314, allocations: 11.98 kB / 269.7 MB, free: 4.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.008444, allocations: 89.8 kB / 269.8 MB, free: 4.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.008446, allocations: 8 kB / 269.8 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.008449, allocations: 3.938 kB / 269.8 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.008453, allocations: 0 / 269.8 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.008725, allocations: 266.7 kB / 270.1 MB, free: 4.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.008728, allocations: 4 kB / 270.1 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.008906, allocations: 47.89 kB / 270.1 MB, free: 4.492 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.989e-05/0.008926, allocations: 27.83 kB / 270.1 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.008929, allocations: 3.938 kB / 270.1 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.008938, allocations: 0 / 270.1 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.00894, allocations: 0 / 270.1 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008941, allocations: 0 / 270.1 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.009133, allocations: 203.4 kB / 270.3 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.009154, allocations: 7.938 kB / 270.4 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.568e-05/0.00924, allocations: 4 kB / 270.4 MB, free: 4.234 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.009276, allocations: 15.97 kB / 270.4 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.009289, allocations: 8.031 kB / 270.4 MB, free: 4.211 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.465e-05/0.009323, allocations: 35.05 kB / 270.4 MB, free: 4.176 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009324, allocations: 0 / 270.4 MB, free: 4.176 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002132/0.009537, allocations: 43.95 kB / 270.5 MB, free: 4.133 MB / 266.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 (13): * Single equations (assignments): 10 * 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.309e-05/0.00961, allocations: 76.47 kB / 270.5 MB, free: 4.051 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.009741, allocations: 72.69 kB / 270.6 MB, free: 3.977 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.423e-06/0.009749, allocations: 3.984 kB / 270.6 MB, free: 3.973 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.34e-05/0.009812, allocations: 43.09 kB / 270.6 MB, free: 3.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.01011, allocations: 273.5 kB / 270.9 MB, free: 3.613 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005711/0.01582, allocations: 352.6 kB / 271.3 MB, free: 3.238 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.44e-05/0.01587, allocations: 67.84 kB / 271.3 MB, free: 3.152 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.746e-05/0.01593, allocations: 17.48 kB / 271.3 MB, free: 3.137 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.01604, allocations: 75.36 kB / 271.4 MB, free: 3.062 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01604, allocations: 0 / 271.4 MB, free: 3.062 MB / 266.7 MB Notification: Performance of Templates: time 0.003992/0.02003, allocations: 2.022 MB / 273.4 MB, free: 1.082 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.sim & ./Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.54032170958817]