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.451/1.451, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 190.7 kB / 326.5 MB, free: 2.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.157/2.157, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009698/0.0009701, allocations: 98.3 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003834, allocations: 13.72 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2783, allocations: 106.3 MB / 0.9002 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1945/0.4729, allocations: 136.8 MB / 1.034 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003655/0.4733, allocations: 95.94 kB / 1.034 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02828/0.5016, allocations: 9.99 MB / 1.044 GB, free: 12.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.286e-06/0.5017, allocations: 0 / 1.044 GB, free: 12.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.143e-05/0.5018, allocations: 4 kB / 1.044 GB, free: 12.67 MB / 0.698 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.001235/0.503, allocations: 0.6586 MB / 1.044 GB, free: 11.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.5031, allocations: 8.031 kB / 1.044 GB, free: 11.96 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.248e-05/0.5031, allocations: 38.56 kB / 1.044 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.5033, allocations: 43.44 kB / 1.044 GB, free: 11.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006209/0.5039, allocations: 343.2 kB / 1.045 GB, free: 11.49 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.5039, allocations: 3.938 kB / 1.045 GB, free: 11.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.504, allocations: 15.94 kB / 1.045 GB, free: 11.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.5042, allocations: 73.66 kB / 1.045 GB, free: 11.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5042, allocations: 0 / 1.045 GB, free: 11.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.5042, allocations: 7.938 kB / 1.045 GB, free: 11.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.5042, allocations: 4 kB / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.5044, allocations: 35.97 kB / 1.045 GB, free: 11.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009683/0.5053, allocations: 472.5 kB / 1.045 GB, free: 10.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.5056, allocations: 66.67 kB / 1.045 GB, free: 10.76 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.5056, allocations: 0 / 1.045 GB, free: 10.76 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.5058, allocations: 83.44 kB / 1.045 GB, free: 10.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.5058, allocations: 4 kB / 1.045 GB, free: 10.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0004001/0.5062, allocations: 149 kB / 1.046 GB, free: 10.51 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.5063, allocations: 55.41 kB / 1.046 GB, free: 10.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006254/0.5069, allocations: 473.3 kB / 1.046 GB, free: 9.977 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.5069, allocations: 25.7 kB / 1.046 GB, free: 9.945 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.5071, allocations: 216 kB / 1.046 GB, free: 9.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.5072, allocations: 23.73 kB / 1.046 GB, free: 9.707 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/0.5072, allocations: 0 / 1.046 GB, free: 9.707 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.5074, allocations: 362.8 kB / 1.047 GB, free: 9.344 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.5075, allocations: 59.97 kB / 1.047 GB, free: 9.285 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.5077, allocations: 78.48 kB / 1.047 GB, free: 9.199 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.5078, allocations: 57.25 kB / 1.047 GB, free: 9.145 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5078, allocations: 0 / 1.047 GB, free: 9.145 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004106/0.5082, allocations: 214.8 kB / 1.047 GB, free: 8.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.5083, allocations: 4.062 kB / 1.047 GB, free: 8.926 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.5083, allocations: 7.938 kB / 1.047 GB, free: 8.918 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.5083, allocations: 4 kB / 1.047 GB, free: 8.914 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.5084, allocations: 19.98 kB / 1.047 GB, free: 8.895 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.5084, allocations: 7.953 kB / 1.047 GB, free: 8.887 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.5086, allocations: 16.23 kB / 1.047 GB, free: 8.871 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.5086, allocations: 4 kB / 1.047 GB, free: 8.867 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002396/0.5089, allocations: 197.8 kB / 1.047 GB, free: 8.664 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-05/0.509, allocations: 43.38 kB / 1.047 GB, free: 8.621 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/0.5093, allocations: 133.5 kB / 1.047 GB, free: 8.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.5093, allocations: 0 / 1.047 GB, free: 8.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5093, allocations: 0 / 1.047 GB, free: 8.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.5093, allocations: 3.953 kB / 1.047 GB, free: 8.477 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.5097, allocations: 297.5 kB / 1.048 GB, free: 8.137 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5097, allocations: 0 / 1.048 GB, free: 8.137 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.32e-05/0.5097, allocations: 8 kB / 1.048 GB, free: 8.129 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.5097, allocations: 3.984 kB / 1.048 GB, free: 8.125 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.5097, allocations: 4 kB / 1.048 GB, free: 8.121 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.5098, allocations: 3.938 kB / 1.048 GB, free: 8.117 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5098, allocations: 3.938 kB / 1.048 GB, free: 8.113 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.51, allocations: 164.5 kB / 1.048 GB, free: 7.934 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.5102, allocations: 116.6 kB / 1.048 GB, free: 7.801 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.5102, allocations: 4 kB / 1.048 GB, free: 7.797 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.178e-05/0.5103, allocations: 7.984 kB / 1.048 GB, free: 7.789 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.5104, allocations: 15.98 kB / 1.048 GB, free: 7.773 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.5104, allocations: 4 kB / 1.048 GB, free: 7.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004114/0.5108, allocations: 358.8 kB / 1.048 GB, free: 7.422 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5108, allocations: 0 / 1.048 GB, free: 7.422 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003239/0.5112, allocations: 55.83 kB / 1.048 GB, free: 7.367 MB / 0.698 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) * Number of clocked states: 0 () * 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.001617/0.5128, allocations: 1.039 MB / 1.049 GB, free: 6.453 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003059/0.5131, allocations: 95.89 kB / 1.05 GB, free: 6.359 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5131, allocations: 64 / 1.05 GB, free: 6.359 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.5132, allocations: 35.98 kB / 1.05 GB, free: 6.324 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.5136, allocations: 47.44 kB / 1.05 GB, free: 6.281 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.5152, allocations: 1.163 MB / 1.051 GB, free: 5.055 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.5157, allocations: 0.8219 MB / 1.052 GB, free: 4.207 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.5158, allocations: 33.56 kB / 1.052 GB, free: 4.172 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.5159, allocations: 111.4 kB / 1.052 GB, free: 4.066 MB / 0.698 GB Notification: Performance of SimCode: time 6.12e-07/0.516, allocations: 4 kB / 1.052 GB, free: 4.062 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5011/1.017, allocations: 7.265 MB / 1.059 GB, free: 147 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/1.017, allocations: 250.9 kB / 1.059 GB, free: 146.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.133/3.15, allocations: 0 / 1.059 GB, free: 146.8 MB / 0.698 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)