Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.527/4.527, allocations: 464.6 MB / 476.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.63e-05, allocations: 4 kB / 0.5732 GB, free: 5.648 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.304, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8854/1.189, allocations: 138 MB / 0.8126 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/1.19, allocations: 91.27 kB / 0.8127 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05441/1.244, allocations: 13.54 MB / 0.8259 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/1.244, allocations: 0 / 0.8259 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.331e-05/1.244, allocations: 7.656 kB / 0.8259 GB, free: 9.191 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.001108/1.246, allocations: 0.6906 MB / 0.8266 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/1.246, allocations: 7.719 kB / 0.8266 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.697e-05/1.246, allocations: 41.92 kB / 0.8266 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/1.246, allocations: 58.16 kB / 0.8267 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008846/1.247, allocations: 413.6 kB / 0.8271 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/1.247, allocations: 7.312 kB / 0.8271 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/1.247, allocations: 18.12 kB / 0.8271 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/1.247, allocations: 137.5 kB / 0.8273 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.247, allocations: 0 / 0.8273 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/1.247, allocations: 3.875 kB / 0.8273 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/1.247, allocations: 0 / 0.8273 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/1.247, allocations: 71.41 kB / 0.8273 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/1.249, allocations: 0.5923 MB / 0.8279 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/1.249, allocations: 117.4 kB / 0.828 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/1.249, allocations: 49.53 kB / 0.8281 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/1.249, allocations: 0 / 0.8281 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/1.249, allocations: 113.9 kB / 0.8282 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 4.308e-06/1.25, allocations: 0 / 0.8282 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0005513/1.25, allocations: 187.2 kB / 0.8283 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/1.25, allocations: 85.03 kB / 0.8284 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/1.251, allocations: 0.5981 MB / 0.829 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.941e-05/1.251, allocations: 32.7 kB / 0.829 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/1.252, allocations: 272.6 kB / 0.8293 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.714e-05/1.252, allocations: 34.36 kB / 0.8293 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/1.252, allocations: 7.531 kB / 0.8293 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.252, allocations: 366.4 kB / 0.8297 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/1.252, allocations: 85.59 kB / 0.8298 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/1.252, allocations: 129.2 kB / 0.8299 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/1.252, allocations: 81.53 kB / 0.83 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/1.253, allocations: 3.812 kB / 0.83 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006662/1.253, allocations: 271.2 kB / 0.8302 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/1.253, allocations: 7.531 kB / 0.8302 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.253, allocations: 0 / 0.8302 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/1.253, allocations: 7.938 kB / 0.8303 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/1.254, allocations: 38.95 kB / 0.8303 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/1.254, allocations: 3.844 kB / 0.8303 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/1.254, allocations: 30.89 kB / 0.8303 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/1.254, allocations: 10.97 kB / 0.8303 GB, free: 6.578 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.0001277/1.254, allocations: 125.1 kB / 0.8305 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.499e-05/1.254, allocations: 58.55 kB / 0.8305 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005898/1.255, allocations: 209 kB / 0.8307 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/1.255, allocations: 7.797 kB / 0.8307 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.255, allocations: 0 / 0.8307 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/1.255, allocations: 0 / 0.8307 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/1.255, allocations: 385.5 kB / 0.8311 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.255, allocations: 0 / 0.8311 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/1.256, allocations: 14.75 kB / 0.8311 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/1.256, allocations: 3.781 kB / 0.8311 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/1.256, allocations: 0 / 0.8311 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/1.256, allocations: 0 / 0.8311 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.256, allocations: 3.953 kB / 0.8311 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/1.256, allocations: 230.8 kB / 0.8313 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/1.256, allocations: 137.5 kB / 0.8315 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.805e-05/1.256, allocations: 7.438 kB / 0.8315 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/1.257, allocations: 15.8 kB / 0.8315 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.628e-05/1.257, allocations: 22.53 kB / 0.8315 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/1.257, allocations: 14.41 kB / 0.8315 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008252/1.258, allocations: 456.3 kB / 0.8319 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/1.258, allocations: 0 / 0.8319 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006053/1.258, allocations: 80.27 kB / 0.832 GB, free: 5.664 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.002167/1.26, allocations: 1.084 MB / 0.8331 GB, free: 20.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005876/1.261, allocations: 151.3 kB / 0.8332 GB, free: 20.87 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.261, allocations: 7.906 kB / 0.8332 GB, free: 20.87 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/1.261, allocations: 63.8 kB / 0.8333 GB, free: 20.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007594/1.262, allocations: 83.17 kB / 0.8334 GB, free: 20.83 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/1.264, allocations: 0.7353 MB / 0.8341 GB, free: 20.47 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/1.265, allocations: 0.8717 MB / 0.8349 GB, free: 19.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003611/1.265, allocations: 48.94 kB / 0.835 GB, free: 19.67 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/1.265, allocations: 169.8 kB / 0.8352 GB, free: 19.65 MB / 0.6511 GB Notification: Performance of SimCode: time 1.372e-06/1.265, allocations: 0 / 0.8352 GB, free: 19.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03901/1.304, allocations: 9.862 MB / 0.8448 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/1.305, allocations: 218.6 kB / 0.845 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.802/4.106, allocations: 0 / 0.845 GB, free: 13.85 MB / 0.6511 GB