Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.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.0009956/0.0009956, 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.001572/0.001572, 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 1.023/1.023, 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.09617/0.09617, allocations: 12.76 MB / 273 MB, free: 152 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_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element") translateModel(Bodylight.Hydraulic.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 293.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.47e-05, allocations: 2.312 kB / 293.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_4element): time 0.004121/0.004145, allocations: 2.882 MB / 296.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.005628, allocations: 0.7027 MB / 297.5 MB, free: 9.559 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.005806, allocations: 12.09 kB / 297.5 MB, free: 9.551 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.005968, allocations: 42.58 kB / 297.6 MB, free: 9.523 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.006289, allocations: 97.12 kB / 297.6 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.006582, allocations: 80.47 kB / 297.7 MB, free: 9.414 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004549/0.007037, allocations: 338.3 kB / 298.1 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.007194, allocations: 46.52 kB / 298.1 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004319/0.007626, allocations: 185.2 kB / 298.3 MB, free: 9.145 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.007876, allocations: 94.14 kB / 298.4 MB, free: 9.117 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.439e-05/0.00792, allocations: 19.03 kB / 298.4 MB, free: 9.117 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.317e-05/0.007973, allocations: 19.53 kB / 298.4 MB, free: 9.117 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.186e-05/0.008025, allocations: 51.55 kB / 298.5 MB, free: 9.082 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.008146, allocations: 85.86 kB / 298.5 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.008486, allocations: 184.8 kB / 298.7 MB, free: 8.969 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.00849, allocations: 1.188 kB / 298.7 MB, free: 8.969 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.008491, allocations: 0.6094 kB / 298.7 MB, free: 8.969 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.008497, allocations: 0 / 298.7 MB, free: 8.969 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006909/0.009188, allocations: 441.3 kB / 299.2 MB, free: 8.629 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.009225, allocations: 13.89 kB / 299.2 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.345e-05/0.009308, allocations: 29.19 kB / 299.2 MB, free: 8.621 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.009589, allocations: 191.9 kB / 299.4 MB, free: 8.453 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.094e-05/0.00967, allocations: 127.6 kB / 299.5 MB, free: 8.316 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.00971, allocations: 21 kB / 299.5 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.01001, allocations: 173 kB / 299.7 MB, free: 8.215 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.01002, allocations: 8.078 kB / 299.7 MB, free: 8.207 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.01004, allocations: 10.19 kB / 299.7 MB, free: 8.199 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.01005, allocations: 5.188 kB / 299.7 MB, free: 8.199 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.01019, allocations: 64.62 kB / 299.8 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007218/0.01092, allocations: 364.3 kB / 300.1 MB, free: 7.965 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.0113, allocations: 112.3 kB / 300.3 MB, free: 7.926 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.01143, allocations: 53.17 kB / 300.3 MB, free: 7.914 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.01146, allocations: 15.91 kB / 300.3 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.0116, allocations: 113.8 kB / 300.4 MB, free: 7.816 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.973e-06/0.01161, allocations: 4 kB / 300.4 MB, free: 7.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002653/0.01187, allocations: 119.2 kB / 300.6 MB, free: 7.773 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.01189, allocations: 53.94 kB / 300.6 MB, free: 7.711 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.01201, allocations: 164.7 kB / 300.8 MB, free: 7.586 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.01203, allocations: 35.38 kB / 300.8 MB, free: 7.547 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.01209, allocations: 134.4 kB / 300.9 MB, free: 7.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.01213, allocations: 55.06 kB / 301 MB, free: 7.387 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.265e-05/0.01221, allocations: 40.59 kB / 301 MB, free: 7.359 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.01226, allocations: 333.2 kB / 301.4 MB, free: 7.035 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.801e-05/0.01231, allocations: 15.83 kB / 301.4 MB, free: 7.035 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.603e-05/0.01237, allocations: 57.41 kB / 301.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.01256, allocations: 118.4 kB / 301.5 MB, free: 6.941 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01257, allocations: 0 / 301.5 MB, free: 6.941 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002077/0.01277, allocations: 117.1 kB / 301.7 MB, free: 6.898 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.01279, allocations: 5.656 kB / 301.7 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.0128, allocations: 5.281 kB / 301.7 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.01282, allocations: 1.562 kB / 301.7 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005125/0.01333, allocations: 103.1 kB / 301.8 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.01333, allocations: 2.594 kB / 301.8 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.01345, allocations: 21.83 kB / 301.8 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.01347, allocations: 8.516 kB / 301.8 MB, free: 6.871 MB / 266.7 MB Warning: Assuming fixed start value for the following 3 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 inertia.q_in.q:VARIABLE(flow=true unit = \"m3/s\" fixed = true nominal = 1.6666666666666667e-8 ) \"Volume flow\" 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 (24): * Single equations (assignments): 24 * 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.0001521/0.01362, allocations: 140.1 kB / 301.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.01366, allocations: 17.83 kB / 302 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.01388, allocations: 106.5 kB / 302.1 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.01389, allocations: 9.312 kB / 302.1 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.01389, allocations: 3.938 kB / 302.1 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.0139, allocations: 3.109 kB / 302.1 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004614/0.01436, allocations: 316.1 kB / 302.4 MB, free: 6.461 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01436, allocations: 1.375 kB / 302.4 MB, free: 6.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004227/0.01478, allocations: 88.33 kB / 302.5 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01479, allocations: 1.375 kB / 302.5 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.01481, allocations: 6.641 kB / 302.5 MB, free: 6.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01481, allocations: 0 / 302.5 MB, free: 6.449 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.01481, allocations: 5.859 kB / 302.5 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.0151, allocations: 216.9 kB / 302.7 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.01512, allocations: 22.17 kB / 302.7 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.01515, allocations: 6.359 kB / 302.7 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.01528, allocations: 12.03 kB / 302.7 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.01534, allocations: 24.78 kB / 302.8 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.01536, allocations: 11.48 kB / 302.8 MB, free: 6.266 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.061e-05/0.01542, allocations: 43.12 kB / 302.8 MB, free: 6.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01542, allocations: 0 / 302.8 MB, free: 6.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003103/0.01573, allocations: 60.02 kB / 302.9 MB, free: 6.238 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (arteries.volume,inertia.q_in.q) * 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 (18): * Single equations (assignments): 15 * 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.859e-05/0.01583, allocations: 83.67 kB / 303 MB, free: 6.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.01603, allocations: 83.52 kB / 303 MB, free: 6.141 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.01604, allocations: 1.188 kB / 303 MB, free: 6.141 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.198e-05/0.01611, allocations: 49.16 kB / 303.1 MB, free: 6.129 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.01634, allocations: 45.69 kB / 303.1 MB, free: 6.113 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.01751, allocations: 497.3 kB / 303.6 MB, free: 5.801 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.177e-05/0.01755, allocations: 77.56 kB / 303.7 MB, free: 5.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.117e-05/0.01764, allocations: 25.09 kB / 303.7 MB, free: 5.723 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.01776, allocations: 88.84 kB / 303.8 MB, free: 5.676 MB / 266.7 MB Notification: Performance of SimCode: time 1.553e-06/0.01776, allocations: 0 / 303.8 MB, free: 5.676 MB / 266.7 MB Notification: Performance of Templates: time 0.004552/0.02232, allocations: 2.468 MB / 306.3 MB, free: 4.531 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.sim & ./Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.873827082104981]