Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.443/1.443, allocations: 249.3 MB / 261.8 MB, free: 5.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 184.7 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.1 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008436/0.0008436, allocations: 86.52 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.847e-05/2.858e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1656, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5635/0.7291, allocations: 136.7 MB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.7294, allocations: 87.38 kB / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02566/0.7551, allocations: 9.958 MB / 1.035 GB, free: 5.402 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7552, allocations: 0 / 1.035 GB, free: 5.402 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.206e-05/0.7552, allocations: 16 kB / 1.035 GB, free: 5.387 MB / 0.6511 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.0005978/0.7558, allocations: 0.5593 MB / 1.036 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.7558, allocations: 12.03 kB / 1.036 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.7559, allocations: 33.81 kB / 1.036 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.756, allocations: 47.42 kB / 1.036 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.7564, allocations: 332.1 kB / 1.036 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.7564, allocations: 7.5 kB / 1.036 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.7565, allocations: 7.984 kB / 1.036 GB, free: 4.352 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.7566, allocations: 74.55 kB / 1.036 GB, free: 4.289 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.7566, allocations: 0 / 1.036 GB, free: 4.289 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.7567, allocations: 0 / 1.036 GB, free: 4.289 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.7567, allocations: 4 kB / 1.036 GB, free: 4.285 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.034e-05/0.7568, allocations: 36.23 kB / 1.036 GB, free: 4.262 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.7574, allocations: 475.8 kB / 1.037 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.7575, allocations: 69.75 kB / 1.037 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.513e-05/0.7576, allocations: 27.61 kB / 1.037 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.7576, allocations: 0 / 1.037 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.7577, allocations: 80.31 kB / 1.037 GB, free: 3.652 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.7578, allocations: 0 / 1.037 GB, free: 3.652 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.000231/0.758, allocations: 124.9 kB / 1.037 GB, free: 3.539 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.758, allocations: 55.41 kB / 1.037 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000468/0.7585, allocations: 468.1 kB / 1.038 GB, free: 3.102 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.7585, allocations: 37.08 kB / 1.038 GB, free: 3.062 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.7587, allocations: 209.8 kB / 1.038 GB, free: 2.941 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.7587, allocations: 19.42 kB / 1.038 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/0.7587, allocations: 7.312 kB / 1.038 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.7588, allocations: 350.8 kB / 1.038 GB, free: 2.586 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.648e-05/0.7589, allocations: 55.36 kB / 1.038 GB, free: 2.551 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.7591, allocations: 98.62 kB / 1.038 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.211e-05/0.7592, allocations: 54.39 kB / 1.038 GB, free: 2.434 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7592, allocations: 0 / 1.038 GB, free: 2.434 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002701/0.7594, allocations: 206.2 kB / 1.039 GB, free: 2.266 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.7595, allocations: 4 kB / 1.039 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.7595, allocations: 4 kB / 1.039 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.7595, allocations: 0 / 1.039 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.7596, allocations: 23.94 kB / 1.039 GB, free: 2.234 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.7596, allocations: 4 kB / 1.039 GB, free: 2.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.7598, allocations: 23.27 kB / 1.039 GB, free: 2.211 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.7598, allocations: 4 kB / 1.039 GB, free: 2.207 MB / 0.6511 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 7.193e-05/0.7599, allocations: 120.4 kB / 1.039 GB, free: 2.086 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.7599, allocations: 39.52 kB / 1.039 GB, free: 2.047 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.7602, allocations: 132.7 kB / 1.039 GB, free: 1.934 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.7602, allocations: 0 / 1.039 GB, free: 1.934 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.7602, allocations: 3.953 kB / 1.039 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7602, allocations: 0 / 1.039 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.7604, allocations: 307.1 kB / 1.039 GB, free: 1.629 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7604, allocations: 3.938 kB / 1.039 GB, free: 1.625 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/0.7605, allocations: 7.938 kB / 1.039 GB, free: 1.617 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.7605, allocations: 8 kB / 1.039 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.7605, allocations: 0 / 1.039 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.7605, allocations: 0 / 1.039 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7605, allocations: 0 / 1.039 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.7607, allocations: 154.3 kB / 1.039 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.851e-05/0.7608, allocations: 115.4 kB / 1.039 GB, free: 1.328 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.7608, allocations: 0 / 1.039 GB, free: 1.328 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.274e-05/0.7609, allocations: 18.92 kB / 1.039 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.761, allocations: 7.984 kB / 1.04 GB, free: 1.305 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.761, allocations: 4.062 kB / 1.04 GB, free: 1.301 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003278/0.7613, allocations: 357.4 kB / 1.04 GB, free: 1.023 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7614, allocations: 0 / 1.04 GB, free: 1.023 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000264/0.7616, allocations: 62.95 kB / 1.04 GB, free: 0.9688 MB / 0.6511 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.001115/0.7627, allocations: 0.9851 MB / 1.041 GB, free: 76 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001769/0.7629, allocations: 102.2 kB / 1.041 GB, free: 4 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.7629, allocations: 64 / 1.041 GB, free: 4 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-05/0.763, allocations: 38.67 kB / 1.041 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.7633, allocations: 54.27 kB / 1.041 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008522/0.7642, allocations: 0.54 MB / 1.042 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.7645, allocations: 0.825 MB / 1.042 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 8.14e-05/0.7646, allocations: 21.33 kB / 1.042 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.7647, allocations: 109.1 kB / 1.043 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of SimCode: time 2.6e-07/0.7648, allocations: 4 kB / 1.043 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.7825, allocations: 7.414 MB / 1.05 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/0.7827, allocations: 222.2 kB / 1.05 GB, free: 6.996 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.689, allocations: 0 / 1.05 GB, free: 6.996 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)