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.438/1.438, allocations: 249.5 MB / 257 MB, free: 6.879 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.001053/0.001053, allocations: 191.6 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0008853/0.0008852, allocations: 97.17 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.943e-05/1.946e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1837, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6386/0.8224, allocations: 137.1 MB / 1.019 GB, free: 452 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.8227, allocations: 88.08 kB / 1.019 GB, free: 404 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0252/0.8479, allocations: 9.85 MB / 1.029 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.243e-06/0.848, allocations: 0 / 1.029 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.155e-05/0.848, allocations: 8 kB / 1.029 GB, free: 8.035 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.0006502/0.8487, allocations: 0.5706 MB / 1.029 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.8487, allocations: 12.03 kB / 1.029 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.643e-05/0.8488, allocations: 44.47 kB / 1.029 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/0.8493, allocations: 326.6 kB / 1.03 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.8493, allocations: 4 kB / 1.03 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.8493, allocations: 7.938 kB / 1.03 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001008/0.8494, allocations: 36.8 kB / 1.03 GB, free: 7.016 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.8495, allocations: 68.05 kB / 1.03 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.8496, allocations: 0 / 1.03 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.8496, allocations: 0 / 1.03 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.8496, allocations: 4 kB / 1.03 GB, free: 6.949 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006041/0.8502, allocations: 452.2 kB / 1.03 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.8503, allocations: 58.17 kB / 1.03 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.948e-05/0.8504, allocations: 31.66 kB / 1.03 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.8504, allocations: 4 kB / 1.03 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.8505, allocations: 73.95 kB / 1.03 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.8505, allocations: 0 / 1.03 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0002324/0.8508, allocations: 124.7 kB / 1.031 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.8508, allocations: 55.36 kB / 1.031 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000457/0.8513, allocations: 442.9 kB / 1.031 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.8513, allocations: 33.02 kB / 1.031 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.8514, allocations: 211 kB / 1.031 GB, free: 5.695 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.8515, allocations: 15.3 kB / 1.031 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.908e-06/0.8515, allocations: 0 / 1.031 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.8516, allocations: 360.2 kB / 1.032 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.382e-05/0.8517, allocations: 49.48 kB / 1.032 GB, free: 5.309 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.253e-05/0.8518, allocations: 86.7 kB / 1.032 GB, free: 5.238 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.255e-05/0.8519, allocations: 53.41 kB / 1.032 GB, free: 5.203 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8519, allocations: 0 / 1.032 GB, free: 5.203 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002532/0.8522, allocations: 187 kB / 1.032 GB, free: 5.047 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.8522, allocations: 8 kB / 1.032 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.8522, allocations: 8.047 kB / 1.032 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.8522, allocations: 0 / 1.032 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.8523, allocations: 23.98 kB / 1.032 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.8523, allocations: 3.938 kB / 1.032 GB, free: 5.004 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.8525, allocations: 23.78 kB / 1.032 GB, free: 4.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.8525, allocations: 14.8 kB / 1.032 GB, free: 4.969 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 8.728e-05/0.8526, allocations: 105 kB / 1.032 GB, free: 4.859 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000146/0.8528, allocations: 120.6 kB / 1.032 GB, free: 4.75 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.8528, allocations: 39.56 kB / 1.032 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.853, allocations: 130.2 kB / 1.032 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.853, allocations: 4 kB / 1.033 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.8531, allocations: 3.953 kB / 1.033 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.8531, allocations: 0 / 1.033 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.8533, allocations: 278.8 kB / 1.033 GB, free: 4.324 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.8533, allocations: 0 / 1.033 GB, free: 4.324 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-05/0.8533, allocations: 4 kB / 1.033 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.8534, allocations: 0 / 1.033 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.8534, allocations: 7.984 kB / 1.033 GB, free: 4.312 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.8534, allocations: 7.938 kB / 1.033 GB, free: 4.305 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.8534, allocations: 0 / 1.033 GB, free: 4.305 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.8536, allocations: 152.1 kB / 1.033 GB, free: 4.152 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.093e-05/0.8537, allocations: 116.1 kB / 1.033 GB, free: 4.023 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.8537, allocations: 3.984 kB / 1.033 GB, free: 4.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.192e-05/0.8538, allocations: 11.44 kB / 1.033 GB, free: 4.012 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.8539, allocations: 15.92 kB / 1.033 GB, free: 3.996 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.8539, allocations: 3.984 kB / 1.033 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003312/0.8542, allocations: 329.9 kB / 1.033 GB, free: 3.742 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2e-07/0.8542, allocations: 0 / 1.033 GB, free: 3.742 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002654/0.8545, allocations: 47.19 kB / 1.033 GB, free: 3.699 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.001077/0.8556, allocations: 0.9623 MB / 1.034 GB, free: 2.816 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001735/0.8558, allocations: 89.53 kB / 1.034 GB, free: 2.754 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8558, allocations: 0 / 1.034 GB, free: 2.754 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.374e-05/0.8558, allocations: 41.67 kB / 1.035 GB, free: 2.723 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.8561, allocations: 41.59 kB / 1.035 GB, free: 2.691 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008665/0.857, allocations: 0.5384 MB / 1.035 GB, free: 2.172 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.8574, allocations: 0.8202 MB / 1.036 GB, free: 1.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.68e-05/0.8575, allocations: 25.31 kB / 1.036 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.8577, allocations: 117.9 kB / 1.036 GB, free: 1.277 MB / 0.6511 GB Notification: Performance of SimCode: time 3.61e-07/0.8577, allocations: 3.938 kB / 1.036 GB, free: 1.273 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.8822, allocations: 6.563 MB / 1.042 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/0.8825, allocations: 196.1 kB / 1.043 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.841, allocations: 0 / 1.043 GB, free: 10.47 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)