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.0009148/0.0009148, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.0009314/0.0009314, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9028/0.9028, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.101/0.101, allocations: 12.76 MB / 273 MB, free: 136 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 1.603e-06/1.603e-06, allocations: 0 / 347.1 MB, free: 2.031 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.059e-05, allocations: 2.312 kB / 347.1 MB, free: 2.027 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_2element): time 0.006013/0.006034, allocations: 2.516 MB / 349.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.007223, allocations: 0.6193 MB / 350.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.007344, allocations: 7.938 kB / 350.3 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.009515, allocations: 27.7 kB / 350.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.00973, allocations: 75.39 kB / 350.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.009914, allocations: 59.8 kB / 350.4 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.01017, allocations: 238.7 kB / 350.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.01029, allocations: 25.78 kB / 350.7 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.01057, allocations: 127.6 kB / 350.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.01073, allocations: 71.73 kB / 350.9 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.01075, allocations: 12 kB / 350.9 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.576e-05/0.01078, allocations: 20 kB / 350.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.472e-05/0.01081, allocations: 31.91 kB / 350.9 MB, free: 14.19 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.951e-05/0.01088, allocations: 63.83 kB / 351 MB, free: 14.13 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.01109, allocations: 127.6 kB / 351.1 MB, free: 14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.01109, allocations: 0 / 351.1 MB, free: 14 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01109, allocations: 3.938 kB / 351.1 MB, free: 14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.01109, allocations: 4 kB / 351.1 MB, free: 14 MB / 330.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.0005626/0.01166, allocations: 488.1 kB / 351.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.0117, allocations: 15.98 kB / 351.6 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.482e-05/0.01175, allocations: 32.78 kB / 351.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.01196, allocations: 183.2 kB / 351.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.915e-05/0.01203, allocations: 60.2 kB / 351.9 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.01205, allocations: 12.38 kB / 351.9 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.01226, allocations: 143.4 kB / 352.1 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.01227, allocations: 192 / 352.1 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.01228, allocations: 7.938 kB / 352.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006019/0.0183, allocations: 8 kB / 352.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.01842, allocations: 49.11 kB / 352.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005506/0.01897, allocations: 396.3 kB / 352.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.01924, allocations: 106.9 kB / 352.6 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.796e-05/0.01931, allocations: 27.67 kB / 352.6 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.01933, allocations: 4 kB / 352.6 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/0.01946, allocations: 114.7 kB / 352.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.01946, allocations: 224 / 352.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002472/0.01971, allocations: 133.5 kB / 352.9 MB, free: 12.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.01974, allocations: 63.28 kB / 352.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.01985, allocations: 201.8 kB / 353.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.01987, allocations: 25.7 kB / 353.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.01997, allocations: 170.5 kB / 353.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.02001, allocations: 43.62 kB / 353.4 MB, free: 11.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.02006, allocations: 39.34 kB / 353.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.02019, allocations: 0.4923 MB / 353.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.76e-05/0.02023, allocations: 19.89 kB / 353.9 MB, free: 10.99 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.111e-05/0.02028, allocations: 47.03 kB / 354 MB, free: 10.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.02039, allocations: 82.95 kB / 354.1 MB, free: 10.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.0204, allocations: 0 / 354.1 MB, free: 10.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001675/0.02056, allocations: 117.4 kB / 354.2 MB, free: 10.72 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.02058, allocations: 6.812 kB / 354.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.02059, allocations: 0 / 354.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.0206, allocations: 4 kB / 354.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.02088, allocations: 55.88 kB / 354.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.02088, allocations: 4 kB / 354.2 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.018e-05/0.02095, allocations: 15.92 kB / 354.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.02096, allocations: 4 kB / 354.3 MB, free: 10.63 MB / 330.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.0001288/0.02109, allocations: 176.6 kB / 354.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.02112, allocations: 23.84 kB / 354.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.02132, allocations: 110 kB / 354.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.02132, allocations: 4 kB / 354.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.02132, allocations: 3.938 kB / 354.6 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.02133, allocations: 0 / 354.6 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.02172, allocations: 393.8 kB / 355 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.02172, allocations: 0 / 355 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.02191, allocations: 35.97 kB / 355 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.02191, allocations: 4 kB / 355 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.02192, allocations: 4 kB / 355 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.02193, allocations: 3.938 kB / 355 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.02193, allocations: 0 / 355 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.0222, allocations: 283.8 kB / 355.3 MB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.02222, allocations: 11.91 kB / 355.3 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.02225, allocations: 7.984 kB / 355.3 MB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.701e-05/0.02234, allocations: 11.97 kB / 355.3 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.02239, allocations: 15.97 kB / 355.3 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.0224, allocations: 4 kB / 355.3 MB, free: 9.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.346e-05/0.02247, allocations: 149.6 kB / 355.5 MB, free: 9.355 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02247, allocations: 0 / 355.5 MB, free: 9.355 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002802/0.02275, allocations: 47.89 kB / 355.5 MB, free: 9.309 MB / 330.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 0.0001116/0.02286, allocations: 95.25 kB / 355.6 MB, free: 9.203 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.023, allocations: 63.58 kB / 355.7 MB, free: 9.137 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.02301, allocations: 8.062 kB / 355.7 MB, free: 9.129 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.301e-05/0.02309, allocations: 39.61 kB / 355.7 MB, free: 9.086 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.02345, allocations: 43.78 kB / 355.8 MB, free: 9.047 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.02488, allocations: 386.6 kB / 356.1 MB, free: 8.641 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.574e-05/0.02492, allocations: 63.84 kB / 356.2 MB, free: 8.555 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.542e-05/0.025, allocations: 21.14 kB / 356.2 MB, free: 8.535 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.02512, allocations: 98.17 kB / 356.3 MB, free: 8.438 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.02512, allocations: 0 / 356.3 MB, free: 8.438 MB / 330.7 MB Notification: Performance of Templates: time 0.004314/0.02943, allocations: 1.899 MB / 358.2 MB, free: 6.578 MB / 330.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.6522732311859727]