Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.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.0008311/0.0008311, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001021/0.001021, allocations: 181 kB / 23.36 MB, free: 1.133 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.9685/0.9685, 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.0616/0.0616, 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_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element") translateModel(Bodylight.Hydraulic.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 293.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049e-05/1.164e-05, allocations: 3.469 kB / 293.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_3element): time 0.00244/0.002452, allocations: 2.689 MB / 296.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009201/0.003372, allocations: 0.6789 MB / 297.2 MB, free: 9.758 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.003473, allocations: 7.031 kB / 297.2 MB, free: 9.754 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.003593, allocations: 33.97 kB / 297.3 MB, free: 9.734 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.003784, allocations: 84.48 kB / 297.4 MB, free: 9.676 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.00394, allocations: 68.09 kB / 297.4 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.004177, allocations: 291.9 kB / 297.7 MB, free: 9.488 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.00428, allocations: 38.23 kB / 297.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.004525, allocations: 153.7 kB / 297.9 MB, free: 9.414 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.004671, allocations: 86.39 kB / 298 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.004699, allocations: 16.12 kB / 298 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.628e-05/0.004725, allocations: 15.84 kB / 298 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.004764, allocations: 41.09 kB / 298.1 MB, free: 9.359 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.742e-05/0.004831, allocations: 71.42 kB / 298.1 MB, free: 9.336 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.005016, allocations: 166.3 kB / 298.3 MB, free: 9.258 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.482e-06/0.005018, allocations: 4 kB / 298.3 MB, free: 9.254 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005018, allocations: 1.188 kB / 298.3 MB, free: 9.254 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.005022, allocations: 0.6094 kB / 298.3 MB, free: 9.254 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0004435/0.005466, allocations: 400.6 kB / 298.7 MB, free: 8.938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.005496, allocations: 14.73 kB / 298.7 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.005542, allocations: 25.55 kB / 298.7 MB, free: 8.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.005724, allocations: 182 kB / 298.9 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.952e-05/0.005783, allocations: 118.8 kB / 299 MB, free: 8.641 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.005807, allocations: 16.23 kB / 299 MB, free: 8.637 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.005982, allocations: 165.8 kB / 299.2 MB, free: 8.539 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.005991, allocations: 1.281 kB / 299.2 MB, free: 8.539 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.006003, allocations: 9.844 kB / 299.2 MB, free: 8.531 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.00601, allocations: 7.391 kB / 299.2 MB, free: 8.527 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.874e-05/0.006098, allocations: 58.19 kB / 299.3 MB, free: 8.516 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.006503, allocations: 324.5 kB / 299.6 MB, free: 8.305 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.006729, allocations: 103.6 kB / 299.7 MB, free: 8.262 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/0.006768, allocations: 29.2 kB / 299.7 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.006784, allocations: 3.469 kB / 299.7 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.189e-05/0.006866, allocations: 116.3 kB / 299.8 MB, free: 8.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/0.006867, allocations: 0 / 299.8 MB, free: 8.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001582/0.007025, allocations: 103.4 kB / 299.9 MB, free: 8.121 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.693e-05/0.007042, allocations: 57.5 kB / 300 MB, free: 8.055 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.333e-05/0.007116, allocations: 157 kB / 300.1 MB, free: 7.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.007128, allocations: 31.27 kB / 300.2 MB, free: 7.895 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.007164, allocations: 128.6 kB / 300.3 MB, free: 7.781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.00719, allocations: 48.81 kB / 300.3 MB, free: 7.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.007233, allocations: 38.44 kB / 300.4 MB, free: 7.715 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.337e-05/0.007266, allocations: 331.8 kB / 300.7 MB, free: 7.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.007292, allocations: 18.61 kB / 300.7 MB, free: 7.387 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.812e-05/0.007331, allocations: 41.73 kB / 300.8 MB, free: 7.355 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.674e-05/0.007417, allocations: 84.33 kB / 300.9 MB, free: 7.312 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.00742, allocations: 1.375 kB / 300.9 MB, free: 7.312 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000116/0.007536, allocations: 102.7 kB / 301 MB, free: 7.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.007548, allocations: 11.52 kB / 301 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.007552, allocations: 0.625 kB / 301 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.007564, allocations: 6.656 kB / 301 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.007785, allocations: 62.73 kB / 301 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.007789, allocations: 2.188 kB / 301 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.237e-05/0.007852, allocations: 17.45 kB / 301.1 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.00786, allocations: 4.172 kB / 301.1 MB, free: 7.254 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: 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 (20): * Single equations (assignments): 20 * 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.281e-05/0.007943, allocations: 141.9 kB / 301.2 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.007962, allocations: 20.83 kB / 301.2 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.008082, allocations: 98.42 kB / 301.3 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.008085, allocations: 6.078 kB / 301.3 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.008087, allocations: 4.969 kB / 301.3 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.008091, allocations: 1.078 kB / 301.3 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.00833, allocations: 287.3 kB / 301.6 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.008331, allocations: 0 / 301.6 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.008509, allocations: 57.84 kB / 301.7 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.008512, allocations: 1.5 kB / 301.7 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.008523, allocations: 6.25 kB / 301.7 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.008525, allocations: 5.969 kB / 301.7 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.008527, allocations: 0 / 301.7 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.008695, allocations: 208.5 kB / 301.9 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.00871, allocations: 17.28 kB / 301.9 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.008727, allocations: 7.578 kB / 301.9 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.286e-05/0.00879, allocations: 7.125 kB / 301.9 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.008824, allocations: 19.11 kB / 301.9 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.008837, allocations: 3.125 kB / 301.9 MB, free: 6.664 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.124e-05/0.008868, allocations: 42.47 kB / 302 MB, free: 6.648 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008868, allocations: 4.031 kB / 302 MB, free: 6.645 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001615/0.009029, allocations: 56.45 kB / 302 MB, free: 6.629 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 (15): * Single equations (assignments): 12 * 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 6.169e-05/0.009091, allocations: 81.45 kB / 302.1 MB, free: 6.555 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.009201, allocations: 73.39 kB / 302.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.009205, allocations: 1.375 kB / 302.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.862e-05/0.009253, allocations: 39.56 kB / 302.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.00942, allocations: 38.62 kB / 302.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008946/0.01031, allocations: 429.9 kB / 302.7 MB, free: 6.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.048e-05/0.01034, allocations: 77.08 kB / 302.8 MB, free: 6.156 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.187e-05/0.01041, allocations: 16.11 kB / 302.8 MB, free: 6.156 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.344e-05/0.01049, allocations: 87.73 kB / 302.9 MB, free: 6.102 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01049, allocations: 0 / 302.9 MB, free: 6.102 MB / 266.7 MB Notification: Performance of Templates: time 0.003683/0.01417, allocations: 2.071 MB / 304.9 MB, free: 5.395 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.sim & ./Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7072615921497345]