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.0006703/0.0006703, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001284/0.001955, allocations: 440 kB / 10.41 MB, free: 284 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.0006756/0.0006756, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009227/0.001598, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9097/0.9097, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08857/0.9983, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.05606/0.05606, allocations: 12.75 MB / 256.9 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008221/0.06429, allocations: 4.838 MB / 261.7 MB, free: 13.14 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_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.212e-06/1.212e-06, allocations: 0 / 263 MB, free: 11.87 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.379e-05/1.5e-05, allocations: 6.312 kB / 263 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_3element): time 0.002351/0.002366, allocations: 2.741 MB / 265.7 MB, free: 9.102 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000851/0.003217, allocations: 0.6815 MB / 266.4 MB, free: 8.418 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.49e-05/0.003302, allocations: 3.938 kB / 266.4 MB, free: 8.414 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.848e-05/0.00338, allocations: 39.58 kB / 266.5 MB, free: 8.375 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.003499, allocations: 83.31 kB / 266.5 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.003624, allocations: 75.78 kB / 266.6 MB, free: 8.219 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.00384, allocations: 286.5 kB / 266.9 MB, free: 7.938 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.79e-05/0.003938, allocations: 46.28 kB / 266.9 MB, free: 7.891 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.004144, allocations: 167.6 kB / 267.1 MB, free: 7.727 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.004269, allocations: 75.8 kB / 267.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.004294, allocations: 16 kB / 267.2 MB, free: 7.637 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.396e-05/0.004318, allocations: 16 kB / 267.2 MB, free: 7.621 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.084e-05/0.004349, allocations: 27.88 kB / 267.2 MB, free: 7.594 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.004402, allocations: 67.88 kB / 267.3 MB, free: 7.527 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.00457, allocations: 155.4 kB / 267.5 MB, free: 7.375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.00458, allocations: 0 / 267.5 MB, free: 7.375 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.00458, allocations: 0 / 267.5 MB, free: 7.375 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.00459, allocations: 0 / 267.5 MB, free: 7.375 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005292/0.005119, allocations: 451.6 kB / 267.9 MB, free: 6.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.685e-05/0.005146, allocations: 8.031 kB / 267.9 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.005192, allocations: 24.92 kB / 267.9 MB, free: 6.879 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.005379, allocations: 186 kB / 268.1 MB, free: 6.672 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.812e-05/0.005467, allocations: 123.2 kB / 268.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.005497, allocations: 16.38 kB / 268.2 MB, free: 6.512 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.005676, allocations: 158 kB / 268.4 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.005685, allocations: 192 / 268.4 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.0057, allocations: 11.94 kB / 268.4 MB, free: 6.332 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.005711, allocations: 8 kB / 268.4 MB, free: 6.324 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.097e-05/0.005792, allocations: 59.62 kB / 268.5 MB, free: 6.266 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.006212, allocations: 315.7 kB / 268.8 MB, free: 5.941 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.006433, allocations: 110.4 kB / 268.9 MB, free: 5.824 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.006469, allocations: 31.72 kB / 268.9 MB, free: 5.793 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.006487, allocations: 7.984 kB / 268.9 MB, free: 5.785 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/0.006587, allocations: 116.4 kB / 269 MB, free: 5.656 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.006588, allocations: 0 / 269 MB, free: 5.656 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001718/0.00676, allocations: 109.5 kB / 269.2 MB, free: 5.543 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.006784, allocations: 51.41 kB / 269.2 MB, free: 5.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.37e-05/0.006868, allocations: 155.3 kB / 269.4 MB, free: 5.312 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.006884, allocations: 25.7 kB / 269.4 MB, free: 5.281 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.006939, allocations: 132.3 kB / 269.5 MB, free: 5.148 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.00697, allocations: 47.61 kB / 269.6 MB, free: 5.102 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.007011, allocations: 37.69 kB / 269.6 MB, free: 5.059 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.863e-05/0.007089, allocations: 326.8 kB / 269.9 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.378e-05/0.007113, allocations: 15.98 kB / 269.9 MB, free: 4.715 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.431e-05/0.007157, allocations: 47.41 kB / 270 MB, free: 4.656 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.532e-05/0.007243, allocations: 87.55 kB / 270.1 MB, free: 4.559 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.007244, allocations: 0 / 270.1 MB, free: 4.559 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001026/0.007347, allocations: 105.5 kB / 270.2 MB, free: 4.449 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.007359, allocations: 7.938 kB / 270.2 MB, free: 4.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.007363, allocations: 4.062 kB / 270.2 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.007374, allocations: 4 kB / 270.2 MB, free: 4.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.007646, allocations: 83.92 kB / 270.3 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.007651, allocations: 8 kB / 270.3 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.874e-05/0.00771, allocations: 19.88 kB / 270.3 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.007719, allocations: 8 kB / 270.3 MB, free: 4.316 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: 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.837e-05/0.007817, allocations: 125.7 kB / 270.4 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.007835, allocations: 15.92 kB / 270.4 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.007952, allocations: 99.11 kB / 270.5 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.007954, allocations: 4 kB / 270.5 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.007956, allocations: 4 kB / 270.5 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.007958, allocations: 0 / 270.5 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.008199, allocations: 294.7 kB / 270.8 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.0082, allocations: 0 / 270.8 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.00841, allocations: 79.86 kB / 270.9 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.008428, allocations: 23.78 kB / 270.9 MB, free: 3.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.00843, allocations: 0 / 270.9 MB, free: 3.648 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.00844, allocations: 7.984 kB / 270.9 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.008441, allocations: 0 / 270.9 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.008442, allocations: 0 / 270.9 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.008611, allocations: 215.4 kB / 271.1 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.008625, allocations: 32 / 271.1 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.489e-05/0.00869, allocations: 19.98 kB / 271.2 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.008722, allocations: 7.984 kB / 271.2 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.008735, allocations: 3.984 kB / 271.2 MB, free: 3.387 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.678e-05/0.008762, allocations: 42.45 kB / 271.2 MB, free: 3.344 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008762, allocations: 0 / 271.2 MB, free: 3.344 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001515/0.008913, allocations: 55.89 kB / 271.3 MB, free: 3.289 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 (15): * Single equations (assignments): 12 * 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 7.367e-05/0.008987, allocations: 84.34 kB / 271.4 MB, free: 3.195 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.009098, allocations: 76.08 kB / 271.4 MB, free: 3.121 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/0.009106, allocations: 4 kB / 271.4 MB, free: 3.117 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.148e-05/0.009167, allocations: 56.7 kB / 271.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.009457, allocations: 321.1 kB / 271.8 MB, free: 2.684 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005385/0.01484, allocations: 381.6 kB / 272.2 MB, free: 2.285 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.745e-05/0.01489, allocations: 79.86 kB / 272.3 MB, free: 2.188 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.662e-05/0.01497, allocations: 13.48 kB / 272.3 MB, free: 2.172 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.01508, allocations: 95.34 kB / 272.4 MB, free: 2.078 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01508, allocations: 0 / 272.4 MB, free: 2.078 MB / 266.7 MB Notification: Performance of Templates: time 0.1512/0.1663, allocations: 2.254 MB / 274.6 MB, free: 7.883 MB / 266.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.6673374557867646]