Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadModel(BuildSysPro): time 2.86/2.86, allocations: 325.3 MB / 337.5 MB, free: 10.11 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.625e-05, allocations: 11.98 kB / 414.8 MB, free: 6.148 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1283, allocations: 74.41 MB / 489.2 MB, free: 11.6 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.747/5.875, allocations: 2.163 GB / 2.64 GB, free: 169.6 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/5.875, allocations: 95.34 kB / 2.641 GB, free: 169.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.701/10.58, allocations: 1.031 GB / 3.671 GB, free: 79.55 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.081e-06/10.58, allocations: 2.844 kB / 3.671 GB, free: 79.55 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001999/10.58, allocations: 49.91 kB / 3.671 GB, free: 79.54 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.004379/10.58, allocations: 2.072 MB / 3.673 GB, free: 78.58 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/10.58, allocations: 11.78 kB / 3.673 GB, free: 78.58 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005369/10.59, allocations: 0.6128 MB / 3.674 GB, free: 78.47 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004737/10.59, allocations: 1.571 MB / 3.676 GB, free: 78.13 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.133e-05/10.59, allocations: 93.88 kB / 3.676 GB, free: 78.13 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002534/10.59, allocations: 134.5 kB / 3.676 GB, free: 78.12 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003377/10.6, allocations: 1.364 MB / 3.677 GB, free: 77.92 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.883e-05/10.6, allocations: 0 / 3.677 GB, free: 77.92 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/10.6, allocations: 45.19 kB / 3.677 GB, free: 77.92 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.933e-05/10.6, allocations: 45.42 kB / 3.677 GB, free: 77.92 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002945/10.6, allocations: 1.033 MB / 3.678 GB, free: 77.91 MB / 0.6511 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.00974/10.61, allocations: 5.672 MB / 3.684 GB, free: 75.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/10.61, allocations: 0.9686 MB / 3.685 GB, free: 75.35 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008463/10.61, allocations: 463.4 kB / 3.685 GB, free: 75.34 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005468/10.61, allocations: 297.1 kB / 3.685 GB, free: 75.06 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001387/10.61, allocations: 0.5419 MB / 3.686 GB, free: 74.97 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=86): time 6.322e-06/10.61, allocations: 0 / 3.686 GB, free: 74.97 MB / 0.6511 GB Notification: Performance of matching and sorting (n=94): time 0.009896/10.62, allocations: 2.963 MB / 3.689 GB, free: 74.23 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/10.62, allocations: 195.5 kB / 3.689 GB, free: 74.01 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/10.63, allocations: 1.119 MB / 3.69 GB, free: 73.85 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001595/10.63, allocations: 44.42 kB / 3.69 GB, free: 73.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006733/10.63, allocations: 0.7482 MB / 3.691 GB, free: 73.59 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/10.63, allocations: 321.2 kB / 3.691 GB, free: 73.38 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.263e-05/10.63, allocations: 17.94 kB / 3.691 GB, free: 73.38 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.233e-05/10.63, allocations: 341.7 kB / 3.691 GB, free: 73.08 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007928/10.63, allocations: 366 kB / 3.692 GB, free: 73.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009655/10.63, allocations: 0.5768 MB / 3.692 GB, free: 72.85 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008535/10.64, allocations: 1.584 MB / 3.694 GB, free: 72.67 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.096e-06/10.64, allocations: 0 / 3.694 GB, free: 72.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004964/10.64, allocations: 1.526 MB / 3.695 GB, free: 72.47 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002847/10.64, allocations: 1.298 MB / 3.697 GB, free: 71.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/10.64, allocations: 5.969 kB / 3.697 GB, free: 71.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/10.64, allocations: 372.6 kB / 3.697 GB, free: 71.08 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000903/10.64, allocations: 153 kB / 3.697 GB, free: 71.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007958/10.65, allocations: 6.71 MB / 3.704 GB, free: 66.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/10.65, allocations: 112.9 kB / 3.704 GB, free: 66.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/10.65, allocations: 40.75 kB / 3.704 GB, free: 66.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/10.65, allocations: 8.094 kB / 3.704 GB, free: 66.59 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003625/10.66, allocations: 1.375 MB / 3.705 GB, free: 66.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.475e-06/10.66, allocations: 3.75 kB / 3.705 GB, free: 66.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/10.66, allocations: 358 kB / 3.706 GB, free: 66.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008074/10.66, allocations: 138.6 kB / 3.706 GB, free: 66.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008813/10.67, allocations: 7.668 MB / 3.713 GB, free: 61.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/10.67, allocations: 98.59 kB / 3.713 GB, free: 61.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/10.67, allocations: 40.58 kB / 3.713 GB, free: 61.02 MB / 0.6511 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.0003932/10.67, allocations: 194.6 kB / 3.714 GB, free: 60.88 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003464/10.67, allocations: 166.2 kB / 3.714 GB, free: 60.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00465/10.68, allocations: 1.376 MB / 3.715 GB, free: 60.67 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/10.68, allocations: 19.73 kB / 3.715 GB, free: 60.66 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.437e-06/10.68, allocations: 0 / 3.715 GB, free: 60.66 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0039/10.68, allocations: 1.229 MB / 3.716 GB, free: 60.44 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008023/10.69, allocations: 3.113 MB / 3.719 GB, free: 59.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.74e-06/10.69, allocations: 6.25 kB / 3.719 GB, free: 59.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/10.69, allocations: 171.2 kB / 3.719 GB, free: 59.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005386/10.69, allocations: 157.9 kB / 3.72 GB, free: 59.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/10.69, allocations: 30.91 kB / 3.72 GB, free: 59.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005462/10.7, allocations: 3.443 MB / 3.723 GB, free: 57.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.899e-06/10.7, allocations: 8.531 kB / 3.723 GB, free: 57.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005543/10.7, allocations: 2.267 MB / 3.725 GB, free: 56.46 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/10.7, allocations: 350.7 kB / 3.726 GB, free: 56.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003276/10.7, allocations: 29.92 kB / 3.726 GB, free: 56.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/10.7, allocations: 107.5 kB / 3.726 GB, free: 56.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/10.71, allocations: 76.39 kB / 3.726 GB, free: 56.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/10.71, allocations: 38.16 kB / 3.726 GB, free: 56.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00156/10.71, allocations: 0.8718 MB / 3.727 GB, free: 56.15 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.61e-07/10.71, allocations: 3 kB / 3.727 GB, free: 56.15 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00455/10.71, allocations: 0.9814 MB / 3.728 GB, free: 56.12 MB / 0.6511 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 (81): * Single equations (assignments): 78 * 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.00385/10.72, allocations: 2.476 MB / 3.73 GB, free: 55.22 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00451/10.72, allocations: 2.549 MB / 3.733 GB, free: 54.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/10.72, allocations: 0 / 3.733 GB, free: 54.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/10.72, allocations: 0.7881 MB / 3.733 GB, free: 54.05 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005176/10.73, allocations: 0.8434 MB / 3.734 GB, free: 54.02 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006297/10.73, allocations: 2.553 MB / 3.737 GB, free: 53.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/10.73, allocations: 1.405 MB / 3.738 GB, free: 52.57 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003232/10.74, allocations: 496.8 kB / 3.738 GB, free: 52.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/10.74, allocations: 90.45 kB / 3.739 GB, free: 52.54 MB / 0.6511 GB Notification: Performance of SimCode: time 2.054e-06/10.74, allocations: 3.938 kB / 3.739 GB, free: 52.54 MB / 0.6511 GB Notification: Performance of Templates: time 0.1319/10.87, allocations: 70.67 MB / 3.808 GB, free: 17.31 MB / 0.6511 GB