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.518/3.518, allocations: 403.9 MB / 411 MB, free: 392 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.004e-05/2.017e-05, allocations: 4 kB / 0.4942 GB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4807/0.4807, allocations: 92.68 MB / 0.5847 GB, free: 2.391 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.304/5.784, allocations: 2.177 GB / 2.762 GB, free: 50.04 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/5.785, allocations: 87.95 kB / 2.762 GB, free: 49.95 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.827/10.61, allocations: 0.9915 GB / 3.753 GB, free: 120.9 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.169e-06/10.61, allocations: 0 / 3.753 GB, free: 120.9 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002584/10.61, allocations: 46.42 kB / 3.753 GB, free: 120.9 MB / 0.7917 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.0063/10.62, allocations: 2.142 MB / 3.756 GB, free: 120.1 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/10.62, allocations: 9.984 kB / 3.756 GB, free: 120.1 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00509/10.62, allocations: 0.6129 MB / 3.756 GB, free: 120 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004814/10.63, allocations: 1.584 MB / 3.758 GB, free: 119.6 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.071e-05/10.63, allocations: 49.91 kB / 3.758 GB, free: 119.6 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003147/10.63, allocations: 79.22 kB / 3.758 GB, free: 119.6 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002928/10.63, allocations: 1.048 MB / 3.759 GB, free: 119.6 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00337/10.64, allocations: 1.289 MB / 3.76 GB, free: 119.4 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.674e-05/10.64, allocations: 0 / 3.76 GB, free: 119.4 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001983/10.64, allocations: 3.562 kB / 3.76 GB, free: 119.4 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.944e-05/10.64, allocations: 47.69 kB / 3.76 GB, free: 119.4 MB / 0.7917 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.01098/10.65, allocations: 5.955 MB / 3.766 GB, free: 116.8 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/10.65, allocations: 0.8871 MB / 3.767 GB, free: 116.6 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007797/10.65, allocations: 445.6 kB / 3.767 GB, free: 116.6 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003289/10.65, allocations: 111.8 kB / 3.767 GB, free: 116.5 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/10.65, allocations: 0.6183 MB / 3.768 GB, free: 116.3 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=88): time 4.754e-06/10.65, allocations: 2.062 kB / 3.768 GB, free: 116.3 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96): time 0.01198/10.66, allocations: 4.283 MB / 3.772 GB, free: 114.5 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/10.66, allocations: 0.5267 MB / 3.773 GB, free: 113.9 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/10.66, allocations: 0.9421 MB / 3.774 GB, free: 113.8 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002543/10.66, allocations: 29.27 kB / 3.774 GB, free: 113.7 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007638/10.67, allocations: 0.7979 MB / 3.774 GB, free: 113.5 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004126/10.67, allocations: 323.3 kB / 3.775 GB, free: 113.3 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.213e-05/10.67, allocations: 0 / 3.775 GB, free: 113.3 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.577e-05/10.67, allocations: 347.6 kB / 3.775 GB, free: 113 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007739/10.67, allocations: 377 kB / 3.775 GB, free: 113 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/10.67, allocations: 0.664 MB / 3.776 GB, free: 112.7 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004957/10.67, allocations: 1.289 MB / 3.777 GB, free: 112.6 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.343e-06/10.67, allocations: 3.953 kB / 3.777 GB, free: 112.6 MB / 0.7917 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005463/10.68, allocations: 1.587 MB / 3.779 GB, free: 112.4 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004087/10.68, allocations: 1.831 MB / 3.781 GB, free: 110.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/10.68, allocations: 2.812 kB / 3.781 GB, free: 110.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/10.68, allocations: 373.3 kB / 3.781 GB, free: 110.5 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009891/10.68, allocations: 177.2 kB / 3.781 GB, free: 110.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007526/10.69, allocations: 6.367 MB / 3.787 GB, free: 106.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/10.69, allocations: 111.7 kB / 3.788 GB, free: 106.2 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002557/10.69, allocations: 44.36 kB / 3.788 GB, free: 106.2 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/10.69, allocations: 4.719 kB / 3.788 GB, free: 106.2 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004142/10.7, allocations: 1.409 MB / 3.789 GB, free: 106.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/10.7, allocations: 3.844 kB / 3.789 GB, free: 106.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/10.7, allocations: 363.8 kB / 3.789 GB, free: 106 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009051/10.7, allocations: 161.1 kB / 3.789 GB, free: 106 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008817/10.71, allocations: 7.273 MB / 3.797 GB, free: 100.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/10.71, allocations: 94.75 kB / 3.797 GB, free: 100.9 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/10.71, allocations: 45.17 kB / 3.797 GB, free: 100.9 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 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.0005093/10.71, allocations: 177.6 kB / 3.797 GB, free: 100.8 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004551/10.71, allocations: 158.9 kB / 3.797 GB, free: 100.7 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004689/10.71, allocations: 1.235 MB / 3.798 GB, free: 100.6 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/10.71, allocations: 12.59 kB / 3.798 GB, free: 100.6 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.796e-06/10.71, allocations: 3.125 kB / 3.798 GB, free: 100.6 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003888/10.72, allocations: 1.122 MB / 3.799 GB, free: 100.4 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00875/10.73, allocations: 3.412 MB / 3.803 GB, free: 99.45 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/10.73, allocations: 3.688 kB / 3.803 GB, free: 99.45 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/10.73, allocations: 172.3 kB / 3.803 GB, free: 99.45 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005616/10.73, allocations: 159 kB / 3.803 GB, free: 99.43 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/10.73, allocations: 20.19 kB / 3.803 GB, free: 99.43 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005547/10.73, allocations: 3.316 MB / 3.806 GB, free: 96.9 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.316e-06/10.73, allocations: 6.031 kB / 3.806 GB, free: 96.9 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005326/10.74, allocations: 2.171 MB / 3.808 GB, free: 96.2 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/10.74, allocations: 345.5 kB / 3.809 GB, free: 96.03 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004333/10.74, allocations: 14.66 kB / 3.809 GB, free: 96.03 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/10.74, allocations: 100.1 kB / 3.809 GB, free: 96.03 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/10.74, allocations: 72.88 kB / 3.809 GB, free: 96.03 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/10.74, allocations: 39.11 kB / 3.809 GB, free: 96.03 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001374/10.75, allocations: 0.7102 MB / 3.81 GB, free: 95.92 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8.85e-07/10.75, allocations: 0 / 3.81 GB, free: 95.92 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.006108/10.75, allocations: 0.9651 MB / 3.811 GB, free: 95.9 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.003881/10.76, allocations: 2.561 MB / 3.813 GB, free: 95.07 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004481/10.76, allocations: 2.598 MB / 3.816 GB, free: 94.18 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/10.76, allocations: 7.688 kB / 3.816 GB, free: 94.17 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/10.76, allocations: 0.7605 MB / 3.816 GB, free: 93.9 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003949/10.77, allocations: 0.694 MB / 3.817 GB, free: 93.88 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006545/10.77, allocations: 2.549 MB / 3.819 GB, free: 93.13 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/10.77, allocations: 1.442 MB / 3.821 GB, free: 92.4 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003193/10.78, allocations: 456.8 kB / 3.821 GB, free: 92.38 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/10.78, allocations: 86.88 kB / 3.821 GB, free: 92.37 MB / 0.7917 GB Notification: Performance of SimCode: time 1.365e-06/10.78, allocations: 3.969 kB / 3.821 GB, free: 92.37 MB / 0.7917 GB Notification: Performance of Templates: time 0.09463/10.87, allocations: 46.73 MB / 3.867 GB, free: 90.13 MB / 0.7917 GB