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.0008171/0.0008171, allocations: 77.95 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.0008757/0.0008757, allocations: 169.4 kB / 24.07 MB, free: 448 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.8841/0.8841, 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.05115/0.05115, allocations: 12.75 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_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.292e-06/1.292e-06, allocations: 0 / 347.9 MB, free: 2.027 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.482e-05, allocations: 4.844 kB / 347.9 MB, free: 2.023 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_2element): time 0.002328/0.002343, allocations: 2.509 MB / 350.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007499/0.003093, allocations: 0.6271 MB / 351.1 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.241e-05/0.003185, allocations: 4 kB / 351.1 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.003293, allocations: 27.72 kB / 351.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.003439, allocations: 71.41 kB / 351.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001234/0.003562, allocations: 59.8 kB / 351.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004511/0.004013, allocations: 238.7 kB / 351.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.004113, allocations: 25.8 kB / 351.5 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.004316, allocations: 135.5 kB / 351.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.004434, allocations: 71.81 kB / 351.7 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.004456, allocations: 12 kB / 351.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.794e-05/0.004474, allocations: 12 kB / 351.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.773e-05/0.004502, allocations: 31.91 kB / 351.7 MB, free: 14.19 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.004556, allocations: 59.84 kB / 351.8 MB, free: 14.13 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.00473, allocations: 139.5 kB / 351.9 MB, free: 14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.004732, allocations: 0 / 351.9 MB, free: 14 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.7e-07/0.004732, allocations: 0 / 351.9 MB, free: 14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.004737, allocations: 0 / 351.9 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.0004901/0.005227, allocations: 0.4884 MB / 352.4 MB, free: 13.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.005261, allocations: 11.98 kB / 352.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.005305, allocations: 24.8 kB / 352.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.00546, allocations: 176.2 kB / 352.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-05/0.005514, allocations: 64.19 kB / 352.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.005535, allocations: 12.38 kB / 352.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.005691, allocations: 139.4 kB / 352.8 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.005701, allocations: 4.188 kB / 352.8 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.005714, allocations: 11.94 kB / 352.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.005719, allocations: 0 / 352.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.071e-05/0.0058, allocations: 57.05 kB / 352.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.006215, allocations: 400.3 kB / 353.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.006436, allocations: 95 kB / 353.4 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.006474, allocations: 39.66 kB / 353.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.006486, allocations: 224 / 353.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.223e-05/0.006579, allocations: 114.6 kB / 353.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.00658, allocations: 0 / 353.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001947/0.006774, allocations: 132.9 kB / 353.7 MB, free: 12.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.006795, allocations: 59.34 kB / 353.7 MB, free: 12.03 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.569e-05/0.006891, allocations: 204.1 kB / 353.9 MB, free: 11.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.006905, allocations: 25.7 kB / 354 MB, free: 11.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.006966, allocations: 174.5 kB / 354.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.006992, allocations: 39.64 kB / 354.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.007032, allocations: 43.34 kB / 354.2 MB, free: 11.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.00713, allocations: 0.5001 MB / 354.7 MB, free: 11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.007155, allocations: 15.84 kB / 354.7 MB, free: 10.99 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.884e-05/0.007194, allocations: 47.03 kB / 354.8 MB, free: 10.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.955e-05/0.007274, allocations: 75.03 kB / 354.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007275, allocations: 3.938 kB / 354.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001193/0.007395, allocations: 117.4 kB / 355 MB, free: 10.72 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.007404, allocations: 4 kB / 355 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.007407, allocations: 4.031 kB / 355 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.007419, allocations: 4 kB / 355 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.007579, allocations: 47.95 kB / 355 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.007583, allocations: 3.938 kB / 355 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.313e-05/0.007636, allocations: 11.94 kB / 355 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.007644, allocations: 7.984 kB / 355 MB, free: 10.64 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 9.771e-05/0.007742, allocations: 172.5 kB / 355.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/0.007761, allocations: 19.91 kB / 355.2 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.0079, allocations: 110.4 kB / 355.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.007903, allocations: 0 / 355.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.007904, allocations: 4 kB / 355.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.007923, allocations: 27.78 kB / 355.4 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.007941, allocations: 4 kB / 355.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.884e-05/0.007989, allocations: 11.98 kB / 355.4 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.008018, allocations: 11.98 kB / 355.4 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002243/0.008242, allocations: 240.7 kB / 355.6 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002166/0.008459, allocations: 406.9 kB / 356 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.564e-05/0.008505, allocations: 39.41 kB / 356.1 MB, free: 9.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.634e-05/0.008551, allocations: 157.9 kB / 356.2 MB, free: 9.418 MB / 330.7 MB Notification: Performance of Backend: time 3.41e-07/0.008551, allocations: 0 / 356.2 MB, free: 9.418 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002475/0.008799, allocations: 135.4 kB / 356.4 MB, free: 9.273 MB / 330.7 MB Notification: Performance of SimCode: time 0.001059/0.009858, allocations: 1.1 MB / 357.5 MB, free: 8.121 MB / 330.7 MB Notification: Performance of Templates: time 0.003495/0.01335, allocations: 2.254 MB / 359.7 MB, free: 5.902 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.4889773479662836]