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.001058/0.001058, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001435/0.002493, 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.001113/0.001113, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.002498, 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.9633/0.9633, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07843/1.042, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.06842/0.06842, allocations: 12.75 MB / 256.7 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02665/0.09507, allocations: 4.832 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_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.202e-06/1.202e-06, allocations: 0 / 262.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.113e-05, allocations: 2.312 kB / 262.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_3element): time 0.00912/0.009141, allocations: 2.733 MB / 265.5 MB, free: 9.254 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.01018, allocations: 0.6815 MB / 266.2 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.01029, allocations: 3.938 kB / 266.2 MB, free: 8.566 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.649e-05/0.01038, allocations: 31.7 kB / 266.2 MB, free: 8.535 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.01056, allocations: 91.2 kB / 266.3 MB, free: 8.445 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.01071, allocations: 67.78 kB / 266.4 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.01098, allocations: 294.5 kB / 266.7 MB, free: 8.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.0111, allocations: 38.3 kB / 266.7 MB, free: 8.047 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.01136, allocations: 167.7 kB / 266.9 MB, free: 7.883 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005748/0.0171, allocations: 83.73 kB / 267 MB, free: 7.801 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.41e-05/0.01715, allocations: 16 kB / 267 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.798e-05/0.01718, allocations: 16 kB / 267 MB, free: 7.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.01722, allocations: 31.86 kB / 267 MB, free: 7.738 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.178e-05/0.01731, allocations: 63.88 kB / 267.1 MB, free: 7.676 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.01755, allocations: 155.4 kB / 267.2 MB, free: 7.523 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-05/0.01756, allocations: 0 / 267.2 MB, free: 7.523 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01756, allocations: 0 / 267.2 MB, free: 7.523 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.01758, allocations: 0 / 267.2 MB, free: 7.523 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.0006129/0.01819, allocations: 451.7 kB / 267.7 MB, free: 7.059 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.01822, allocations: 8.031 kB / 267.7 MB, free: 7.051 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.01827, allocations: 24.92 kB / 267.7 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.0185, allocations: 182.1 kB / 267.9 MB, free: 6.824 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.309e-05/0.01859, allocations: 119.2 kB / 268 MB, free: 6.684 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.01862, allocations: 12.38 kB / 268 MB, free: 6.672 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.01884, allocations: 170 kB / 268.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.01885, allocations: 4.188 kB / 268.2 MB, free: 6.488 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.01886, allocations: 11.94 kB / 268.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.01887, allocations: 4 kB / 268.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.01897, allocations: 55.62 kB / 268.3 MB, free: 6.418 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007473/0.01972, allocations: 323.7 kB / 268.6 MB, free: 6.086 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.02001, allocations: 110.5 kB / 268.7 MB, free: 5.969 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.044e-05/0.02006, allocations: 32.78 kB / 268.7 MB, free: 5.934 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.02009, allocations: 4 kB / 268.7 MB, free: 5.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.02022, allocations: 109 kB / 268.8 MB, free: 5.805 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.783e-06/0.02022, allocations: 0 / 268.8 MB, free: 5.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002033/0.02042, allocations: 109.1 kB / 268.9 MB, free: 5.695 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.02045, allocations: 51.41 kB / 269 MB, free: 5.633 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.846e-05/0.02055, allocations: 159.2 kB / 269.1 MB, free: 5.461 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.02057, allocations: 33.7 kB / 269.2 MB, free: 5.422 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.02063, allocations: 136.3 kB / 269.3 MB, free: 5.285 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.02067, allocations: 43.62 kB / 269.4 MB, free: 5.242 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.02072, allocations: 37.69 kB / 269.4 MB, free: 5.199 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.0208, allocations: 326.8 kB / 269.7 MB, free: 4.871 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.587e-05/0.02084, allocations: 15.98 kB / 269.7 MB, free: 4.855 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.124e-05/0.02089, allocations: 43.42 kB / 269.8 MB, free: 4.801 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.021, allocations: 82.81 kB / 269.8 MB, free: 4.711 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.02101, allocations: 4 kB / 269.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001497/0.02115, allocations: 101.6 kB / 270 MB, free: 4.602 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.02117, allocations: 11.94 kB / 270 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.02118, allocations: 0 / 270 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.02118, allocations: 0 / 270 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.02158, allocations: 95.91 kB / 270.1 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.02159, allocations: 4 kB / 270.1 MB, free: 4.492 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.182e-05/0.02168, allocations: 15.89 kB / 270.1 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.02169, allocations: 7.984 kB / 270.1 MB, free: 4.469 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 0.000145/0.02184, allocations: 129.8 kB / 270.2 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.02186, allocations: 15.92 kB / 270.2 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.02204, allocations: 95.11 kB / 270.3 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.02205, allocations: 4 kB / 270.3 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.02205, allocations: 0 / 270.3 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.02205, allocations: 3.984 kB / 270.3 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.02242, allocations: 290.8 kB / 270.6 MB, free: 3.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.02243, allocations: 7.922 kB / 270.6 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.02274, allocations: 79.86 kB / 270.7 MB, free: 3.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.02277, allocations: 15.84 kB / 270.7 MB, free: 3.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.02278, allocations: 0 / 270.7 MB, free: 3.805 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.02279, allocations: 4 kB / 270.7 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.0228, allocations: 12 kB / 270.7 MB, free: 3.789 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.0228, allocations: 0 / 270.7 MB, free: 3.789 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.02303, allocations: 211.2 kB / 270.9 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.02306, allocations: 8 kB / 270.9 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.02316, allocations: 7.984 kB / 271 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.02322, allocations: 16.02 kB / 271 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.02324, allocations: 7.984 kB / 271 MB, free: 3.531 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.247e-05/0.02328, allocations: 41.52 kB / 271 MB, free: 3.488 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02328, allocations: 0 / 271 MB, free: 3.488 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002611/0.02354, allocations: 55.92 kB / 271.1 MB, free: 3.434 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 9.41e-05/0.02363, allocations: 76.36 kB / 271.1 MB, free: 3.348 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.02379, allocations: 76.7 kB / 271.2 MB, free: 3.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/0.0238, allocations: 3.984 kB / 271.2 MB, free: 3.266 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7e-05/0.02387, allocations: 44.77 kB / 271.3 MB, free: 3.219 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.02413, allocations: 56.03 kB / 271.3 MB, free: 3.164 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005635/0.02976, allocations: 393.3 kB / 271.7 MB, free: 2.754 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.141e-05/0.02981, allocations: 75.84 kB / 271.8 MB, free: 2.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.02992, allocations: 21.48 kB / 271.8 MB, free: 2.637 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.03004, allocations: 83.36 kB / 271.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of SimCode: time 1.703e-06/0.03004, allocations: 0 / 271.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of Templates: time 0.003988/0.03403, allocations: 2.252 MB / 274.1 MB, free: 364 kB / 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.598315696232021]