Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadModel(Buildings): time 4.162/4.162, allocations: 464.6 MB / 476.8 MB, free: 2.109 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.341e-05/3.351e-05, allocations: 4 kB / 0.5731 GB, free: 5.719 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2001, allocations: 107.2 MB / 0.6777 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.813/6.013, allocations: 2.204 GB / 2.882 GB, free: 256.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/6.014, allocations: 87.45 kB / 2.882 GB, free: 256.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.69/10.7, allocations: 1.006 GB / 3.888 GB, free: 141.2 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.286e-06/10.7, allocations: 0 / 3.888 GB, free: 141.2 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002154/10.7, allocations: 43.19 kB / 3.888 GB, free: 141.2 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005003/10.71, allocations: 2.069 MB / 3.891 GB, free: 140.4 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/10.71, allocations: 7.438 kB / 3.891 GB, free: 140.4 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005429/10.71, allocations: 0.6275 MB / 3.891 GB, free: 140.3 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004159/10.72, allocations: 1.443 MB / 3.893 GB, free: 140 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004503/10.72, allocations: 160.3 kB / 3.893 GB, free: 140 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003607/10.72, allocations: 123.2 kB / 3.893 GB, free: 140 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003002/10.72, allocations: 1.349 MB / 3.894 GB, free: 139.8 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.314e-05/10.72, allocations: 5.781 kB / 3.894 GB, free: 139.8 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/10.72, allocations: 45.69 kB / 3.894 GB, free: 139.8 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.134e-05/10.72, allocations: 44.2 kB / 3.894 GB, free: 139.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/10.72, allocations: 1.033 MB / 3.895 GB, free: 139.8 MB / 0.9011 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.01071/10.74, allocations: 5.892 MB / 3.901 GB, free: 137.5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/10.74, allocations: 0.9621 MB / 3.902 GB, free: 137.2 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009097/10.74, allocations: 492.5 kB / 3.902 GB, free: 137.2 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005659/10.74, allocations: 307.6 kB / 3.903 GB, free: 136.9 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/10.74, allocations: 0.5361 MB / 3.903 GB, free: 136.9 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=87): time 4.879e-06/10.74, allocations: 0 / 3.903 GB, free: 136.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=95): time 0.0093/10.75, allocations: 3.033 MB / 3.906 GB, free: 136.2 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/10.75, allocations: 199.2 kB / 3.906 GB, free: 135.9 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/10.75, allocations: 1.144 MB / 3.907 GB, free: 135.8 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002478/10.75, allocations: 45.61 kB / 3.908 GB, free: 135.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006702/10.75, allocations: 0.729 MB / 3.908 GB, free: 135.6 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003649/10.75, allocations: 329.6 kB / 3.909 GB, free: 135.4 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.899e-05/10.75, allocations: 17.16 kB / 3.909 GB, free: 135.4 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.307e-05/10.75, allocations: 338.6 kB / 3.909 GB, free: 135.1 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008335/10.75, allocations: 383.7 kB / 3.909 GB, free: 135.1 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009945/10.75, allocations: 0.6079 MB / 3.91 GB, free: 134.9 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01349/10.77, allocations: 2.338 MB / 3.912 GB, free: 134.7 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.114e-06/10.77, allocations: 4.875 kB / 3.912 GB, free: 134.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004629/10.77, allocations: 1.598 MB / 3.914 GB, free: 134.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.000305/10.77, allocations: 1.298 MB / 3.915 GB, free: 133.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/10.77, allocations: 6.594 kB / 3.915 GB, free: 133.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/10.77, allocations: 419.7 kB / 3.915 GB, free: 133.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/10.78, allocations: 176.7 kB / 3.916 GB, free: 133.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009319/10.79, allocations: 6.88 MB / 3.922 GB, free: 128.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/10.79, allocations: 148.4 kB / 3.922 GB, free: 128.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/10.79, allocations: 37.12 kB / 3.922 GB, free: 128.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/10.79, allocations: 9.625 kB / 3.922 GB, free: 128.6 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004391/10.79, allocations: 1.435 MB / 3.924 GB, free: 128.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/10.79, allocations: 6.25 kB / 3.924 GB, free: 128.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/10.79, allocations: 408.3 kB / 3.924 GB, free: 128.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/10.79, allocations: 175.4 kB / 3.924 GB, free: 128.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009395/10.8, allocations: 7.909 MB / 3.932 GB, free: 123.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/10.81, allocations: 141.3 kB / 3.932 GB, free: 123.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/10.81, allocations: 40.56 kB / 3.932 GB, free: 123.1 MB / 0.9011 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: 14 * 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 (86): * Single equations (assignments): 81 * 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.0003977/10.81, allocations: 197.1 kB / 3.932 GB, free: 123 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003525/10.81, allocations: 167.7 kB / 3.933 GB, free: 122.9 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00422/10.81, allocations: 1.461 MB / 3.934 GB, free: 122.8 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/10.81, allocations: 7.094 kB / 3.934 GB, free: 122.8 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.581e-06/10.81, allocations: 2.906 kB / 3.934 GB, free: 122.8 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003507/10.82, allocations: 1.309 MB / 3.935 GB, free: 122.6 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008307/10.82, allocations: 3.343 MB / 3.939 GB, free: 121.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/10.82, allocations: 3.656 kB / 3.939 GB, free: 121.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/10.82, allocations: 193.2 kB / 3.939 GB, free: 121.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006136/10.83, allocations: 193.3 kB / 3.939 GB, free: 121.9 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001383/10.83, allocations: 33.53 kB / 3.939 GB, free: 121.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003015/10.83, allocations: 2.493 MB / 3.941 GB, free: 120.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.805e-06/10.83, allocations: 3.969 kB / 3.941 GB, free: 120.2 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005399/10.83, allocations: 2.412 MB / 3.944 GB, free: 119.4 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/10.84, allocations: 370 kB / 3.944 GB, free: 119.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003089/10.84, allocations: 25.53 kB / 3.944 GB, free: 119.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/10.84, allocations: 142.5 kB / 3.944 GB, free: 119.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/10.84, allocations: 72.91 kB / 3.944 GB, free: 119.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/10.84, allocations: 41.92 kB / 3.944 GB, free: 119.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001726/10.84, allocations: 0.891 MB / 3.945 GB, free: 119.1 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9.57e-07/10.84, allocations: 2.625 kB / 3.945 GB, free: 119.1 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004565/10.84, allocations: 1.03 MB / 3.946 GB, free: 119.1 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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.003962/10.85, allocations: 2.423 MB / 3.949 GB, free: 118.2 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004879/10.85, allocations: 2.625 MB / 3.951 GB, free: 117.3 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.972e-06/10.85, allocations: 0 / 3.951 GB, free: 117.3 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/10.85, allocations: 0.6977 MB / 3.952 GB, free: 117.1 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00511/10.86, allocations: 0.8811 MB / 3.953 GB, free: 117.1 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006882/10.87, allocations: 2.608 MB / 3.955 GB, free: 116.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/10.87, allocations: 1.391 MB / 3.957 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003154/10.87, allocations: 0.4975 MB / 3.957 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/10.87, allocations: 87.44 kB / 3.957 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of SimCode: time 1.946e-06/10.87, allocations: 0 / 3.957 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of Templates: time 0.1398/11.01, allocations: 70.77 MB / 4.026 GB, free: 109.2 MB / 0.9011 GB