Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_WaterFlowControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.633/4.633, allocations: 464.6 MB / 476.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.801e-05/3.807e-05, allocations: 4 kB / 0.5732 GB, free: 5.652 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2326, allocations: 107.2 MB / 0.6778 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9308/1.163, allocations: 145.7 MB / 0.8201 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/1.164, allocations: 95.94 kB / 0.8202 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1779/1.342, allocations: 40.47 MB / 0.8597 GB, free: 5.238 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.124e-06/1.342, allocations: 0 / 0.8597 GB, free: 5.238 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002468/1.342, allocations: 55.38 kB / 0.8597 GB, free: 5.188 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 326 * Number of variables: 326 Notification: Performance of Generate backend data structure: time 0.005625/1.348, allocations: 1.855 MB / 0.8615 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/1.348, allocations: 8.031 kB / 0.8616 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005951/1.348, allocations: 198.5 kB / 0.8617 GB, free: 3.312 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00081/1.349, allocations: 256.9 kB / 0.862 GB, free: 3.059 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004203/1.354, allocations: 1.287 MB / 0.8632 GB, free: 2.035 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/1.354, allocations: 149.2 kB / 0.8634 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003479/1.354, allocations: 142.2 kB / 0.8635 GB, free: 1.836 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003854/1.358, allocations: 1.438 MB / 0.8649 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.503e-05/1.358, allocations: 8 kB / 0.8649 GB, free: 0.7227 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001895/1.358, allocations: 57.23 kB / 0.865 GB, free: 0.707 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-05/1.358, allocations: 36 kB / 0.865 GB, free: 0.6719 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0029/1.361, allocations: 0.9665 MB / 0.866 GB, free: 64 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01236/1.374, allocations: 6.021 MB / 0.8718 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/1.376, allocations: 0.7891 MB / 0.8726 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000978/1.377, allocations: 394.3 kB / 0.873 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003445/1.377, allocations: 117.6 kB / 0.8731 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/1.379, allocations: 0.5082 MB / 0.8736 GB, free: 9.859 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=102): time 4.869e-06/1.379, allocations: 0 / 0.8736 GB, free: 9.859 MB / 0.6667 GB Notification: Performance of matching and sorting (n=102): time 0.00274/1.382, allocations: 0.9044 MB / 0.8745 GB, free: 9.148 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/1.382, allocations: 127.3 kB / 0.8746 GB, free: 9 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004612/1.386, allocations: 1.878 MB / 0.8764 GB, free: 7.566 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003873/1.387, allocations: 81.88 kB / 0.8765 GB, free: 7.512 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001134/1.388, allocations: 0.9233 MB / 0.8774 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004611/1.388, allocations: 258.6 kB / 0.8777 GB, free: 6.859 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/1.389, allocations: 28.81 kB / 0.8777 GB, free: 6.855 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002051/1.389, allocations: 370.7 kB / 0.878 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/1.39, allocations: 436.1 kB / 0.8785 GB, free: 6.25 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/1.392, allocations: 0.8131 MB / 0.8793 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/1.393, allocations: 457.6 kB / 0.8797 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/1.393, allocations: 8 kB / 0.8797 GB, free: 5.152 MB / 0.6667 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003887/1.397, allocations: 1.388 MB / 0.8811 GB, free: 4.082 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/1.397, allocations: 15.89 kB / 0.8811 GB, free: 4.066 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/1.397, allocations: 12.12 kB / 0.8811 GB, free: 4.055 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.721e-05/1.397, allocations: 20 kB / 0.8811 GB, free: 4.035 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/1.398, allocations: 209.8 kB / 0.8813 GB, free: 3.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-05/1.398, allocations: 23.92 kB / 0.8813 GB, free: 3.816 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/1.4, allocations: 156.1 kB / 0.8815 GB, free: 3.688 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/1.4, allocations: 68.55 kB / 0.8815 GB, free: 3.633 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 124 ($PRE.con.transition3.enableFire,$PRE.con.transition5.enableFire,$PRE.con.transition9.enableFire,$PRE.con.transition7.enableFire,$PRE.con.transition10.enableFire,$PRE.con.transition1.enableFire,$PRE.con.transition2.enableFire,$PRE.con.transition8.enableFire,$PRE.con.transition6.enableFire,$PRE.con.transition4.enableFire,$whenCondition8,$PRE.PEle.tab.nextTimeEvent,$whenCondition7,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition2,conWat.opeMod,conWat.offStaBy.y,stateGraphRoot.activeSteps,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,con.runSig,$PRE.con.staBy.localActive,con.staBy.localActive,con.staBy.outPort[2].available,$PRE.con.staBy.newActive,con.staBy.newActive,$PRE.con.staBy.oldActive,con.staBy.oldActive,con.staBy.active,$PRE.con.pumOn.localActive,con.pumOn.localActive,con.pumOn.outPort[2].available,$PRE.con.pumOn.newActive,con.pumOn.newActive,$PRE.con.pumOn.oldActive,con.pumOn.oldActive,con.pumOn.active,$PRE.con.warUp.localActive,con.warUp.localActive,con.warUp.inPort[2].occupied,con.warUp.outPort[2].available,$PRE.con.warUp.newActive,con.warUp.newActive,$PRE.con.warUp.oldActive,con.warUp.oldActive,con.warUp.active,$PRE.con.cooDow.localActive,con.cooDow.localActive,con.cooDow.inPort[2].occupied,con.cooDow.outPort[2].available,$PRE.con.cooDow.newActive,con.cooDow.newActive,$PRE.con.cooDow.oldActive,con.cooDow.oldActive,con.cooDow.active,$PRE.con.hys.y,con.hys.y,con.and1.u2,con.and1.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.enableFire,con.and3.y,con.transition10.enableFire,con.and4.u2,con.and4.y,con.assWatMas.assMes.u,$PRE.con.assWatMas.hys.y,con.assWatMas.hys.y,con.transition1.enableFire,con.transition2.enableFire,$PRE.con.nor.localActive,con.nor.localActive,$PRE.con.nor.newActive,con.nor.newActive,$PRE.con.nor.oldActive,con.nor.oldActive,con.nor.active,con.transition8.enableFire,$PRE.con.warUpCtr.hysTem.y,con.warUpCtr.hysTem.y,$PRE.con.warUpCtr.hysPow.y,con.warUpCtr.hysPow.y,$PRE.con.warUpCtr.pre.u,con.warUpCtr.pre.u,con.transition6.enableFire,$PRE.con.plaOff.localActive,con.plaOff.localActive,con.plaOff.inPort[2].occupied,con.plaOff.inPort[3].occupied,$PRE.con.plaOff.newActive,con.plaOff.newActive,$PRE.con.plaOff.oldActive,con.plaOff.oldActive,con.plaOff.active,con.transition4.enableFire,con.transition4.fire,$PRE.con.transition4.t_start,con.transition4.t_start,$PRE.con.timer.passed,con.timer.passed,$PRE.con.timer.entryTime,con.timer.entryTime,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,avaSig.y,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,PEle.tab.nextTimeEvent,$PRE.PEle.tab.nextTimeEventScaled,PEle.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 194 * 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.0004921/1.401, allocations: 258.1 kB / 0.8818 GB, free: 3.418 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004285/1.401, allocations: 185.7 kB / 0.882 GB, free: 3.234 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003086/1.404, allocations: 1.084 MB / 0.883 GB, free: 2.465 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.437e-05/1.404, allocations: 16 kB / 0.883 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.475e-06/1.404, allocations: 0 / 0.883 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/1.404, allocations: 3.984 kB / 0.883 GB, free: 2.445 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006584/1.411, allocations: 2.74 MB / 0.8857 GB, free: 472 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/1.411, allocations: 0 / 0.8857 GB, free: 472 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006511/1.412, allocations: 86.89 kB / 0.8858 GB, free: 392 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.695e-05/1.412, allocations: 4 kB / 0.8858 GB, free: 388 kB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.756e-05/1.412, allocations: 26.48 kB / 0.8858 GB, free: 376 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-05/1.412, allocations: 7.984 kB / 0.8858 GB, free: 368 kB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.412, allocations: 0 / 0.8858 GB, free: 368 kB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/1.415, allocations: 1.103 MB / 0.8869 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.416, allocations: 390.2 kB / 0.8873 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004138/1.416, allocations: 42.17 kB / 0.8873 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.417, allocations: 62.89 kB / 0.8874 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005421/1.418, allocations: 165.1 kB / 0.8875 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/1.418, allocations: 47.34 kB / 0.8876 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003483/1.422, allocations: 1.324 MB / 0.8889 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.032e-06/1.422, allocations: 0 / 0.8889 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002168/1.424, allocations: 340 kB / 0.8892 GB, free: 13.62 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 89 (con.transition4.enableFire,con.plaOff.active,con.nor.active,con.cooDow.active,con.cooDow.localActive,con.warUp.active,con.pumOn.active,con.staBy.active,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$cse12,$cse13,$cse14,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition1,conWat.opeMod,conWat.offStaBy.y,stateGraphRoot.activeSteps,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,con.runSig,con.staBy.localActive,con.staBy.outPort[2].available,con.staBy.newActive,con.staBy.oldActive,con.pumOn.localActive,con.pumOn.outPort[2].available,con.pumOn.newActive,con.pumOn.oldActive,con.warUp.localActive,con.warUp.inPort[2].occupied,con.warUp.outPort[2].available,con.warUp.newActive,con.warUp.oldActive,con.cooDow.inPort[2].occupied,con.cooDow.outPort[2].available,con.cooDow.newActive,con.cooDow.oldActive,con.hys.y,con.and1.u2,con.and1.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.enableFire,con.and3.y,con.transition10.enableFire,con.and4.u2,con.and4.y,con.assWatMas.assMes.u,con.assWatMas.hys.y,con.transition1.enableFire,con.transition2.enableFire,con.nor.localActive,con.nor.newActive,con.nor.oldActive,con.transition8.enableFire,con.warUpCtr.hysTem.y,con.warUpCtr.hysPow.y,con.warUpCtr.pre.u,con.transition6.enableFire,con.plaOff.localActive,con.plaOff.inPort[2].occupied,con.plaOff.inPort[3].occupied,con.plaOff.newActive,con.plaOff.oldActive,con.transition4.fire,con.transition4.t_start,con.timer.passed,con.timer.entryTime,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,avaSig.y,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,PEle.tab.nextTimeEvent,PEle.tab.nextTimeEventScaled) * Number of discrete states: 20 (PEle.tab.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEvent,con.staBy.newActive,con.pumOn.newActive,con.warUp.newActive,con.cooDow.newActive,con.timer.entryTime,con.nor.newActive,con.warUpCtr.pre.u,con.plaOff.newActive,con.warUpCtr.hysTem.y,PEle.tab.nextTimeEventScaled,con.warUpCtr.hysPow.y,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,con.assWatMas.hys.y,con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.005053/1.429, allocations: 2.087 MB / 0.8912 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003174/1.432, allocations: 1.044 MB / 0.8923 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.432, allocations: 2.5 kB / 0.8923 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/1.434, allocations: 483.6 kB / 0.8927 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/1.436, allocations: 274.3 kB / 0.893 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02704/1.463, allocations: 2.868 MB / 0.8958 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002508/1.466, allocations: 1.516 MB / 0.8973 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.01561/1.482, allocations: 297.8 kB / 0.8976 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002766/1.484, allocations: 0.8195 MB / 0.8984 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of SimCode: time 1.303e-06/1.484, allocations: 0 / 0.8984 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1216/1.606, allocations: 37.11 MB / 0.9346 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003386/1.606, allocations: 205.2 kB / 0.9348 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.348/5.954, allocations: 0 / 0.9348 GB, free: 15.52 MB / 0.7292 GB