Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadModel(Buildings): time 3.582/3.582, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.39e-05, allocations: 4 kB / 0.499 GB, free: 13.44 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4757/0.4758, allocations: 92.69 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.043/5.519, allocations: 2.178 GB / 2.767 GB, free: 152.7 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/5.519, allocations: 89.06 kB / 2.767 GB, free: 152.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.291/9.81, allocations: 1.003 GB / 3.77 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.925e-06/9.811, allocations: 0 / 3.77 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.000184/9.811, allocations: 47.98 kB / 3.77 GB, free: 12.93 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.004811/9.816, allocations: 2.147 MB / 3.772 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/9.816, allocations: 11.97 kB / 3.772 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004823/9.82, allocations: 0.6063 MB / 3.773 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004537/9.825, allocations: 1.575 MB / 3.774 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/9.825, allocations: 102.5 kB / 3.774 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000301/9.825, allocations: 139.8 kB / 3.775 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003602/9.829, allocations: 1.494 MB / 3.776 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.338e-05/9.829, allocations: 7.875 kB / 3.776 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001938/9.829, allocations: 64 kB / 3.776 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/9.829, allocations: 42.47 kB / 3.776 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002964/9.832, allocations: 1.129 MB / 3.777 GB, free: 5.402 MB / 0.7761 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.0109/9.843, allocations: 6.262 MB / 3.783 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002362/9.846, allocations: 0.9316 MB / 3.784 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/9.847, allocations: 468.7 kB / 3.785 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003766/9.847, allocations: 125.8 kB / 3.785 GB, free: 13.19 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001806/9.849, allocations: 0.6761 MB / 3.785 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=88): time 4.853e-06/9.849, allocations: 0 / 3.785 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96): time 0.01319/9.862, allocations: 4.413 MB / 3.79 GB, free: 7.938 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003207/9.863, allocations: 0.5224 MB / 3.79 GB, free: 7.293 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/9.865, allocations: 1.216 MB / 3.792 GB, free: 6.074 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002666/9.866, allocations: 49.7 kB / 3.792 GB, free: 6.02 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/9.867, allocations: 0.7875 MB / 3.792 GB, free: 5.223 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005125/9.867, allocations: 334.8 kB / 3.793 GB, free: 4.895 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.654e-05/9.867, allocations: 20 kB / 3.793 GB, free: 4.875 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001947/9.867, allocations: 345.9 kB / 3.793 GB, free: 4.531 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000973/9.868, allocations: 402.1 kB / 3.793 GB, free: 4.141 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/9.87, allocations: 0.6893 MB / 3.794 GB, free: 3.34 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00946/9.879, allocations: 1.662 MB / 3.796 GB, free: 1.645 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.972e-06/9.879, allocations: 4 kB / 3.796 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005517/9.885, allocations: 1.582 MB / 3.797 GB, free: 36 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.5019/10.39, allocations: 1.834 MB / 3.799 GB, free: 114.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/10.39, allocations: 11.47 kB / 3.799 GB, free: 114.6 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001626/10.39, allocations: 361.4 kB / 3.799 GB, free: 114.6 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/10.39, allocations: 186.4 kB / 3.8 GB, free: 114.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009676/10.4, allocations: 6.705 MB / 3.806 GB, free: 110.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/10.4, allocations: 132.5 kB / 3.806 GB, free: 110.2 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002973/10.4, allocations: 46.16 kB / 3.806 GB, free: 110.2 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/10.4, allocations: 11.03 kB / 3.806 GB, free: 110.2 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004345/10.41, allocations: 1.424 MB / 3.808 GB, free: 110 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/10.41, allocations: 8 kB / 3.808 GB, free: 110 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/10.41, allocations: 353.9 kB / 3.808 GB, free: 110 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/10.41, allocations: 169.8 kB / 3.808 GB, free: 110 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00974/10.42, allocations: 7.651 MB / 3.816 GB, free: 104.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/10.42, allocations: 118.4 kB / 3.816 GB, free: 104.7 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/10.42, allocations: 45.83 kB / 3.816 GB, free: 104.7 MB / 0.7917 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004717/10.42, allocations: 207.3 kB / 3.816 GB, free: 104.5 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004675/10.42, allocations: 177.8 kB / 3.816 GB, free: 104.5 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004653/10.43, allocations: 1.316 MB / 3.817 GB, free: 104.4 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/10.43, allocations: 13.48 kB / 3.817 GB, free: 104.4 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.145e-06/10.43, allocations: 0 / 3.817 GB, free: 104.4 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003631/10.43, allocations: 1.173 MB / 3.819 GB, free: 104.2 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00879/10.44, allocations: 3.62 MB / 3.822 GB, free: 103.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/10.44, allocations: 3.219 kB / 3.822 GB, free: 103.2 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/10.44, allocations: 171.5 kB / 3.822 GB, free: 103.2 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005695/10.44, allocations: 159.7 kB / 3.822 GB, free: 103.2 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/10.44, allocations: 31.14 kB / 3.822 GB, free: 103.2 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005663/10.45, allocations: 3.44 MB / 3.826 GB, free: 100.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/10.45, allocations: 6.625 kB / 3.826 GB, free: 100.6 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005797/10.45, allocations: 2.258 MB / 3.828 GB, free: 99.88 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/10.45, allocations: 373.8 kB / 3.828 GB, free: 99.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003963/10.46, allocations: 33.23 kB / 3.828 GB, free: 99.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/10.46, allocations: 117.2 kB / 3.829 GB, free: 99.7 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002315/10.46, allocations: 68.81 kB / 3.829 GB, free: 99.69 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/10.46, allocations: 38.31 kB / 3.829 GB, free: 99.69 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001885/10.46, allocations: 0.9379 MB / 3.83 GB, free: 99.57 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9.33e-07/10.46, allocations: 0 / 3.83 GB, free: 99.57 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005189/10.46, allocations: 1.028 MB / 3.831 GB, free: 99.57 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003853/10.47, allocations: 2.376 MB / 3.833 GB, free: 98.73 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.005037/10.47, allocations: 2.671 MB / 3.836 GB, free: 97.84 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.823e-06/10.47, allocations: 3.156 kB / 3.836 GB, free: 97.84 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001397/10.47, allocations: 0.7892 MB / 3.836 GB, free: 97.57 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004986/10.48, allocations: 0.871 MB / 3.837 GB, free: 97.54 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006933/10.49, allocations: 2.627 MB / 3.84 GB, free: 96.8 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/10.49, allocations: 1.435 MB / 3.841 GB, free: 96.07 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003694/10.49, allocations: 0.5297 MB / 3.842 GB, free: 96.05 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003535/10.49, allocations: 97.61 kB / 3.842 GB, free: 96.05 MB / 0.7917 GB Notification: Performance of SimCode: time 1.596e-06/10.49, allocations: 0 / 3.842 GB, free: 96.05 MB / 0.7917 GB Notification: Performance of Templates: time 0.1378/10.63, allocations: 71.75 MB / 3.912 GB, free: 93.7 MB / 0.7917 GB