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.516/3.516, allocations: 403.9 MB / 411 MB, free: 344 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.139e-05/3.139e-05, allocations: 11.94 kB / 0.4942 GB, free: 1.359 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4848/0.4849, allocations: 92.69 MB / 0.5847 GB, free: 2.352 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.097/5.582, allocations: 2.149 GB / 2.734 GB, free: 44.89 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/5.582, allocations: 88.06 kB / 2.734 GB, free: 44.84 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.114/5.696, allocations: 39.77 MB / 2.773 GB, free: 8.922 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.117e-06/5.696, allocations: 0 / 2.773 GB, free: 8.922 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.193e-05/5.696, allocations: 4 kB / 2.773 GB, free: 8.918 MB / 0.7605 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.0005004/5.697, allocations: 446.7 kB / 2.773 GB, free: 8.438 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/5.697, allocations: 12.02 kB / 2.773 GB, free: 8.426 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003172/5.697, allocations: 35.8 kB / 2.773 GB, free: 8.391 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/5.698, allocations: 204.6 kB / 2.773 GB, free: 8.152 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/5.698, allocations: 0 / 2.773 GB, free: 8.152 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/5.698, allocations: 15.89 kB / 2.773 GB, free: 8.137 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001686/5.698, allocations: 59.94 kB / 2.774 GB, free: 8.078 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/5.698, allocations: 92.5 kB / 2.774 GB, free: 7.984 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1e-05/5.698, allocations: 8 kB / 2.774 GB, free: 7.977 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/5.698, allocations: 0 / 2.774 GB, free: 7.977 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.514e-06/5.698, allocations: 0 / 2.774 GB, free: 7.977 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006817/5.699, allocations: 412.9 kB / 2.774 GB, free: 7.535 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/5.699, allocations: 70.52 kB / 2.774 GB, free: 7.457 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.994e-05/5.699, allocations: 28.95 kB / 2.774 GB, free: 7.426 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/5.699, allocations: 4.141 kB / 2.774 GB, free: 7.422 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/5.699, allocations: 46.88 kB / 2.774 GB, free: 7.367 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=7): time 2.121e-06/5.699, allocations: 4 kB / 2.774 GB, free: 7.363 MB / 0.7605 GB Notification: Performance of matching and sorting (n=7): time 0.0002278/5.699, allocations: 77.55 kB / 2.774 GB, free: 7.281 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.67e-05/5.699, allocations: 51.41 kB / 2.774 GB, free: 7.219 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/5.699, allocations: 131.2 kB / 2.774 GB, free: 7.082 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/5.699, allocations: 29.7 kB / 2.774 GB, free: 7.047 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/5.7, allocations: 115.8 kB / 2.775 GB, free: 6.93 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/5.7, allocations: 27.64 kB / 2.775 GB, free: 6.902 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/5.7, allocations: 0 / 2.775 GB, free: 6.902 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 5.798e-05/5.7, allocations: 326.8 kB / 2.775 GB, free: 6.574 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.977e-05/5.7, allocations: 23.88 kB / 2.775 GB, free: 6.551 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.658e-05/5.7, allocations: 20 kB / 2.775 GB, free: 6.531 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.606e-05/5.7, allocations: 16 kB / 2.775 GB, free: 6.516 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.059e-06/5.7, allocations: 0 / 2.775 GB, free: 6.516 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001678/5.7, allocations: 81.59 kB / 2.775 GB, free: 6.43 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/5.7, allocations: 8 kB / 2.775 GB, free: 6.422 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.866e-06/5.7, allocations: 0 / 2.775 GB, free: 6.422 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/5.7, allocations: 0 / 2.775 GB, free: 6.422 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/5.7, allocations: 27.94 kB / 2.775 GB, free: 6.395 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.23e-06/5.7, allocations: 0 / 2.775 GB, free: 6.395 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/5.7, allocations: 11.98 kB / 2.775 GB, free: 6.383 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/5.7, allocations: 0 / 2.775 GB, free: 6.383 MB / 0.7605 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.765e-05/5.701, allocations: 108.9 kB / 2.775 GB, free: 6.27 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/5.701, allocations: 7.906 kB / 2.775 GB, free: 6.262 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/5.701, allocations: 94.19 kB / 2.775 GB, free: 6.16 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.278e-06/5.701, allocations: 7.969 kB / 2.775 GB, free: 6.152 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.933e-06/5.701, allocations: 7.953 kB / 2.775 GB, free: 6.145 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.775e-06/5.701, allocations: 0 / 2.775 GB, free: 6.145 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/5.701, allocations: 190.2 kB / 2.775 GB, free: 5.922 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.961e-06/5.701, allocations: 0 / 2.775 GB, free: 5.922 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/5.701, allocations: 19.98 kB / 2.775 GB, free: 5.902 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/5.701, allocations: 0 / 2.775 GB, free: 5.902 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/5.701, allocations: 0 / 2.775 GB, free: 5.902 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.958e-06/5.701, allocations: 3.938 kB / 2.775 GB, free: 5.898 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.232e-06/5.701, allocations: 0 / 2.775 GB, free: 5.898 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/5.702, allocations: 187.7 kB / 2.776 GB, free: 5.699 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/5.702, allocations: 88.95 kB / 2.776 GB, free: 5.594 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/5.702, allocations: 3.984 kB / 2.776 GB, free: 5.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/5.702, allocations: 12 kB / 2.776 GB, free: 5.578 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/5.702, allocations: 7.984 kB / 2.776 GB, free: 5.57 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.629e-06/5.702, allocations: 4 kB / 2.776 GB, free: 5.566 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 7.994e-05/5.702, allocations: 113.3 kB / 2.776 GB, free: 5.457 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.66e-07/5.702, allocations: 0 / 2.776 GB, free: 5.457 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004013/5.702, allocations: 51.89 kB / 2.776 GB, free: 5.406 MB / 0.7605 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.0007147/5.703, allocations: 0.6436 MB / 2.777 GB, free: 4.754 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001611/5.703, allocations: 51.92 kB / 2.777 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/5.703, allocations: 0 / 2.777 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/5.703, allocations: 27.98 kB / 2.777 GB, free: 4.676 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/5.704, allocations: 35.91 kB / 2.777 GB, free: 4.641 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/5.704, allocations: 160.8 kB / 2.777 GB, free: 4.457 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/5.704, allocations: 0.7158 MB / 2.778 GB, free: 3.715 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.512e-05/5.704, allocations: 4.438 kB / 2.778 GB, free: 3.711 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/5.704, allocations: 11.44 kB / 2.778 GB, free: 3.699 MB / 0.7605 GB Notification: Performance of SimCode: time 1.26e-06/5.705, allocations: 0 / 2.778 GB, free: 3.699 MB / 0.7605 GB Notification: Performance of Templates: time 0.4286/6.133, allocations: 4.367 MB / 2.782 GB, free: 268.1 MB / 0.7605 GB