Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadModel(Buildings): time 3.977/3.977, allocations: 464.6 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.107e-05/4.122e-05, allocations: 8.047 kB / 0.5731 GB, free: 5.742 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1967, allocations: 107.2 MB / 0.6778 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.603/5.8, allocations: 2.175 GB / 2.853 GB, free: 335 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/5.8, allocations: 91.39 kB / 2.853 GB, free: 335 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1302/5.93, allocations: 40.51 MB / 2.892 GB, free: 317.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.233e-06/5.93, allocations: 0 / 2.892 GB, free: 317.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.324e-05/5.93, allocations: 4 kB / 2.892 GB, free: 317.8 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005533/5.931, allocations: 452.8 kB / 2.893 GB, free: 317.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/5.931, allocations: 12.03 kB / 2.893 GB, free: 317.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003049/5.931, allocations: 35.83 kB / 2.893 GB, free: 317.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/5.932, allocations: 210.8 kB / 2.893 GB, free: 317 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/5.932, allocations: 8 kB / 2.893 GB, free: 317 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/5.932, allocations: 12 kB / 2.893 GB, free: 317 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/5.932, allocations: 100 kB / 2.893 GB, free: 316.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/5.932, allocations: 4 kB / 2.893 GB, free: 316.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/5.932, allocations: 4 kB / 2.893 GB, free: 316.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.516e-06/5.932, allocations: 0 / 2.893 GB, free: 316.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/5.932, allocations: 75.89 kB / 2.893 GB, free: 316.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000734/5.933, allocations: 464.1 kB / 2.894 GB, free: 316.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/5.933, allocations: 78.56 kB / 2.894 GB, free: 316.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.254e-05/5.933, allocations: 24.92 kB / 2.894 GB, free: 316.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/5.933, allocations: 0 / 2.894 GB, free: 316.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/5.933, allocations: 30.56 kB / 2.894 GB, free: 316.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 2.017e-06/5.933, allocations: 0 / 2.894 GB, free: 316.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0002522/5.934, allocations: 85.78 kB / 2.894 GB, free: 316.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/5.934, allocations: 63.34 kB / 2.894 GB, free: 316 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/5.934, allocations: 170 kB / 2.894 GB, free: 315.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/5.934, allocations: 25.7 kB / 2.894 GB, free: 315.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/5.934, allocations: 115.9 kB / 2.894 GB, free: 315.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/5.934, allocations: 27.64 kB / 2.894 GB, free: 315.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.6e-06/5.934, allocations: 0 / 2.894 GB, free: 315.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.981e-05/5.934, allocations: 330.8 kB / 2.895 GB, free: 315.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.718e-05/5.934, allocations: 20 kB / 2.895 GB, free: 315.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.408e-05/5.934, allocations: 24 kB / 2.895 GB, free: 315.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.351e-05/5.934, allocations: 16 kB / 2.895 GB, free: 315.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/5.934, allocations: 0 / 2.895 GB, free: 315.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001839/5.934, allocations: 89.59 kB / 2.895 GB, free: 315.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/5.934, allocations: 4 kB / 2.895 GB, free: 315.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/5.934, allocations: 0 / 2.895 GB, free: 315.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/5.934, allocations: 0 / 2.895 GB, free: 315.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/5.935, allocations: 31.86 kB / 2.895 GB, free: 315.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/5.935, allocations: 0 / 2.895 GB, free: 315.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/5.935, allocations: 19.89 kB / 2.895 GB, free: 315.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/5.935, allocations: 4 kB / 2.895 GB, free: 315.1 MB / 0.8855 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.245e-05/5.935, allocations: 108.9 kB / 2.895 GB, free: 315 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/5.935, allocations: 11.91 kB / 2.895 GB, free: 315 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/5.935, allocations: 107.1 kB / 2.895 GB, free: 314.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.103e-06/5.935, allocations: 4 kB / 2.895 GB, free: 314.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.031e-06/5.935, allocations: 0 / 2.895 GB, free: 314.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.793e-06/5.935, allocations: 0 / 2.895 GB, free: 314.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/5.936, allocations: 229.4 kB / 2.895 GB, free: 314.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.627e-06/5.936, allocations: 0 / 2.895 GB, free: 314.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/5.936, allocations: 23.92 kB / 2.895 GB, free: 314.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.364e-06/5.936, allocations: 0 / 2.895 GB, free: 314.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/5.936, allocations: 0 / 2.895 GB, free: 314.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.153e-06/5.936, allocations: 4 kB / 2.895 GB, free: 314.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.951e-06/5.936, allocations: 0 / 2.895 GB, free: 314.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/5.936, allocations: 187.8 kB / 2.895 GB, free: 314.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/5.936, allocations: 92.91 kB / 2.895 GB, free: 314.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/5.936, allocations: 4 kB / 2.895 GB, free: 314.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/5.936, allocations: 11.98 kB / 2.895 GB, free: 314.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/5.936, allocations: 4 kB / 2.895 GB, free: 314.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/5.936, allocations: 4 kB / 2.895 GB, free: 314.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001687/5.936, allocations: 136.3 kB / 2.896 GB, free: 314.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.051e-06/5.937, allocations: 0 / 2.896 GB, free: 314.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004696/5.937, allocations: 59.98 kB / 2.896 GB, free: 314 MB / 0.8855 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.0006806/5.938, allocations: 0.5719 MB / 2.896 GB, free: 313.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001871/5.938, allocations: 44 kB / 2.896 GB, free: 313.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/5.938, allocations: 4 kB / 2.896 GB, free: 313.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.029e-05/5.938, allocations: 31.92 kB / 2.896 GB, free: 313.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/5.938, allocations: 31.92 kB / 2.896 GB, free: 313.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/5.939, allocations: 161.9 kB / 2.896 GB, free: 313.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/5.939, allocations: 0.7082 MB / 2.897 GB, free: 312.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001076/5.939, allocations: 20.86 kB / 2.897 GB, free: 312.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.716e-05/5.939, allocations: 11.44 kB / 2.897 GB, free: 312.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.64e-06/5.939, allocations: 3.938 kB / 2.897 GB, free: 312.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.01775/5.957, allocations: 10.21 MB / 2.907 GB, free: 302.2 MB / 0.8855 GB