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.0008954/0.0008954, allocations: 77.14 kB / 20.67 MB, free: 3.836 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.001397/0.001397, allocations: 165 kB / 24.06 MB, free: 456 kB / 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.8782/0.8782, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.06209/0.06209, allocations: 12.76 MB / 273.8 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_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.001e-06/1.001e-06, allocations: 0 / 347.9 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.718e-06/1.072e-05, allocations: 6.25 kB / 347.9 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_3element): time 0.002163/0.002173, allocations: 2.684 MB / 350.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007933/0.002966, allocations: 0.6544 MB / 351.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.066e-05/0.003057, allocations: 7.938 kB / 351.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.003168, allocations: 31.66 kB / 351.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.003331, allocations: 91.23 kB / 351.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.003465, allocations: 67.78 kB / 351.5 MB, free: 13.42 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.003683, allocations: 290.5 kB / 351.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.584e-05/0.003779, allocations: 33.8 kB / 351.8 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.003979, allocations: 163.5 kB / 351.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.004103, allocations: 87.78 kB / 352 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.004125, allocations: 19.94 kB / 352 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.074e-05/0.004146, allocations: 16 kB / 352.1 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.847e-05/0.004175, allocations: 31.91 kB / 352.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.859e-05/0.004233, allocations: 75.83 kB / 352.2 MB, free: 12.71 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.004399, allocations: 159.5 kB / 352.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.004401, allocations: 3.938 kB / 352.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004401, allocations: 0 / 352.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.287e-06/0.004405, allocations: 4 kB / 352.3 MB, free: 12.55 MB / 282.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.0004785/0.004883, allocations: 0.5192 MB / 352.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.004913, allocations: 11.98 kB / 352.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.004959, allocations: 32.8 kB / 352.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.005128, allocations: 198.2 kB / 353.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.626e-05/0.005194, allocations: 119.4 kB / 353.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.005217, allocations: 16.38 kB / 353.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.005388, allocations: 161.9 kB / 353.4 MB, free: 11.4 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.0054, allocations: 192 / 353.4 MB, free: 11.4 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.005415, allocations: 11.92 kB / 353.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.005423, allocations: 4 kB / 353.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.813e-05/0.005512, allocations: 55.81 kB / 353.4 MB, free: 11.33 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.005959, allocations: 455.6 kB / 353.9 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.006181, allocations: 107 kB / 354 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.006223, allocations: 47.59 kB / 354 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.006236, allocations: 256 / 354 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.753e-05/0.006323, allocations: 117.5 kB / 354.2 MB, free: 10.56 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 9.72e-07/0.006324, allocations: 4 kB / 354.2 MB, free: 10.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.000197/0.006521, allocations: 141.5 kB / 354.3 MB, free: 10.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.61e-05/0.006537, allocations: 51.41 kB / 354.3 MB, free: 10.35 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.85e-05/0.006626, allocations: 224.5 kB / 354.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.00664, allocations: 29.7 kB / 354.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.006695, allocations: 175.1 kB / 354.8 MB, free: 9.898 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.006723, allocations: 47.62 kB / 354.8 MB, free: 9.852 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.006767, allocations: 51.3 kB / 354.9 MB, free: 9.793 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.296e-05/0.00686, allocations: 0.5039 MB / 355.4 MB, free: 9.277 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.778e-05/0.006888, allocations: 15.98 kB / 355.4 MB, free: 9.262 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.612e-05/0.006934, allocations: 64.91 kB / 355.4 MB, free: 9.184 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.808e-05/0.007022, allocations: 94.66 kB / 355.5 MB, free: 9.074 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.007024, allocations: 0 / 355.5 MB, free: 9.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001332/0.007157, allocations: 128.9 kB / 355.7 MB, free: 8.945 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.007169, allocations: 11.94 kB / 355.7 MB, free: 8.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.007172, allocations: 0 / 355.7 MB, free: 8.934 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.669e-06/0.007182, allocations: 0 / 355.7 MB, free: 8.934 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.007412, allocations: 75.94 kB / 355.8 MB, free: 8.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-06/0.007416, allocations: 4 kB / 355.8 MB, free: 8.855 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.994e-05/0.007476, allocations: 15.89 kB / 355.8 MB, free: 8.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.007485, allocations: 7.984 kB / 355.8 MB, free: 8.832 MB / 282.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 9.684e-05/0.007581, allocations: 176.5 kB / 356 MB, free: 8.648 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.007603, allocations: 23.84 kB / 356 MB, free: 8.625 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.007746, allocations: 127 kB / 356.1 MB, free: 8.492 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.007749, allocations: 0 / 356.1 MB, free: 8.492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.007751, allocations: 4 kB / 356.1 MB, free: 8.488 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.661e-05/0.007768, allocations: 15.89 kB / 356.1 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.007786, allocations: 8 kB / 356.1 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.894e-05/0.007835, allocations: 4 kB / 356.1 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.007865, allocations: 19.97 kB / 356.2 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002684/0.008133, allocations: 271.9 kB / 356.4 MB, free: 8.172 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002191/0.008352, allocations: 418.8 kB / 356.8 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.596e-05/0.008398, allocations: 43.66 kB / 356.9 MB, free: 7.695 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.84e-05/0.008447, allocations: 156.8 kB / 357 MB, free: 7.543 MB / 282.7 MB Notification: Performance of Backend: time 2.4e-07/0.008447, allocations: 3.938 kB / 357 MB, free: 7.539 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.008691, allocations: 140.8 kB / 357.2 MB, free: 7.387 MB / 282.7 MB Notification: Performance of SimCode: time 0.001039/0.009731, allocations: 1.142 MB / 358.3 MB, free: 6.195 MB / 282.7 MB Notification: Performance of Templates: time 0.003453/0.01318, allocations: 2.498 MB / 360.8 MB, free: 3.742 MB / 282.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.4352026670239866]