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.0007327/0.0007327, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.00183, 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.0006838/0.0006838, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008761/0.00156, 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.9289/0.9289, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1068/1.036, allocations: 53.65 MB / 243.2 MB, free: 15.57 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.06057/0.06057, allocations: 12.75 MB / 256.7 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008935/0.06951, allocations: 4.818 MB / 261.5 MB, free: 13.24 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_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 8.21e-07/8.21e-07, allocations: 0 / 262.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.822e-05, allocations: 2.312 kB / 262.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_2element): time 0.002566/0.002584, allocations: 2.566 MB / 265.4 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007804/0.003364, allocations: 0.6348 MB / 266 MB, free: 8.762 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.691e-05/0.003441, allocations: 11.94 kB / 266 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.055e-05/0.003502, allocations: 23.78 kB / 266 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.003611, allocations: 67.34 kB / 266.1 MB, free: 8.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.003745, allocations: 67.78 kB / 266.2 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.003942, allocations: 238.7 kB / 266.4 MB, free: 8.359 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.548e-05/0.004028, allocations: 34.44 kB / 266.4 MB, free: 8.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.004213, allocations: 139.7 kB / 266.6 MB, free: 8.184 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.004325, allocations: 71.8 kB / 266.6 MB, free: 8.113 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.004344, allocations: 12 kB / 266.6 MB, free: 8.102 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.923e-05/0.004364, allocations: 12 kB / 266.7 MB, free: 8.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.004388, allocations: 23.88 kB / 266.7 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.004438, allocations: 47.94 kB / 266.7 MB, free: 8.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.00458, allocations: 123.5 kB / 266.8 MB, free: 7.898 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.248e-06/0.004589, allocations: 0 / 266.8 MB, free: 7.898 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.00459, allocations: 0 / 266.8 MB, free: 7.898 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.004601, allocations: 4 kB / 266.9 MB, free: 7.895 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.0004185/0.005019, allocations: 404.1 kB / 267.2 MB, free: 7.473 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.203e-05/0.005041, allocations: 8.031 kB / 267.3 MB, free: 7.465 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.005073, allocations: 20.91 kB / 267.3 MB, free: 7.445 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.005222, allocations: 164.6 kB / 267.4 MB, free: 7.262 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.274e-05/0.005275, allocations: 68.19 kB / 267.5 MB, free: 7.184 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.005292, allocations: 20.31 kB / 267.5 MB, free: 7.164 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.005436, allocations: 146.4 kB / 267.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.005443, allocations: 192 / 267.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.005453, allocations: 7.938 kB / 267.7 MB, free: 7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.005457, allocations: 7.938 kB / 267.7 MB, free: 6.992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.528e-05/0.005523, allocations: 45.12 kB / 267.7 MB, free: 6.949 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.005872, allocations: 284.2 kB / 268 MB, free: 6.656 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.006065, allocations: 90.5 kB / 268.1 MB, free: 6.559 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.006097, allocations: 28.84 kB / 268.1 MB, free: 6.527 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.006115, allocations: 7.938 kB / 268.1 MB, free: 6.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.562e-05/0.00621, allocations: 105 kB / 268.2 MB, free: 6.398 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.006211, allocations: 0 / 268.2 MB, free: 6.398 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001381/0.00635, allocations: 93.03 kB / 268.3 MB, free: 6.305 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.006376, allocations: 55.34 kB / 268.4 MB, free: 6.238 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/0.006463, allocations: 150.6 kB / 268.5 MB, free: 6.078 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.006478, allocations: 25.7 kB / 268.5 MB, free: 6.047 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.006524, allocations: 119.9 kB / 268.7 MB, free: 5.926 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.006552, allocations: 43.62 kB / 268.7 MB, free: 5.883 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.00659, allocations: 33.69 kB / 268.7 MB, free: 5.844 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.117e-05/0.006672, allocations: 326.8 kB / 269.1 MB, free: 5.516 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.996e-05/0.006692, allocations: 11.98 kB / 269.1 MB, free: 5.504 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.006726, allocations: 41.83 kB / 269.1 MB, free: 5.457 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.019e-05/0.006796, allocations: 70.58 kB / 269.2 MB, free: 5.379 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.006797, allocations: 0 / 269.2 MB, free: 5.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 8.759e-05/0.006885, allocations: 93.58 kB / 269.3 MB, free: 5.281 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/0.006894, allocations: 4 kB / 269.3 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.006898, allocations: 4 kB / 269.3 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-06/0.006904, allocations: 0 / 269.3 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.007076, allocations: 59.89 kB / 269.3 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.007078, allocations: 0 / 269.3 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.007e-05/0.007129, allocations: 19.88 kB / 269.4 MB, free: 5.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.007136, allocations: 12.03 kB / 269.4 MB, free: 5.184 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.951e-05/0.007226, allocations: 126.3 kB / 269.5 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.007239, allocations: 8 kB / 269.5 MB, free: 5.043 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.007342, allocations: 86.42 kB / 269.6 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.007344, allocations: 4 kB / 269.6 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.007346, allocations: 3.938 kB / 269.6 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.00735, allocations: 7.984 kB / 269.6 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.007572, allocations: 266.7 kB / 269.9 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.007573, allocations: 0 / 269.9 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.007713, allocations: 47.95 kB / 269.9 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.007729, allocations: 19.78 kB / 269.9 MB, free: 4.586 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.007732, allocations: 7.969 kB / 269.9 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.00774, allocations: 7.984 kB / 269.9 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.007742, allocations: 3.938 kB / 269.9 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.007743, allocations: 0 / 269.9 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.007891, allocations: 187.5 kB / 270.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.007911, allocations: 15.94 kB / 270.1 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.952e-05/0.007971, allocations: 7.984 kB / 270.2 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.007999, allocations: 15.97 kB / 270.2 MB, free: 4.328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.00801, allocations: 4 kB / 270.2 MB, free: 4.324 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.775e-05/0.008038, allocations: 31.06 kB / 270.2 MB, free: 4.293 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008038, allocations: 4.031 kB / 270.2 MB, free: 4.289 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000145/0.008183, allocations: 43.95 kB / 270.2 MB, free: 4.246 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 5.767e-05/0.00824, allocations: 84.34 kB / 270.3 MB, free: 4.156 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.5e-05/0.008335, allocations: 68.62 kB / 270.4 MB, free: 4.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.008342, allocations: 4 kB / 270.4 MB, free: 4.086 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.997e-05/0.008382, allocations: 32.84 kB / 270.4 MB, free: 4.051 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.00855, allocations: 51.97 kB / 270.5 MB, free: 4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005052/0.0136, allocations: 368.5 kB / 270.8 MB, free: 3.609 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.816e-05/0.01364, allocations: 67.84 kB / 270.9 MB, free: 3.523 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.405e-05/0.0137, allocations: 25.42 kB / 270.9 MB, free: 3.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.469e-05/0.01379, allocations: 75.36 kB / 271 MB, free: 3.426 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01379, allocations: 0 / 271 MB, free: 3.426 MB / 266.7 MB Notification: Performance of Templates: time 0.003347/0.01714, allocations: 1.997 MB / 273 MB, free: 1.469 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.46452830825001]