Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadModel(Buildings): time 3.482/3.482, allocations: 403.3 MB / 415.4 MB, free: 12.94 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.284e-05/3.304e-05, allocations: 4 kB / 0.499 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4731/0.4732, allocations: 92.69 MB / 0.5895 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.231/5.704, allocations: 2.15 GB / 2.739 GB, free: 127.7 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/5.704, allocations: 85.12 kB / 2.739 GB, free: 127.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.1196/5.824, allocations: 40.43 MB / 2.779 GB, free: 93.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.682e-06/5.824, allocations: 0 / 2.779 GB, free: 93.9 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.247e-05/5.824, allocations: 0 / 2.779 GB, free: 93.9 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005276/5.825, allocations: 444.8 kB / 2.779 GB, free: 93.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/5.825, allocations: 12.03 kB / 2.779 GB, free: 93.42 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000298/5.825, allocations: 37.03 kB / 2.779 GB, free: 93.39 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/5.825, allocations: 203.2 kB / 2.78 GB, free: 93.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/5.825, allocations: 10.12 kB / 2.78 GB, free: 93.15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/5.825, allocations: 10.94 kB / 2.78 GB, free: 93.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/5.826, allocations: 107.2 kB / 2.78 GB, free: 93.06 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/5.826, allocations: 0 / 2.78 GB, free: 93.06 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/5.826, allocations: 2.938 kB / 2.78 GB, free: 93.06 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.799e-06/5.826, allocations: 7.938 kB / 2.78 GB, free: 93.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/5.826, allocations: 63.06 kB / 2.78 GB, free: 93.02 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007202/5.826, allocations: 459.6 kB / 2.78 GB, free: 92.58 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/5.827, allocations: 81.25 kB / 2.78 GB, free: 92.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.615e-05/5.827, allocations: 26.8 kB / 2.78 GB, free: 92.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/5.827, allocations: 4 kB / 2.78 GB, free: 92.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/5.827, allocations: 38.45 kB / 2.78 GB, free: 92.45 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 2.205e-06/5.827, allocations: 0 / 2.78 GB, free: 92.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002384/5.827, allocations: 86.34 kB / 2.78 GB, free: 92.37 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/5.827, allocations: 55.41 kB / 2.781 GB, free: 92.3 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/5.827, allocations: 168.4 kB / 2.781 GB, free: 92.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/5.827, allocations: 25.7 kB / 2.781 GB, free: 92.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/5.827, allocations: 120.1 kB / 2.781 GB, free: 92.02 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/5.827, allocations: 24.39 kB / 2.781 GB, free: 92 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.957e-06/5.827, allocations: 0 / 2.781 GB, free: 92 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 5.701e-05/5.828, allocations: 323.9 kB / 2.781 GB, free: 91.68 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.825e-05/5.828, allocations: 17.81 kB / 2.781 GB, free: 91.67 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-05/5.828, allocations: 25.31 kB / 2.781 GB, free: 91.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.31e-05/5.828, allocations: 22.62 kB / 2.781 GB, free: 91.64 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/5.828, allocations: 0 / 2.781 GB, free: 91.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000186/5.828, allocations: 89.34 kB / 2.781 GB, free: 91.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/5.828, allocations: 8 kB / 2.781 GB, free: 91.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.558e-06/5.828, allocations: 3.984 kB / 2.781 GB, free: 91.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/5.828, allocations: 3.953 kB / 2.781 GB, free: 91.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/5.828, allocations: 23.92 kB / 2.781 GB, free: 91.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.238e-06/5.828, allocations: 0 / 2.781 GB, free: 91.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/5.828, allocations: 23.83 kB / 2.781 GB, free: 91.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/5.828, allocations: 4 kB / 2.781 GB, free: 91.5 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 5.205e-05/5.828, allocations: 104.8 kB / 2.781 GB, free: 91.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/5.828, allocations: 11.81 kB / 2.781 GB, free: 91.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/5.829, allocations: 104.2 kB / 2.782 GB, free: 91.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.275e-06/5.829, allocations: 7.953 kB / 2.782 GB, free: 91.29 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.824e-06/5.829, allocations: 4 kB / 2.782 GB, free: 91.29 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/5.829, allocations: 3.938 kB / 2.782 GB, free: 91.29 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/5.829, allocations: 217.3 kB / 2.782 GB, free: 91.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-06/5.829, allocations: 0 / 2.782 GB, free: 91.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/5.829, allocations: 19.98 kB / 2.782 GB, free: 91.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.812e-06/5.829, allocations: 0 / 2.782 GB, free: 91.03 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/5.829, allocations: 2.438 kB / 2.782 GB, free: 91.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.277e-06/5.829, allocations: 0 / 2.782 GB, free: 91.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/5.829, allocations: 7.953 kB / 2.782 GB, free: 91.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/5.829, allocations: 185.7 kB / 2.782 GB, free: 90.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/5.83, allocations: 102.6 kB / 2.782 GB, free: 90.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/5.83, allocations: 0 / 2.782 GB, free: 90.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/5.83, allocations: 10.56 kB / 2.782 GB, free: 90.71 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/5.83, allocations: 11.92 kB / 2.782 GB, free: 90.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.696e-06/5.83, allocations: 3.953 kB / 2.782 GB, free: 90.7 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001184/5.83, allocations: 138.1 kB / 2.782 GB, free: 90.58 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.79e-07/5.83, allocations: 0 / 2.782 GB, free: 90.58 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004678/5.83, allocations: 56.92 kB / 2.782 GB, free: 90.55 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0006575/5.831, allocations: 0.5712 MB / 2.783 GB, free: 89.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001865/5.831, allocations: 48.48 kB / 2.783 GB, free: 89.95 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.332e-06/5.831, allocations: 4 kB / 2.783 GB, free: 89.95 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.359e-05/5.831, allocations: 29.06 kB / 2.783 GB, free: 89.93 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/5.832, allocations: 29.28 kB / 2.783 GB, free: 89.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/5.832, allocations: 157.7 kB / 2.783 GB, free: 89.74 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/5.832, allocations: 0.7172 MB / 2.784 GB, free: 89 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001045/5.833, allocations: 16.88 kB / 2.784 GB, free: 88.98 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/5.833, allocations: 11.44 kB / 2.784 GB, free: 88.97 MB / 0.7761 GB Notification: Performance of SimCode: time 1.768e-06/5.833, allocations: 0 / 2.784 GB, free: 88.97 MB / 0.7761 GB Notification: Performance of Templates: time 0.01774/5.85, allocations: 10.19 MB / 2.794 GB, free: 78.8 MB / 0.7761 GB