Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.324/4.324, allocations: 460.4 MB / 472.6 MB, free: 5.359 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.817e-05/4.822e-05, allocations: 7.984 kB / 0.5682 GB, free: 10.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2428, allocations: 106.2 MB / 0.6719 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.873/1.116, allocations: 137.6 MB / 0.8063 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/1.116, allocations: 90.41 kB / 0.8064 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0516/1.168, allocations: 13.56 MB / 0.8196 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.532e-06/1.168, allocations: 0 / 0.8196 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.02e-05/1.168, allocations: 7.844 kB / 0.8196 GB, free: 10.75 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001053/1.169, allocations: 0.6853 MB / 0.8203 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/1.169, allocations: 7.625 kB / 0.8203 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.852e-05/1.169, allocations: 45.77 kB / 0.8204 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/1.169, allocations: 57.89 kB / 0.8204 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008933/1.17, allocations: 417 kB / 0.8208 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/1.17, allocations: 6.656 kB / 0.8208 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/1.17, allocations: 11.03 kB / 0.8208 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/1.171, allocations: 137.7 kB / 0.821 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/1.171, allocations: 3.984 kB / 0.821 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/1.171, allocations: 3.375 kB / 0.821 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/1.171, allocations: 3.781 kB / 0.821 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/1.171, allocations: 69.3 kB / 0.821 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/1.172, allocations: 0.5954 MB / 0.8216 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/1.172, allocations: 119.6 kB / 0.8217 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/1.173, allocations: 41.42 kB / 0.8218 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/1.173, allocations: 4.203 kB / 0.8218 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/1.173, allocations: 127.1 kB / 0.8219 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 3.025e-06/1.173, allocations: 3.938 kB / 0.8219 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0004846/1.173, allocations: 186 kB / 0.8221 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/1.173, allocations: 77.11 kB / 0.8222 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009943/1.174, allocations: 0.6047 MB / 0.8227 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/1.174, allocations: 32.98 kB / 0.8228 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000225/1.175, allocations: 259 kB / 0.823 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/1.175, allocations: 38.05 kB / 0.8231 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/1.175, allocations: 6.75 kB / 0.8231 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.175, allocations: 373.4 kB / 0.8234 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/1.175, allocations: 75.14 kB / 0.8235 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/1.175, allocations: 123.2 kB / 0.8236 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/1.176, allocations: 93.58 kB / 0.8237 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.176, allocations: 0 / 0.8237 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005807/1.176, allocations: 277 kB / 0.824 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.176, allocations: 7.719 kB / 0.824 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/1.176, allocations: 3.875 kB / 0.824 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/1.176, allocations: 0 / 0.824 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/1.177, allocations: 34.02 kB / 0.824 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/1.177, allocations: 0 / 0.824 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/1.177, allocations: 33.95 kB / 0.824 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/1.177, allocations: 14.73 kB / 0.8241 GB, free: 8.137 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.runSig,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000107/1.177, allocations: 120.6 kB / 0.8242 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.44e-05/1.177, allocations: 58.23 kB / 0.8242 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000511/1.178, allocations: 202.7 kB / 0.8244 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/1.178, allocations: 3.844 kB / 0.8244 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/1.178, allocations: 7.984 kB / 0.8244 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/1.178, allocations: 0 / 0.8244 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004503/1.178, allocations: 386.8 kB / 0.8248 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/1.178, allocations: 0 / 0.8248 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.524e-05/1.178, allocations: 7.375 kB / 0.8248 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/1.178, allocations: 3.953 kB / 0.8248 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/1.178, allocations: 7.672 kB / 0.8248 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/1.178, allocations: 0 / 0.8248 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.178, allocations: 0 / 0.8248 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/1.179, allocations: 237.5 kB / 0.825 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/1.179, allocations: 135 kB / 0.8252 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.3e-05/1.179, allocations: 15.58 kB / 0.8252 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/1.179, allocations: 15.14 kB / 0.8252 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/1.179, allocations: 15.81 kB / 0.8252 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/1.179, allocations: 5.656 kB / 0.8252 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006943/1.18, allocations: 460 kB / 0.8257 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/1.18, allocations: 11.88 kB / 0.8257 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005068/1.181, allocations: 72.81 kB / 0.8257 GB, free: 7.215 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.runSig,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002043/1.183, allocations: 1.081 MB / 0.8268 GB, free: 22.44 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004437/1.183, allocations: 161.5 kB / 0.8269 GB, free: 22.42 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.183, allocations: 0 / 0.8269 GB, free: 22.42 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/1.183, allocations: 63.92 kB / 0.827 GB, free: 22.41 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006659/1.184, allocations: 88.53 kB / 0.8271 GB, free: 22.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/1.186, allocations: 0.726 MB / 0.8278 GB, free: 22.03 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005372/1.186, allocations: 0.8729 MB / 0.8287 GB, free: 21.25 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002285/1.187, allocations: 44.95 kB / 0.8287 GB, free: 21.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/1.187, allocations: 168.5 kB / 0.8289 GB, free: 21.21 MB / 0.6511 GB Notification: Performance of SimCode: time 1.082e-06/1.187, allocations: 0 / 0.8289 GB, free: 21.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0461/1.233, allocations: 9.88 MB / 0.8385 GB, free: 16.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/1.233, allocations: 210.8 kB / 0.8387 GB, free: 16.17 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.639/3.873, allocations: 0 / 0.8387 GB, free: 16.17 MB / 0.6511 GB