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.0008638/0.0008638, allocations: 77.86 kB / 20.66 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.0009074/0.0009074, allocations: 165 kB / 24.06 MB, free: 452 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.905/0.905, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.05192/0.05192, allocations: 12.76 MB / 273.8 MB, free: 128 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.283e-06/1.283e-06, allocations: 0 / 347.9 MB, free: 2.035 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.518e-06/1.08e-05, allocations: 2.312 kB / 347.9 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_4element): time 0.002483/0.002493, allocations: 2.836 MB / 350.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008801/0.003373, allocations: 0.6816 MB / 351.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.134e-05/0.003465, allocations: 11.94 kB / 351.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.003584, allocations: 43.56 kB / 351.5 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.003747, allocations: 91.17 kB / 351.6 MB, free: 14.35 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.003885, allocations: 87.75 kB / 351.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.004125, allocations: 338.2 kB / 352 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.004238, allocations: 40.56 kB / 352 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.004455, allocations: 191.5 kB / 352.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.00459, allocations: 91.72 kB / 352.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.004615, allocations: 20 kB / 352.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.322e-05/0.004638, allocations: 20 kB / 352.4 MB, free: 13.58 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.257e-05/0.004671, allocations: 43.83 kB / 352.4 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.69e-05/0.004737, allocations: 87.81 kB / 352.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.004911, allocations: 183.4 kB / 352.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004914, allocations: 11.92 kB / 352.7 MB, free: 13.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004914, allocations: 0 / 352.7 MB, free: 13.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.004919, allocations: 4 kB / 352.7 MB, free: 13.25 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005248/0.005444, allocations: 0.5461 MB / 353.2 MB, free: 12.67 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.005474, allocations: 11.98 kB / 353.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.005525, allocations: 44.73 kB / 353.3 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.005708, allocations: 212.2 kB / 353.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.777e-05/0.005776, allocations: 119.4 kB / 353.6 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.0058, allocations: 16.38 kB / 353.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.005984, allocations: 172.5 kB / 353.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.005996, allocations: 192 / 353.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.00601, allocations: 11.94 kB / 353.8 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.006016, allocations: 8 kB / 353.8 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.006123, allocations: 75.44 kB / 353.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007463/0.006869, allocations: 491.7 kB / 354.4 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.007119, allocations: 130.8 kB / 354.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.606e-05/0.007205, allocations: 71.56 kB / 354.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.007219, allocations: 4 kB / 354.6 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.007326, allocations: 122.7 kB / 354.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.007328, allocations: 0 / 354.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002067/0.007534, allocations: 156.5 kB / 354.8 MB, free: 10.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.729e-05/0.007552, allocations: 55.41 kB / 354.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.435e-05/0.007646, allocations: 225.7 kB / 355.1 MB, free: 10.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.007662, allocations: 29.7 kB / 355.1 MB, free: 10.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.007724, allocations: 187 kB / 355.3 MB, free: 10.4 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.00776, allocations: 67.47 kB / 355.4 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.00781, allocations: 51.31 kB / 355.4 MB, free: 10.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.007909, allocations: 0.5001 MB / 355.9 MB, free: 9.762 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.187e-05/0.007941, allocations: 19.84 kB / 356 MB, free: 9.742 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.306e-05/0.007994, allocations: 73.69 kB / 356 MB, free: 9.656 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.008121, allocations: 118.9 kB / 356.1 MB, free: 9.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.008123, allocations: 0 / 356.1 MB, free: 9.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001569/0.00828, allocations: 151.5 kB / 356.3 MB, free: 9.367 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.00829, allocations: 8 kB / 356.3 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.008294, allocations: 0 / 356.3 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.008303, allocations: 0 / 356.3 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.00855, allocations: 83.88 kB / 356.4 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/0.008553, allocations: 4.062 kB / 356.4 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.403e-05/0.008617, allocations: 19.89 kB / 356.4 MB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.008627, allocations: 7.984 kB / 356.4 MB, free: 9.246 MB / 330.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.0001082/0.008736, allocations: 173 kB / 356.6 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.00876, allocations: 27.86 kB / 356.6 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.008923, allocations: 155.4 kB / 356.8 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.008926, allocations: 0 / 356.8 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.008928, allocations: 0 / 356.8 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.008945, allocations: 15.84 kB / 356.8 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.008968, allocations: 16.05 kB / 356.8 MB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.429e-05/0.009022, allocations: 4 kB / 356.8 MB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.009055, allocations: 19.91 kB / 356.8 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003288/0.009384, allocations: 299.4 kB / 357.1 MB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002545/0.009639, allocations: 430.8 kB / 357.5 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.524e-05/0.009694, allocations: 54.28 kB / 357.6 MB, free: 8.031 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.071e-05/0.009745, allocations: 160.2 kB / 357.7 MB, free: 7.875 MB / 330.7 MB Notification: Performance of Backend: time 2.81e-07/0.009745, allocations: 0 / 357.7 MB, free: 7.875 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.01, allocations: 152.8 kB / 357.9 MB, free: 7.715 MB / 330.7 MB Notification: Performance of SimCode: time 0.001238/0.01124, allocations: 1.241 MB / 359.1 MB, free: 6.422 MB / 330.7 MB Notification: Performance of Templates: time 0.003997/0.01524, allocations: 2.772 MB / 361.9 MB, free: 3.699 MB / 330.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 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5205576699227095]