Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl") Notification: Performance of loadModel(Buildings): time 4.334/4.334, allocations: 464.7 MB / 476.8 MB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.323e-05/6.331e-05, allocations: 9.406 kB / 0.5731 GB, free: 5.723 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2397, allocations: 107.2 MB / 0.6778 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7647/1.004, allocations: 145.6 MB / 0.82 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/1.005, allocations: 89.28 kB / 0.8201 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1439/1.149, allocations: 40.47 MB / 0.8596 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.298e-06/1.149, allocations: 4 kB / 0.8596 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001996/1.149, allocations: 51.69 kB / 0.8597 GB, free: 5.586 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.004331/1.153, allocations: 1.848 MB / 0.8615 GB, free: 3.848 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.153, allocations: 16.02 kB / 0.8615 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007957/1.154, allocations: 252.9 kB / 0.8617 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003416/1.158, allocations: 1.291 MB / 0.863 GB, free: 2.555 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000234/1.158, allocations: 147.1 kB / 0.8631 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003606/1.158, allocations: 149.4 kB / 0.8633 GB, free: 2.352 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0034/1.162, allocations: 1.439 MB / 0.8647 GB, free: 1.246 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/1.162, allocations: 3.938 kB / 0.8647 GB, free: 1.242 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/1.162, allocations: 59.38 kB / 0.8647 GB, free: 1.223 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-05/1.162, allocations: 32 kB / 0.8648 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002585/1.165, allocations: 0.9762 MB / 0.8657 GB, free: 0.5742 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/1.175, allocations: 6.024 MB / 0.8716 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/1.177, allocations: 0.78 MB / 0.8723 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008872/1.178, allocations: 400.7 kB / 0.8727 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002939/1.178, allocations: 109.9 kB / 0.8728 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/1.18, allocations: 0.5161 MB / 0.8733 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=102): time 5.893e-06/1.18, allocations: 0 / 0.8733 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of matching and sorting (n=102): time 0.002891/1.183, allocations: 0.9093 MB / 0.8742 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/1.183, allocations: 119 kB / 0.8743 GB, free: 9.539 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004256/1.187, allocations: 1.884 MB / 0.8762 GB, free: 8.098 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003219/1.187, allocations: 81.88 kB / 0.8763 GB, free: 8.043 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/1.189, allocations: 0.9235 MB / 0.8772 GB, free: 7.582 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004482/1.189, allocations: 253.5 kB / 0.8774 GB, free: 7.395 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/1.189, allocations: 34.56 kB / 0.8774 GB, free: 7.387 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002238/1.189, allocations: 365 kB / 0.8778 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/1.191, allocations: 441.2 kB / 0.8782 GB, free: 6.781 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/1.192, allocations: 0.8121 MB / 0.879 GB, free: 6.008 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/1.193, allocations: 462.7 kB / 0.8794 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.662e-06/1.193, allocations: 0 / 0.8794 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003438/1.197, allocations: 1.389 MB / 0.8808 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/1.197, allocations: 11.95 kB / 0.8808 GB, free: 4.602 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/1.197, allocations: 12 kB / 0.8808 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.188e-05/1.197, allocations: 24.06 kB / 0.8808 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/1.198, allocations: 205 kB / 0.881 GB, free: 4.379 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.267e-05/1.198, allocations: 19.94 kB / 0.8811 GB, free: 4.359 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/1.199, allocations: 151.9 kB / 0.8812 GB, free: 4.234 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/1.199, allocations: 72.42 kB / 0.8813 GB, free: 4.176 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.0004486/1.2, allocations: 261.6 kB / 0.8815 GB, free: 3.957 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004853/1.2, allocations: 189.6 kB / 0.8817 GB, free: 3.77 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/1.203, allocations: 1.078 MB / 0.8828 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/1.203, allocations: 11.98 kB / 0.8828 GB, free: 2.992 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.089e-06/1.203, allocations: 4 kB / 0.8828 GB, free: 2.988 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/1.203, allocations: 7.984 kB / 0.8828 GB, free: 2.98 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006079/1.209, allocations: 2.742 MB / 0.8855 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.921e-06/1.209, allocations: 0 / 0.8855 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004904/1.21, allocations: 91.02 kB / 0.8855 GB, free: 0.9062 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.577e-05/1.21, allocations: 4 kB / 0.8855 GB, free: 0.9023 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.371e-05/1.21, allocations: 31.22 kB / 0.8856 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/1.21, allocations: 4 kB / 0.8856 GB, free: 0.8828 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.202e-06/1.21, allocations: 0 / 0.8856 GB, free: 0.8828 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/1.212, allocations: 1.101 MB / 0.8867 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008972/1.213, allocations: 391.6 kB / 0.887 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003222/1.214, allocations: 38.06 kB / 0.8871 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008355/1.215, allocations: 64.19 kB / 0.8871 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005019/1.215, allocations: 162.8 kB / 0.8873 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/1.215, allocations: 50.22 kB / 0.8873 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003221/1.219, allocations: 1.318 MB / 0.8886 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.435e-06/1.219, allocations: 0 / 0.8886 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002051/1.221, allocations: 341.4 kB / 0.8889 GB, free: 14.16 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.002/1.223, allocations: 0.5417 MB / 0.8895 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002865/1.226, allocations: 1.044 MB / 0.8905 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.996e-06/1.226, allocations: 4.062 kB / 0.8905 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/1.227, allocations: 479.6 kB / 0.891 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/1.229, allocations: 274.5 kB / 0.8912 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006279/1.235, allocations: 2.461 MB / 0.8936 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001806/1.237, allocations: 1.519 MB / 0.8951 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001532/1.238, allocations: 301.8 kB / 0.8954 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006721/1.239, allocations: 143.4 kB / 0.8955 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of SimCode: time 2.117e-06/1.239, allocations: 7.938 kB / 0.8955 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of Templates: time 0.05779/1.297, allocations: 18.19 MB / 0.9133 GB, free: 5.473 MB / 0.698 GB