Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.248/2.248, allocations: 251 MB / 265.9 MB, free: 11.67 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.001464/0.001464, allocations: 175 kB / 325.5 MB, free: 2.891 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.414/2.414, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001097/0.001097, allocations: 91.86 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006625/0.0006627, allocations: 12.12 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2299, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2343/0.4643, allocations: 136.6 MB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003584/0.4647, allocations: 99.92 kB / 1.032 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04341/0.5081, allocations: 9.986 MB / 1.042 GB, free: 14.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.645e-06/0.5082, allocations: 0 / 1.042 GB, free: 14.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.636e-05/0.5082, allocations: 4 kB / 1.042 GB, free: 14.44 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.001252/0.5095, allocations: 0.6532 MB / 1.043 GB, free: 13.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.5096, allocations: 8.031 kB / 1.043 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.238e-05/0.5096, allocations: 38.5 kB / 1.043 GB, free: 13.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.5098, allocations: 43.44 kB / 1.043 GB, free: 13.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000729/0.5105, allocations: 339.2 kB / 1.043 GB, free: 13.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.5106, allocations: 7.938 kB / 1.043 GB, free: 13.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.5106, allocations: 8 kB / 1.043 GB, free: 13.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.5109, allocations: 73.66 kB / 1.043 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.5109, allocations: 4 kB / 1.043 GB, free: 13.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.5109, allocations: 0 / 1.043 GB, free: 13.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.5109, allocations: 4 kB / 1.043 GB, free: 13.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.5111, allocations: 47.84 kB / 1.043 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.5121, allocations: 464.5 kB / 1.044 GB, free: 12.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.5125, allocations: 74.61 kB / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.5125, allocations: 4 kB / 1.044 GB, free: 12.53 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.5128, allocations: 75.5 kB / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 2.976e-06/0.5128, allocations: 0 / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0005333/0.5133, allocations: 149.1 kB / 1.044 GB, free: 12.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.5134, allocations: 59.41 kB / 1.044 GB, free: 12.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000906/0.5143, allocations: 477.2 kB / 1.045 GB, free: 11.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.5144, allocations: 25.7 kB / 1.045 GB, free: 11.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.5146, allocations: 220 kB / 1.045 GB, free: 11.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.5147, allocations: 19.75 kB / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.5147, allocations: 4 kB / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.5149, allocations: 354.8 kB / 1.045 GB, free: 11.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.5151, allocations: 59.97 kB / 1.045 GB, free: 11.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.5154, allocations: 84.27 kB / 1.045 GB, free: 10.97 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.5156, allocations: 55.98 kB / 1.045 GB, free: 10.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.5156, allocations: 0 / 1.045 GB, free: 10.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005819/0.5162, allocations: 210.6 kB / 1.046 GB, free: 10.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.5162, allocations: 4 kB / 1.046 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.5163, allocations: 4 kB / 1.046 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.5163, allocations: 8.016 kB / 1.046 GB, free: 10.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.5165, allocations: 27.92 kB / 1.046 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.5166, allocations: 4 kB / 1.046 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.5168, allocations: 15.92 kB / 1.046 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.5169, allocations: 8 kB / 1.046 GB, free: 10.64 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.0003232/0.5172, allocations: 181.8 kB / 1.046 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/0.5173, allocations: 43.44 kB / 1.046 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004174/0.5177, allocations: 137.4 kB / 1.046 GB, free: 10.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5177, allocations: 0 / 1.046 GB, free: 10.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.5178, allocations: 8.047 kB / 1.046 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.5178, allocations: 7.938 kB / 1.046 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003993/0.5182, allocations: 301.5 kB / 1.046 GB, free: 9.902 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5182, allocations: 0 / 1.046 GB, free: 9.902 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.512e-05/0.5183, allocations: 7.984 kB / 1.046 GB, free: 9.895 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.5183, allocations: 0 / 1.046 GB, free: 9.895 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.5183, allocations: 7.938 kB / 1.046 GB, free: 9.887 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5183, allocations: 0 / 1.046 GB, free: 9.887 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.5183, allocations: 8.078 kB / 1.046 GB, free: 9.879 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.5187, allocations: 156.4 kB / 1.046 GB, free: 9.707 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.5189, allocations: 116.6 kB / 1.047 GB, free: 9.574 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.5189, allocations: 8.25 kB / 1.047 GB, free: 9.566 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.5191, allocations: 11.98 kB / 1.047 GB, free: 9.555 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.5192, allocations: 7.984 kB / 1.047 GB, free: 9.547 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.5192, allocations: 8 kB / 1.047 GB, free: 9.539 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006249/0.5198, allocations: 362.8 kB / 1.047 GB, free: 9.188 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.1e-07/0.5199, allocations: 0 / 1.047 GB, free: 9.188 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004482/0.5203, allocations: 59.83 kB / 1.047 GB, free: 9.129 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.001964/0.5223, allocations: 1.03 MB / 1.048 GB, free: 8.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004446/0.5228, allocations: 95.95 kB / 1.048 GB, free: 8.137 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5228, allocations: 0 / 1.048 GB, free: 8.137 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.523, allocations: 39.91 kB / 1.048 GB, free: 8.098 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.5235, allocations: 50.67 kB / 1.048 GB, free: 8.055 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.5258, allocations: 1.163 MB / 1.049 GB, free: 6.828 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/0.5264, allocations: 0.8219 MB / 1.05 GB, free: 5.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001921/0.5266, allocations: 29.67 kB / 1.05 GB, free: 5.949 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.5268, allocations: 119.4 kB / 1.05 GB, free: 5.836 MB / 0.698 GB Notification: Performance of SimCode: time 1.433e-06/0.5268, allocations: 0 / 1.05 GB, free: 5.836 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6437/1.171, allocations: 7.263 MB / 1.057 GB, free: 148.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002786/1.171, allocations: 238.5 kB / 1.058 GB, free: 148.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.749/3.92, allocations: 2.969 kB / 1.058 GB, free: 148.6 MB / 0.698 GB