Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadModel(Buildings): time 4.133/4.133, allocations: 464.7 MB / 476.8 MB, free: 2.203 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.131e-05/4.143e-05, allocations: 8 kB / 0.5731 GB, free: 5.734 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2038, allocations: 107.2 MB / 0.6777 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7675/0.9713, allocations: 138 MB / 0.8125 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.9716, allocations: 92.06 kB / 0.8126 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05108/1.023, allocations: 13.54 MB / 0.8258 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.406e-06/1.023, allocations: 0 / 0.8258 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.058e-05/1.023, allocations: 11.5 kB / 0.8258 GB, free: 9.676 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.000843/1.024, allocations: 0.6822 MB / 0.8265 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/1.024, allocations: 19.53 kB / 0.8265 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/1.024, allocations: 58.34 kB / 0.8266 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007044/1.025, allocations: 412.4 kB / 0.827 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/1.025, allocations: 7.906 kB / 0.827 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/1.025, allocations: 11.7 kB / 0.827 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/1.025, allocations: 138.6 kB / 0.8271 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.025, allocations: 0 / 0.8271 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/1.025, allocations: 7.438 kB / 0.8271 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.894e-06/1.025, allocations: 7.844 kB / 0.8271 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/1.025, allocations: 70.78 kB / 0.8272 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009842/1.026, allocations: 0.582 MB / 0.8278 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/1.026, allocations: 129.8 kB / 0.8279 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/1.027, allocations: 43.03 kB / 0.8279 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/1.027, allocations: 224 / 0.8279 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/1.027, allocations: 113.5 kB / 0.8281 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 3.046e-06/1.027, allocations: 4 kB / 0.8281 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0004174/1.027, allocations: 188.1 kB / 0.8282 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/1.027, allocations: 84.67 kB / 0.8283 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008702/1.028, allocations: 0.5973 MB / 0.8289 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/1.028, allocations: 33.06 kB / 0.8289 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/1.028, allocations: 265.7 kB / 0.8292 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/1.029, allocations: 30.56 kB / 0.8292 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.88e-05/1.029, allocations: 11.53 kB / 0.8292 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.029, allocations: 375 kB / 0.8296 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/1.029, allocations: 77.2 kB / 0.8297 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/1.029, allocations: 127.6 kB / 0.8298 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/1.029, allocations: 82.08 kB / 0.8299 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.002e-06/1.029, allocations: 0 / 0.8299 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005969/1.03, allocations: 282.3 kB / 0.8301 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/1.03, allocations: 7.688 kB / 0.8301 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.03, allocations: 0 / 0.8301 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.03, allocations: 3.953 kB / 0.8301 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/1.03, allocations: 34.8 kB / 0.8302 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.03, allocations: 3.875 kB / 0.8302 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/1.031, allocations: 29.7 kB / 0.8302 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/1.031, allocations: 11.53 kB / 0.8302 GB, free: 7.105 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.0001029/1.031, allocations: 125.2 kB / 0.8303 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.3e-05/1.031, allocations: 58.38 kB / 0.8304 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004815/1.031, allocations: 203 kB / 0.8306 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.575e-06/1.031, allocations: 3.906 kB / 0.8306 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.367e-06/1.031, allocations: 3.953 kB / 0.8306 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/1.031, allocations: 3.984 kB / 0.8306 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/1.032, allocations: 383.9 kB / 0.831 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.693e-06/1.032, allocations: 4 kB / 0.831 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.83e-05/1.032, allocations: 15.22 kB / 0.831 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.124e-06/1.032, allocations: 0 / 0.831 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/1.032, allocations: 11.8 kB / 0.831 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.506e-06/1.032, allocations: 7.594 kB / 0.831 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.032, allocations: 0 / 0.831 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/1.032, allocations: 221.5 kB / 0.8312 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/1.033, allocations: 143 kB / 0.8313 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.676e-05/1.033, allocations: 11.86 kB / 0.8314 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/1.033, allocations: 15.67 kB / 0.8314 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-05/1.033, allocations: 19.28 kB / 0.8314 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/1.033, allocations: 3.969 kB / 0.8314 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006221/1.034, allocations: 463.4 kB / 0.8318 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.115e-06/1.034, allocations: 0 / 0.8318 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004962/1.034, allocations: 73.56 kB / 0.8319 GB, free: 6.191 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.001415/1.036, allocations: 436.6 kB / 0.8323 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004154/1.036, allocations: 165.1 kB / 0.8325 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.16e-06/1.036, allocations: 0 / 0.8325 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/1.036, allocations: 53.09 kB / 0.8325 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005927/1.037, allocations: 80.89 kB / 0.8326 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/1.038, allocations: 0.6068 MB / 0.8332 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/1.038, allocations: 0.8799 MB / 0.8341 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002314/1.039, allocations: 40.92 kB / 0.8341 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/1.039, allocations: 30.64 kB / 0.8341 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of SimCode: time 2.079e-06/1.039, allocations: 0 / 0.8341 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of Templates: time 0.01351/1.052, allocations: 4.504 MB / 0.8385 GB, free: 2.586 MB / 0.6355 GB