Notification: Performance of FrontEnd - loaded program: time 1.055e-05/1.076e-05, allocations: 2.75 kB / 439.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.134, allocations: 78.97 MB / 0.5064 GB, free: 2.672 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.353/3.488, allocations: 2.37 GB / 2.876 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004538/3.488, allocations: 93.98 kB / 2.876 GB, free: 9.555 MB / 0.6544 GB [Buildings latest/Fluid/Movers/BaseClasses/IdealSource.mo:9:3-17:27:writable] Error: The conditional expression control_m_flow could not be evaluated. Notification: Performance of FrontEnd: time 13.83/17.32, allocations: 3.168 GB / 6.044 GB, free: 34.88 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.002478/17.32, allocations: 195.6 kB / 6.044 GB, free: 34.85 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1527 * Number of variables: 1527 Notification: Performance of Generate backend data structure: time 0.05097/17.37, allocations: 8.242 MB / 6.052 GB, free: 31.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/17.37, allocations: 6.906 kB / 6.052 GB, free: 31.71 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0282/17.4, allocations: 1.837 MB / 6.054 GB, free: 31.28 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06225/17.46, allocations: 13.55 MB / 6.067 GB, free: 29.92 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000652/17.46, allocations: 197.5 kB / 6.067 GB, free: 29.91 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004701/17.47, allocations: 362.8 kB / 6.067 GB, free: 29.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02709/17.49, allocations: 2.415 MB / 6.07 GB, free: 29.88 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01784/17.51, allocations: 4.09 MB / 6.074 GB, free: 29.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002668/17.51, allocations: 13.84 kB / 6.074 GB, free: 29.04 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002192/17.51, allocations: 7.531 kB / 6.074 GB, free: 29.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000297/17.51, allocations: 315 kB / 6.074 GB, free: 29 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08799/17.6, allocations: 61.03 MB / 6.134 GB, free: 17.47 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005833/17.61, allocations: 2.462 MB / 6.136 GB, free: 15.2 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002789/17.61, allocations: 0.6319 MB / 6.137 GB, free: 14.66 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/17.61, allocations: 0.6148 MB / 6.137 GB, free: 13.97 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.269e-05/17.61, allocations: 111.3 kB / 6.137 GB, free: 13.87 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=357): time 4.819e-06/17.61, allocations: 0 / 6.137 GB, free: 13.87 MB / 0.7482 GB Notification: Performance of matching and sorting (n=369): time 0.02943/17.64, allocations: 6.447 MB / 6.144 GB, free: 8.062 MB / 0.7482 GB Notification: Performance of remove unused functions: time 0.01539/17.66, allocations: 2.042 MB / 6.146 GB, free: 6.047 MB / 0.7482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/17.66, allocations: 40.48 kB / 6.146 GB, free: 6.004 MB / 0.7482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006116/17.66, allocations: 2.463 MB / 6.148 GB, free: 3.941 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 0.001017/17.67, allocations: 33.7 kB / 6.148 GB, free: 3.902 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.002302/17.67, allocations: 2.08 MB / 6.15 GB, free: 2.156 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.0017/17.67, allocations: 0.7685 MB / 6.151 GB, free: 1.492 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007235/17.67, allocations: 7.828 kB / 6.151 GB, free: 1.488 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0004091/17.67, allocations: 491.6 kB / 6.151 GB, free: 1.047 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/17.67, allocations: 0.5737 MB / 6.152 GB, free: 0.5039 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003607/17.68, allocations: 1.305 MB / 6.153 GB, free: 15.06 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004453/17.68, allocations: 1.567 MB / 6.155 GB, free: 13.82 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.289e-06/17.68, allocations: 8 kB / 6.155 GB, free: 13.82 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 0.01793/17.7, allocations: 11.66 MB / 6.166 GB, free: 2.062 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001371/17.7, allocations: 19.94 kB / 6.166 GB, free: 2.043 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000857/17.7, allocations: 150 kB / 6.166 GB, free: 1.914 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1277/17.83, allocations: 2.4 MB / 6.169 GB, free: 104 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007243/17.84, allocations: 1.079 MB / 6.17 GB, free: 104 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01039/17.85, allocations: 0.7176 MB / 6.17 GB, free: 104 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-06/17.85, allocations: 3.094 kB / 6.17 GB, free: 104 MB / 0.7638 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008685/17.85, allocations: 2.33 MB / 6.173 GB, free: 103.8 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.615e-05/17.86, allocations: 20.97 kB / 6.173 GB, free: 103.8 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004691/17.86, allocations: 135.8 kB / 6.173 GB, free: 103.8 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003699/17.86, allocations: 2.407 MB / 6.175 GB, free: 102.5 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007036/17.87, allocations: 1.066 MB / 6.176 GB, free: 102.5 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01081/17.88, allocations: 0.6992 MB / 6.177 GB, free: 102.5 MB / 0.7638 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (477): * Single equations (assignments): 476 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002425/17.88, allocations: 188.9 kB / 6.177 GB, free: 102.4 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00351/17.88, allocations: 0.5867 MB / 6.178 GB, free: 102.4 MB / 0.7638 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01975/17.9, allocations: 3.086 MB / 6.181 GB, free: 102.1 MB / 0.7638 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001263/17.9, allocations: 46.45 kB / 6.181 GB, free: 102.1 MB / 0.7638 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.73e-05/17.9, allocations: 3.594 kB / 6.181 GB, free: 102.1 MB / 0.7638 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01383/17.92, allocations: 2.405 MB / 6.183 GB, free: 101.4 MB / 0.7638 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03634/17.95, allocations: 14.97 MB / 6.198 GB, free: 100.2 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.193e-05/17.95, allocations: 5.188 kB / 6.198 GB, free: 100.2 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007164/17.96, allocations: 0.9773 MB / 6.199 GB, free: 100.2 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/17.96, allocations: 354.2 kB / 6.199 GB, free: 100.1 MB / 0.7638 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007553/17.96, allocations: 81.14 kB / 6.199 GB, free: 100.1 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006053/17.97, allocations: 5.479 MB / 6.204 GB, free: 96.12 MB / 0.7638 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-05/17.97, allocations: 6.219 kB / 6.204 GB, free: 96.12 MB / 0.7638 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01198/17.98, allocations: 6.428 MB / 6.211 GB, free: 94.46 MB / 0.7638 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006347/17.99, allocations: 1.975 MB / 6.213 GB, free: 94.36 MB / 0.7638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002638/17.99, allocations: 64.61 kB / 6.213 GB, free: 94.36 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01009/18, allocations: 0.6887 MB / 6.213 GB, free: 94.36 MB / 0.7638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001036/18, allocations: 211.2 kB / 6.214 GB, free: 94.34 MB / 0.7638 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 27 (hex.hexReg[1].ele[1,1].vol1.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,1].mas.T,hex.hexReg[1].ele[1,2].vol1.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,2].mas.T,hex.hexReg[1].ele[1,3].vol1.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,3].mas.T,hex.hexReg[2].ele[1,1].vol1.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,1].mas.T,hex.hexReg[2].ele[1,2].vol1.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,2].mas.T,hex.hexReg[2].ele[1,3].vol1.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.m,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T,hex.temSen_1.T,hex.temSen_2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (360): * Single equations (assignments): 351 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 6 {1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007615/18.01, allocations: 4.637 MB / 6.218 GB, free: 92.52 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.01192/18.02, allocations: 4.039 MB / 6.222 GB, free: 92.22 MB / 0.7638 GB Notification: Performance of simCode: created event and clocks part: time 1.97e-05/18.02, allocations: 7.5 kB / 6.222 GB, free: 92.22 MB / 0.7638 GB Notification: Performance of simCode: created simulation system equations: time 0.00454/18.03, allocations: 1.451 MB / 6.224 GB, free: 92.11 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05795/18.09, allocations: 4.109 MB / 6.228 GB, free: 92.09 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0954/18.18, allocations: 19.36 MB / 6.246 GB, free: 89.42 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02421/18.21, allocations: 7.462 MB / 6.254 GB, free: 88.39 MB / 0.7638 GB Notification: Performance of SimCode: time 2.723e-06/18.21, allocations: 0 / 6.254 GB, free: 88.39 MB / 0.7638 GB Notification: Performance of Templates: time 0.6655/18.87, allocations: 236.1 MB / 6.484 GB, free: 105.6 MB / 0.7638 GB