Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_WaterFlowControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.243/4.243, allocations: 460.5 MB / 472.6 MB, free: 5.395 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.854e-05/3.863e-05, allocations: 6.531 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2395, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8758/1.115, allocations: 145.3 MB / 0.8138 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/1.116, allocations: 94.8 kB / 0.8139 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1747/1.29, allocations: 40.59 MB / 0.8536 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.385e-06/1.29, allocations: 0 / 0.8536 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002791/1.291, allocations: 51.94 kB / 0.8536 GB, free: 13.2 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.006145/1.297, allocations: 1.856 MB / 0.8554 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/1.297, allocations: 16.03 kB / 0.8555 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006889/1.298, allocations: 196 kB / 0.8556 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008297/1.299, allocations: 256.9 kB / 0.8559 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004348/1.303, allocations: 1.289 MB / 0.8571 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002781/1.303, allocations: 151.1 kB / 0.8573 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004965/1.304, allocations: 146 kB / 0.8574 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004133/1.308, allocations: 1.443 MB / 0.8588 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.315e-05/1.308, allocations: 0 / 0.8588 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001972/1.308, allocations: 58.17 kB / 0.8589 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.882e-05/1.308, allocations: 32 kB / 0.8589 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003108/1.311, allocations: 0.972 MB / 0.8599 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01287/1.324, allocations: 6.023 MB / 0.8658 GB, free: 3.102 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002272/1.327, allocations: 0.7778 MB / 0.8665 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000986/1.328, allocations: 393.7 kB / 0.8669 GB, free: 2.367 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003735/1.328, allocations: 117.4 kB / 0.867 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001428/1.33, allocations: 0.5084 MB / 0.8675 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=103): time 4.328e-06/1.33, allocations: 0 / 0.8675 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of matching and sorting (n=103): time 0.002748/1.332, allocations: 0.8927 MB / 0.8684 GB, free: 1.172 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/1.332, allocations: 126.6 kB / 0.8685 GB, free: 1.031 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004589/1.337, allocations: 1.892 MB / 0.8703 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003679/1.337, allocations: 81.12 kB / 0.8704 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001188/1.339, allocations: 0.9295 MB / 0.8713 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004787/1.339, allocations: 254.4 kB / 0.8716 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/1.339, allocations: 42.19 kB / 0.8716 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001807/1.34, allocations: 362.6 kB / 0.8719 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/1.341, allocations: 442.9 kB / 0.8724 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/1.343, allocations: 0.8259 MB / 0.8732 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/1.344, allocations: 465.3 kB / 0.8736 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/1.344, allocations: 0 / 0.8736 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004074/1.348, allocations: 1.403 MB / 0.875 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/1.348, allocations: 8 kB / 0.875 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/1.348, allocations: 15.98 kB / 0.875 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.852e-05/1.348, allocations: 20 kB / 0.875 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/1.35, allocations: 206.1 kB / 0.8752 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.615e-05/1.35, allocations: 23.92 kB / 0.8753 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/1.351, allocations: 145.2 kB / 0.8754 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/1.352, allocations: 73.3 kB / 0.8755 GB, free: 11.63 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 127 ($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,$PRE.con.timer.yAcc,con.timer.yAcc,$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,$whenCondition5,$whenCondition3,$whenCondition4,$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.u1,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.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,$PRE.con.timer.reset_internal,con.timer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 197 * 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.0005279/1.352, allocations: 277.4 kB / 0.8757 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000452/1.353, allocations: 189.5 kB / 0.8759 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/1.356, allocations: 1.077 MB / 0.877 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/1.356, allocations: 8 kB / 0.877 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.356, allocations: 4 kB / 0.877 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/1.356, allocations: 3.984 kB / 0.877 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007182/1.363, allocations: 2.726 MB / 0.8796 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-06/1.363, allocations: 4 kB / 0.8796 GB, free: 8.449 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006468/1.364, allocations: 82.77 kB / 0.8797 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.729e-05/1.364, allocations: 4 kB / 0.8797 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.45e-05/1.364, allocations: 29.97 kB / 0.8798 GB, free: 8.355 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/1.364, allocations: 4 kB / 0.8798 GB, free: 8.352 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.364, allocations: 0 / 0.8798 GB, free: 8.352 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002649/1.367, allocations: 1.102 MB / 0.8808 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/1.368, allocations: 393.4 kB / 0.8812 GB, free: 7.133 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003646/1.368, allocations: 34.92 kB / 0.8812 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/1.369, allocations: 64.39 kB / 0.8813 GB, free: 7.07 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005596/1.37, allocations: 167.2 kB / 0.8815 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/1.37, allocations: 38.86 kB / 0.8815 GB, free: 6.906 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003387/1.373, allocations: 1.334 MB / 0.8828 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.11e-07/1.373, allocations: 0 / 0.8828 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002104/1.375, allocations: 340.3 kB / 0.8831 GB, free: 5.617 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 90 (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,$whenCondition5,$whenCondition3,$whenCondition4,$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.u1,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.entryTime,con.timer.yAcc,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.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,con.timer.y,mWat_flow.tab.nextTimeEventScaled,con.assWatMas.hys.y,con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 101 * 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.004817/1.38, allocations: 2.082 MB / 0.8852 GB, free: 3.898 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003303/1.384, allocations: 1.051 MB / 0.8862 GB, free: 2.91 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/1.384, allocations: 0 / 0.8862 GB, free: 2.91 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001357/1.385, allocations: 483.6 kB / 0.8866 GB, free: 2.438 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/1.387, allocations: 280.6 kB / 0.8869 GB, free: 2.164 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009463/1.397, allocations: 2.872 MB / 0.8897 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001718/1.399, allocations: 1.523 MB / 0.8912 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001762/1.4, allocations: 302.1 kB / 0.8915 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002074/1.402, allocations: 0.8234 MB / 0.8923 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of SimCode: time 1.263e-06/1.403, allocations: 0 / 0.8923 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.11/1.513, allocations: 37.16 MB / 0.9286 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000256/1.513, allocations: 204 kB / 0.9288 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.865/5.378, allocations: 3.938 kB / 0.9288 GB, free: 7.449 MB / 0.7136 GB