Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.861/1.861, allocations: 285.6 MB / 293.1 MB, free: 10.19 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 188.8 kB / 361.4 MB, free: 6.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 94.5 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.691e-05/5.742e-05, allocations: 4 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7241/0.7242, allocations: 115.3 MB / 0.9645 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2041/0.9284, allocations: 142.5 MB / 1.104 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/0.9288, allocations: 88.77 kB / 1.104 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02708/0.9559, allocations: 10.09 MB / 1.114 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9559, allocations: 4 kB / 1.114 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.955e-05/0.956, allocations: 8.938 kB / 1.114 GB, free: 3.105 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008224/0.9568, allocations: 0.5559 MB / 1.114 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.9568, allocations: 16.02 kB / 1.114 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.957, allocations: 48.47 kB / 1.114 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000614/0.9576, allocations: 351.2 kB / 1.114 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.9576, allocations: 7.938 kB / 1.114 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.9577, allocations: 4 kB / 1.114 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001128/0.9578, allocations: 41.73 kB / 1.115 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.9579, allocations: 65.67 kB / 1.115 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.958, allocations: 0 / 1.115 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.958, allocations: 3.094 kB / 1.115 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.958, allocations: 0 / 1.115 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007743/0.9588, allocations: 453 kB / 1.115 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.9589, allocations: 54.69 kB / 1.115 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.9589, allocations: 24.98 kB / 1.115 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.959, allocations: 0 / 1.115 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/0.9591, allocations: 75.39 kB / 1.115 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.9591, allocations: 0 / 1.115 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.000261/0.9594, allocations: 125 kB / 1.115 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.9594, allocations: 51.41 kB / 1.115 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005304/0.96, allocations: 457.3 kB / 1.116 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.96, allocations: 29.69 kB / 1.116 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.9602, allocations: 223.9 kB / 1.116 GB, free: 380 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.9602, allocations: 15.8 kB / 1.116 GB, free: 364 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/0.9602, allocations: 4 kB / 1.116 GB, free: 360 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.9604, allocations: 354.8 kB / 1.116 GB, free: 16 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-05/0.9605, allocations: 55.98 kB / 1.116 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.9606, allocations: 75.33 kB / 1.116 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.9608, allocations: 59.97 kB / 1.117 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.9608, allocations: 112 / 1.117 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003744/0.9612, allocations: 222 kB / 1.117 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.9612, allocations: 5.25 kB / 1.117 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.9613, allocations: 3 kB / 1.117 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.9613, allocations: 4 kB / 1.117 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.9614, allocations: 19.98 kB / 1.117 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.9614, allocations: 0 / 1.117 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.9616, allocations: 15.98 kB / 1.117 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.9616, allocations: 7.953 kB / 1.117 GB, free: 15.53 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.575e-05/0.9617, allocations: 117 kB / 1.117 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000155/0.9619, allocations: 117.1 kB / 1.117 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.9619, allocations: 43.44 kB / 1.117 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.9621, allocations: 133.5 kB / 1.117 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.9621, allocations: 0 / 1.117 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.9622, allocations: 5.359 kB / 1.117 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.9622, allocations: 0 / 1.117 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.9624, allocations: 274.1 kB / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.9624, allocations: 4 kB / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.104e-05/0.9625, allocations: 4 kB / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.9625, allocations: 0 / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.9625, allocations: 3.984 kB / 1.117 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9626, allocations: 0 / 1.117 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9626, allocations: 4 kB / 1.117 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.9628, allocations: 156.4 kB / 1.118 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.9629, allocations: 125.9 kB / 1.118 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.9629, allocations: 0 / 1.118 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.45e-05/0.963, allocations: 15.98 kB / 1.118 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.9631, allocations: 11.98 kB / 1.118 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.9631, allocations: 3.984 kB / 1.118 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003579/0.9635, allocations: 335.8 kB / 1.118 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.81e-07/0.9635, allocations: 0 / 1.118 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003035/0.9638, allocations: 52 kB / 1.118 GB, free: 14.06 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001382/0.9652, allocations: 0.9937 MB / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.9654, allocations: 83.98 kB / 1.119 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9654, allocations: 0 / 1.119 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.01e-05/0.9655, allocations: 31.92 kB / 1.119 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.9658, allocations: 59.53 kB / 1.119 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.9669, allocations: 0.5379 MB / 1.12 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.9674, allocations: 0.8255 MB / 1.121 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.9675, allocations: 30.53 kB / 1.121 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.9676, allocations: 111.4 kB / 1.121 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.9676, allocations: 0 / 1.121 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.997, allocations: 6.734 MB / 1.127 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/0.9973, allocations: 191.8 kB / 1.128 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.927, allocations: 4 kB / 1.128 GB, free: 4.609 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)