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.476/3.476, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.57e-05/3.585e-05, allocations: 11.94 kB / 0.4991 GB, free: 13.42 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4777/0.4777, allocations: 92.67 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.19/5.667, allocations: 2.15 GB / 2.739 GB, free: 128.1 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/5.668, allocations: 91.44 kB / 2.739 GB, free: 128.1 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.1173/5.785, allocations: 40.44 MB / 2.779 GB, free: 94.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.458e-06/5.785, allocations: 4 kB / 2.779 GB, free: 94.29 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.36e-05/5.785, allocations: 4 kB / 2.779 GB, free: 94.29 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.0005093/5.785, allocations: 440.8 kB / 2.779 GB, free: 93.82 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/5.785, allocations: 8.031 kB / 2.779 GB, free: 93.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002964/5.786, allocations: 34.61 kB / 2.779 GB, free: 93.79 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/5.786, allocations: 209.9 kB / 2.78 GB, free: 93.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/5.786, allocations: 10.25 kB / 2.78 GB, free: 93.54 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/5.786, allocations: 7.562 kB / 2.78 GB, free: 93.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/5.786, allocations: 100.1 kB / 2.78 GB, free: 93.46 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/5.786, allocations: 0 / 2.78 GB, free: 93.46 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/5.786, allocations: 7.125 kB / 2.78 GB, free: 93.46 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.282e-06/5.786, allocations: 0 / 2.78 GB, free: 93.46 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/5.787, allocations: 73.42 kB / 2.78 GB, free: 93.41 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007192/5.787, allocations: 460.6 kB / 2.78 GB, free: 92.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/5.787, allocations: 72.33 kB / 2.78 GB, free: 92.92 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.542e-05/5.788, allocations: 30.23 kB / 2.78 GB, free: 92.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/5.788, allocations: 4.031 kB / 2.78 GB, free: 92.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/5.788, allocations: 38.45 kB / 2.78 GB, free: 92.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 2.302e-06/5.788, allocations: 0 / 2.78 GB, free: 92.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002363/5.788, allocations: 82.69 kB / 2.78 GB, free: 92.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/5.788, allocations: 63.33 kB / 2.781 GB, free: 92.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/5.788, allocations: 156.1 kB / 2.781 GB, free: 92.56 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/5.788, allocations: 33.7 kB / 2.781 GB, free: 92.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/5.788, allocations: 117.2 kB / 2.781 GB, free: 92.42 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/5.788, allocations: 22.14 kB / 2.781 GB, free: 92.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-06/5.788, allocations: 2.25 kB / 2.781 GB, free: 92.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 5.819e-05/5.788, allocations: 322.7 kB / 2.781 GB, free: 92.08 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.004e-05/5.788, allocations: 21.75 kB / 2.781 GB, free: 92.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.383e-05/5.788, allocations: 14.52 kB / 2.781 GB, free: 92.06 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.764e-05/5.789, allocations: 31.25 kB / 2.781 GB, free: 92.04 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.169e-06/5.789, allocations: 0 / 2.781 GB, free: 92.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000184/5.789, allocations: 88.98 kB / 2.781 GB, free: 91.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/5.789, allocations: 11.98 kB / 2.781 GB, free: 91.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.573e-06/5.789, allocations: 0 / 2.781 GB, free: 91.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/5.789, allocations: 3.953 kB / 2.781 GB, free: 91.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/5.789, allocations: 27.48 kB / 2.781 GB, free: 91.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/5.789, allocations: 0 / 2.781 GB, free: 91.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/5.789, allocations: 19.84 kB / 2.781 GB, free: 91.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/5.789, allocations: 4 kB / 2.781 GB, free: 91.9 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.339e-05/5.789, allocations: 116.2 kB / 2.781 GB, free: 91.79 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/5.789, allocations: 11.81 kB / 2.781 GB, free: 91.78 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/5.79, allocations: 104.9 kB / 2.782 GB, free: 91.69 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.183e-06/5.79, allocations: 7.953 kB / 2.782 GB, free: 91.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.034e-06/5.79, allocations: 0 / 2.782 GB, free: 91.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.603e-06/5.79, allocations: 0 / 2.782 GB, free: 91.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/5.79, allocations: 214.5 kB / 2.782 GB, free: 91.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.109e-06/5.79, allocations: 0 / 2.782 GB, free: 91.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/5.79, allocations: 27.05 kB / 2.782 GB, free: 91.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.659e-06/5.79, allocations: 0 / 2.782 GB, free: 91.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/5.79, allocations: 0 / 2.782 GB, free: 91.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.403e-06/5.79, allocations: 0 / 2.782 GB, free: 91.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.517e-06/5.79, allocations: 11.94 kB / 2.782 GB, free: 91.41 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/5.79, allocations: 181.5 kB / 2.782 GB, free: 91.24 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/5.79, allocations: 96.8 kB / 2.782 GB, free: 91.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/5.79, allocations: 0 / 2.782 GB, free: 91.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/5.791, allocations: 19.92 kB / 2.782 GB, free: 91.11 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/5.791, allocations: 4 kB / 2.782 GB, free: 91.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/5.791, allocations: 7.938 kB / 2.782 GB, free: 91.1 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001192/5.791, allocations: 140.1 kB / 2.782 GB, free: 90.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.18e-07/5.791, allocations: 0 / 2.782 GB, free: 90.98 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004455/5.791, allocations: 55.86 kB / 2.782 GB, free: 90.95 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.0006426/5.792, allocations: 0.5654 MB / 2.783 GB, free: 90.39 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001781/5.792, allocations: 47 kB / 2.783 GB, free: 90.36 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.708e-06/5.792, allocations: 3.938 kB / 2.783 GB, free: 90.36 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.114e-05/5.792, allocations: 34.11 kB / 2.783 GB, free: 90.33 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/5.793, allocations: 21.42 kB / 2.783 GB, free: 90.32 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/5.793, allocations: 161.3 kB / 2.783 GB, free: 90.15 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/5.793, allocations: 0.7237 MB / 2.784 GB, free: 89.4 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001006/5.793, allocations: 16.88 kB / 2.784 GB, free: 89.38 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/5.793, allocations: 14.44 kB / 2.784 GB, free: 89.37 MB / 0.7761 GB Notification: Performance of SimCode: time 1.456e-06/5.793, allocations: 0 / 2.784 GB, free: 89.37 MB / 0.7761 GB Notification: Performance of Templates: time 0.01785/5.811, allocations: 10.23 MB / 2.794 GB, free: 79.16 MB / 0.7761 GB