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.0009507/0.0009507, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001362/0.001362, allocations: 177 kB / 23.36 MB, free: 1.129 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.9505/0.9505, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.06903/0.06903, allocations: 12.75 MB / 273 MB, free: 172 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_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 2.094e-06/2.094e-06, allocations: 2.281 kB / 293.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14e-05/1.35e-05, allocations: 2.875 kB / 293.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_2element): time 0.002701/0.002714, allocations: 2.518 MB / 296.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009481/0.003662, allocations: 0.6335 MB / 297 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.597e-05/0.003758, allocations: 6.219 kB / 297 MB, free: 9.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.003879, allocations: 27.86 kB / 297.1 MB, free: 9.914 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.004052, allocations: 71.81 kB / 297.1 MB, free: 9.863 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.004203, allocations: 62.78 kB / 297.2 MB, free: 9.828 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.004426, allocations: 235.9 kB / 297.4 MB, free: 9.707 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.004536, allocations: 30.47 kB / 297.4 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.004804, allocations: 132.1 kB / 297.6 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.004993, allocations: 66.28 kB / 297.6 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.005027, allocations: 12.75 kB / 297.7 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.855e-05/0.005056, allocations: 16.91 kB / 297.7 MB, free: 9.617 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.005092, allocations: 30.25 kB / 297.7 MB, free: 9.598 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.555e-05/0.005178, allocations: 61.56 kB / 297.8 MB, free: 9.574 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.005421, allocations: 128.7 kB / 297.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.005424, allocations: 0.5156 kB / 297.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.005426, allocations: 1.125 kB / 297.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.00543, allocations: 0 / 297.9 MB, free: 9.52 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.000525/0.005955, allocations: 366.5 kB / 298.2 MB, free: 9.215 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.006001, allocations: 14.09 kB / 298.3 MB, free: 9.211 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/0.00606, allocations: 30.03 kB / 298.3 MB, free: 9.199 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.006229, allocations: 165.3 kB / 298.5 MB, free: 9.051 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/0.006285, allocations: 62.69 kB / 298.5 MB, free: 8.984 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/0.006309, allocations: 12.91 kB / 298.5 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.006495, allocations: 148.1 kB / 298.7 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.006505, allocations: 1.188 kB / 298.7 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.006517, allocations: 9.516 kB / 298.7 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.006524, allocations: 7.375 kB / 298.7 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.962e-05/0.006604, allocations: 37.02 kB / 298.7 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.007012, allocations: 282.3 kB / 299 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.007259, allocations: 87.5 kB / 299.1 MB, free: 8.645 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.773e-05/0.007307, allocations: 30.12 kB / 299.1 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.007326, allocations: 2.25 kB / 299.1 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.007427, allocations: 108.5 kB / 299.2 MB, free: 8.543 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.007428, allocations: 0 / 299.2 MB, free: 8.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001735/0.007602, allocations: 95.33 kB / 299.3 MB, free: 8.504 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.007623, allocations: 58.59 kB / 299.4 MB, free: 8.438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/0.007702, allocations: 149.1 kB / 299.5 MB, free: 8.316 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.007715, allocations: 30.95 kB / 299.5 MB, free: 8.281 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.007753, allocations: 117 kB / 299.7 MB, free: 8.176 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.007781, allocations: 43.11 kB / 299.7 MB, free: 8.141 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.007822, allocations: 32.12 kB / 299.7 MB, free: 8.117 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.094e-05/0.007863, allocations: 322.9 kB / 300.1 MB, free: 7.801 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.007888, allocations: 15.03 kB / 300.1 MB, free: 7.797 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.655e-05/0.007925, allocations: 45.98 kB / 300.1 MB, free: 7.766 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.975e-05/0.008004, allocations: 69.39 kB / 300.2 MB, free: 7.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.008006, allocations: 0 / 300.2 MB, free: 7.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001122/0.008119, allocations: 90.91 kB / 300.3 MB, free: 7.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.008129, allocations: 5.5 kB / 300.3 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.008134, allocations: 1.25 kB / 300.3 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.008145, allocations: 1.391 kB / 300.3 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.008319, allocations: 53.22 kB / 300.3 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.008325, allocations: 9.859 kB / 300.3 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.309e-05/0.008378, allocations: 13 kB / 300.3 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.008387, allocations: 7.5 kB / 300.4 MB, free: 7.664 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 8.672e-05/0.008474, allocations: 130.8 kB / 300.5 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.008492, allocations: 10.31 kB / 300.5 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.008614, allocations: 88.81 kB / 300.6 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.008618, allocations: 2.953 kB / 300.6 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.00862, allocations: 7.938 kB / 300.6 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.008624, allocations: 1.719 kB / 300.6 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.00886, allocations: 264.2 kB / 300.9 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.008862, allocations: 0 / 300.9 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.008996, allocations: 44.05 kB / 300.9 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.008999, allocations: 1.094 kB / 300.9 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.009014, allocations: 2.531 kB / 300.9 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.009017, allocations: 5.062 kB / 300.9 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.009019, allocations: 2.406 kB / 300.9 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.009181, allocations: 195.4 kB / 301.1 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/0.009203, allocations: 13.75 kB / 301.1 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.00922, allocations: 5.797 kB / 301.1 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.249e-05/0.009283, allocations: 15.69 kB / 301.1 MB, free: 7.113 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.009321, allocations: 12.83 kB / 301.1 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.009335, allocations: 4.719 kB / 301.1 MB, free: 7.109 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.202e-05/0.009367, allocations: 33.72 kB / 301.2 MB, free: 7.098 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009367, allocations: 0 / 301.2 MB, free: 7.098 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001526/0.00952, allocations: 46.55 kB / 301.2 MB, free: 7.086 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.425e-05/0.009594, allocations: 82.48 kB / 301.3 MB, free: 7.012 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001207/0.009715, allocations: 62.38 kB / 301.4 MB, free: 6.996 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.009719, allocations: 5.844 kB / 301.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.936e-05/0.009788, allocations: 43.05 kB / 301.4 MB, free: 6.973 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.009981, allocations: 33.02 kB / 301.4 MB, free: 6.965 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009234/0.0109, allocations: 388.7 kB / 301.8 MB, free: 6.703 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.85e-05/0.01094, allocations: 73.8 kB / 301.9 MB, free: 6.629 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.023e-05/0.011, allocations: 16.83 kB / 301.9 MB, free: 6.625 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.01113, allocations: 82.45 kB / 302 MB, free: 6.574 MB / 266.7 MB Notification: Performance of SimCode: time 2.144e-06/0.01113, allocations: 0 / 302 MB, free: 6.574 MB / 266.7 MB Notification: Performance of Templates: time 0.004769/0.0159, allocations: 1.908 MB / 303.9 MB, free: 6.059 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.6811384889297187]