Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadModel(Buildings): time 4.303/4.303, allocations: 464.7 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.533e-05/3.533e-05, allocations: 4 kB / 0.5731 GB, free: 5.723 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1965, allocations: 107.2 MB / 0.6777 GB, free: 10.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.019/1.215, allocations: 399.8 MB / 1.068 GB, free: 2.453 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/1.216, allocations: 92.94 kB / 1.068 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.287/3.503, allocations: 421.8 MB / 1.48 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.371e-06/3.503, allocations: 0 / 1.48 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001186/3.503, allocations: 37.75 kB / 1.48 GB, free: 202.2 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002503/3.505, allocations: 1.237 MB / 1.481 GB, free: 201.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/3.505, allocations: 9.281 kB / 1.481 GB, free: 201.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005757/3.506, allocations: 142.8 kB / 1.482 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03482/3.541, allocations: 12.29 MB / 1.494 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.993e-05/3.541, allocations: 59.94 kB / 1.494 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/3.541, allocations: 71.12 kB / 1.494 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/3.543, allocations: 0.7103 MB / 1.494 GB, free: 201 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/3.543, allocations: 3.469 kB / 1.494 GB, free: 201 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.874e-05/3.543, allocations: 37.16 kB / 1.494 GB, free: 201 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.354e-05/3.543, allocations: 21.5 kB / 1.495 GB, free: 201 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/3.544, allocations: 478 kB / 1.495 GB, free: 201 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004891/3.549, allocations: 3.542 MB / 1.498 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006102/3.549, allocations: 326.2 kB / 1.499 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/3.55, allocations: 161.2 kB / 1.499 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004386/3.55, allocations: 0.657 MB / 1.5 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/3.55, allocations: 44.5 kB / 1.5 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 3.903e-06/3.55, allocations: 0 / 1.5 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.0008574/3.551, allocations: 369.8 kB / 1.5 GB, free: 198.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/3.551, allocations: 58.83 kB / 1.5 GB, free: 198.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/3.552, allocations: 0.8051 MB / 1.501 GB, free: 198 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.74e-05/3.553, allocations: 33.11 kB / 1.501 GB, free: 197.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/3.553, allocations: 0.4926 MB / 1.501 GB, free: 197.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/3.553, allocations: 111.7 kB / 1.501 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/3.553, allocations: 7.188 kB / 1.501 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.617e-05/3.553, allocations: 329.5 kB / 1.502 GB, free: 197.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/3.553, allocations: 122.4 kB / 1.502 GB, free: 197.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/3.554, allocations: 347.5 kB / 1.502 GB, free: 197.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/3.554, allocations: 191 kB / 1.502 GB, free: 197.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.373e-06/3.554, allocations: 3.281 kB / 1.502 GB, free: 197.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0011/3.555, allocations: 0.5109 MB / 1.503 GB, free: 197.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/3.555, allocations: 7.625 kB / 1.503 GB, free: 197.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/3.555, allocations: 3.906 kB / 1.503 GB, free: 197.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/3.555, allocations: 7.656 kB / 1.503 GB, free: 197.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000531/3.556, allocations: 116.9 kB / 1.503 GB, free: 197.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/3.556, allocations: 17.91 kB / 1.503 GB, free: 197.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/3.557, allocations: 118.5 kB / 1.503 GB, free: 197 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.858e-05/3.557, allocations: 30.41 kB / 1.503 GB, free: 197 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.0001338/3.557, allocations: 133.3 kB / 1.503 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/3.558, allocations: 96.84 kB / 1.503 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009879/3.559, allocations: 455.1 kB / 1.504 GB, free: 196.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/3.559, allocations: 3.938 kB / 1.504 GB, free: 196.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.241e-06/3.559, allocations: 2.625 kB / 1.504 GB, free: 196.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006053/3.559, allocations: 414 kB / 1.504 GB, free: 196.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/3.562, allocations: 1.38 MB / 1.506 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.528e-06/3.562, allocations: 3.906 kB / 1.506 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005056/3.562, allocations: 86.39 kB / 1.506 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/3.562, allocations: 3.875 kB / 1.506 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/3.562, allocations: 11.78 kB / 1.506 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.117e-06/3.562, allocations: 0 / 1.506 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.496e-06/3.562, allocations: 4.844 kB / 1.506 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/3.564, allocations: 0.778 MB / 1.506 GB, free: 195.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000544/3.564, allocations: 247.8 kB / 1.507 GB, free: 195.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/3.564, allocations: 14.25 kB / 1.507 GB, free: 195.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008648/3.565, allocations: 58.55 kB / 1.507 GB, free: 195.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/3.565, allocations: 30 kB / 1.507 GB, free: 195.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.334e-05/3.566, allocations: 17.62 kB / 1.507 GB, free: 195.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001112/3.567, allocations: 0.6421 MB / 1.507 GB, free: 195.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.53e-07/3.567, allocations: 0 / 1.507 GB, free: 195.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001535/3.568, allocations: 362.7 kB / 1.508 GB, free: 195.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.001076/3.569, allocations: 0.5786 MB / 1.508 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007666/3.57, allocations: 338.7 kB / 1.509 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.952e-06/3.57, allocations: 2.875 kB / 1.509 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003354/3.57, allocations: 168.6 kB / 1.509 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003854/3.574, allocations: 0.6078 MB / 1.509 GB, free: 195.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/3.577, allocations: 1.209 MB / 1.511 GB, free: 195.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/3.578, allocations: 1.057 MB / 1.512 GB, free: 194.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001108/3.579, allocations: 201.1 kB / 1.512 GB, free: 194.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/3.579, allocations: 75.77 kB / 1.512 GB, free: 194.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.764e-06/3.579, allocations: 0 / 1.512 GB, free: 194.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.05137/3.63, allocations: 22.83 MB / 1.534 GB, free: 193.8 MB / 0.8855 GB