Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.258/4.258, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.951e-05/3.966e-05, allocations: 4 kB / 0.5732 GB, free: 5.598 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2418, allocations: 107.2 MB / 0.6778 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.912/2.154, allocations: 442.9 MB / 1.11 GB, free: 255.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004075/2.154, allocations: 104.7 kB / 1.11 GB, free: 255.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 13.91/16.07, allocations: 2.535 GB / 3.646 GB, free: 65.81 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.334e-06/16.07, allocations: 2.422 kB / 3.646 GB, free: 65.81 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001405/16.07, allocations: 173.2 kB / 3.646 GB, free: 65.78 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 959 * Number of variables: 959 Notification: Performance of Generate backend data structure: time 0.02291/16.09, allocations: 5.784 MB / 3.651 GB, free: 63.48 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/16.09, allocations: 7.281 kB / 3.651 GB, free: 63.48 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002066/16.09, allocations: 0.4963 MB / 3.652 GB, free: 63.42 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/16.11, allocations: 1.356 MB / 3.653 GB, free: 63.05 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02711/16.13, allocations: 6.539 MB / 3.66 GB, free: 62.08 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004038/16.14, allocations: 0.6953 MB / 3.66 GB, free: 62.07 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002337/16.14, allocations: 409.8 kB / 3.661 GB, free: 62.07 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01728/16.16, allocations: 4.442 MB / 3.665 GB, free: 61.52 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001522/16.16, allocations: 9.188 kB / 3.665 GB, free: 61.52 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001017/16.16, allocations: 165.3 kB / 3.665 GB, free: 61.51 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001394/16.16, allocations: 95.59 kB / 3.665 GB, free: 61.51 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01313/16.17, allocations: 3.601 MB / 3.669 GB, free: 61.5 MB / 1.01 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.0589/16.23, allocations: 23.65 MB / 3.692 GB, free: 50.98 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006348/16.24, allocations: 2.426 MB / 3.694 GB, free: 50.66 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004167/16.24, allocations: 1.408 MB / 3.696 GB, free: 50.64 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002477/16.24, allocations: 1.924 MB / 3.697 GB, free: 48.57 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0051/16.25, allocations: 1.53 MB / 3.699 GB, free: 48.47 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006126/16.25, allocations: 475.4 kB / 3.699 GB, free: 48.33 MB / 1.01 GB Notification: Performance of pre-optimization done (n=254): time 2.186e-05/16.25, allocations: 0 / 3.699 GB, free: 48.33 MB / 1.01 GB Notification: Performance of matching and sorting (n=254): time 0.01257/16.27, allocations: 3.217 MB / 3.703 GB, free: 47.9 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002506/16.27, allocations: 0.4884 MB / 3.703 GB, free: 47.34 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01566/16.28, allocations: 4.185 MB / 3.707 GB, free: 46.94 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001433/16.28, allocations: 88.61 kB / 3.707 GB, free: 46.91 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.005032/16.29, allocations: 2.597 MB / 3.71 GB, free: 46.25 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001946/16.29, allocations: 0.8559 MB / 3.711 GB, free: 45.69 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004886/16.29, allocations: 59.06 kB / 3.711 GB, free: 45.69 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002972/16.29, allocations: 423.4 kB / 3.711 GB, free: 45.38 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005197/16.3, allocations: 1.212 MB / 3.712 GB, free: 45.38 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006709/16.3, allocations: 2.122 MB / 3.714 GB, free: 44.41 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006216/16.31, allocations: 1.475 MB / 3.716 GB, free: 44.32 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.751e-05/16.31, allocations: 5.438 kB / 3.716 GB, free: 44.32 MB / 1.01 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01878/16.33, allocations: 4.055 MB / 3.72 GB, free: 43.86 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.002509/16.33, allocations: 7.653 MB / 3.727 GB, free: 36.04 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001489/16.33, allocations: 21.67 kB / 3.727 GB, free: 36.04 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001671/16.33, allocations: 281 kB / 3.727 GB, free: 36.02 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009598/16.34, allocations: 0.7972 MB / 3.728 GB, free: 36.02 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/16.35, allocations: 1.5 MB / 3.73 GB, free: 34.97 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01025/16.36, allocations: 0.5405 MB / 3.73 GB, free: 34.95 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001263/16.36, allocations: 159.4 kB / 3.73 GB, free: 34.95 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/16.36, allocations: 8.906 kB / 3.73 GB, free: 34.95 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01129/16.37, allocations: 3.524 MB / 3.734 GB, free: 34.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.877e-05/16.37, allocations: 25.05 kB / 3.734 GB, free: 34.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/16.37, allocations: 262.1 kB / 3.734 GB, free: 34.78 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007355/16.38, allocations: 0.789 MB / 3.735 GB, free: 34.78 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008176/16.39, allocations: 4.377 MB / 3.739 GB, free: 32.07 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009988/16.4, allocations: 0.5415 MB / 3.74 GB, free: 32.04 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/16.4, allocations: 150.4 kB / 3.74 GB, free: 32.04 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,hex1.trigger,$PRE.tri.pulseStart,tri.pulseStart,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex3.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (357): * Single equations (assignments): 348 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 3 * 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 {6 13,3 4} Notification: Performance of prepare postOptimizeDAE: time 0.001346/16.4, allocations: 329.6 kB / 3.74 GB, free: 31.89 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002056/16.4, allocations: 0.543 MB / 3.741 GB, free: 31.61 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01331/16.41, allocations: 4.087 MB / 3.745 GB, free: 31.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.408e-05/16.41, allocations: 28.34 kB / 3.745 GB, free: 31.3 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/16.41, allocations: 0 / 3.745 GB, free: 31.3 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008615/16.42, allocations: 3.074 MB / 3.748 GB, free: 31 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0277/16.45, allocations: 8.976 MB / 3.756 GB, free: 30.32 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/16.45, allocations: 0 / 3.756 GB, free: 30.32 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005992/16.46, allocations: 0.6206 MB / 3.757 GB, free: 30.32 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009573/16.46, allocations: 226.2 kB / 3.757 GB, free: 30.3 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000605/16.46, allocations: 89.55 kB / 3.757 GB, free: 30.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/16.46, allocations: 1.412 MB / 3.759 GB, free: 29.25 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/16.46, allocations: 1.688 kB / 3.759 GB, free: 29.25 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01559/16.48, allocations: 5.766 MB / 3.764 GB, free: 28.26 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005089/16.48, allocations: 1.172 MB / 3.765 GB, free: 27.86 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002256/16.48, allocations: 61.62 kB / 3.766 GB, free: 27.86 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009687/16.49, allocations: 0.5125 MB / 3.766 GB, free: 27.84 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009672/16.49, allocations: 186 kB / 3.766 GB, free: 27.83 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006106/16.49, allocations: 122.9 kB / 3.766 GB, free: 27.83 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.01015/16.5, allocations: 3.189 MB / 3.769 GB, free: 27.59 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.31e-07/16.51, allocations: 0 / 3.769 GB, free: 27.59 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02084/16.53, allocations: 3.004 MB / 3.772 GB, free: 27.23 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 15 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.x[1],hex1.thrWayVal.filter.x[2],hex1.con.I.y,TSen1.T,TSen2.T,hex2.thrWayVal.vol.dynBal.U,hex2.thrWayVal.filter.x[1],hex2.thrWayVal.filter.x[2],hex2.con.I.y,hex3.thrWayVal.vol.dynBal.U,hex3.thrWayVal.filter.x[1],hex3.thrWayVal.filter.x[2],hex3.con.I.y,TSen3.T) * Number of discrete variables: 10 (hex1.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,tri.pulseStart) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (277): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 13 * When equations: 1 * 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 {6 10,3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.02607/16.55, allocations: 9.1 MB / 3.781 GB, free: 24.55 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0178/16.57, allocations: 5.804 MB / 3.787 GB, free: 23.93 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/16.57, allocations: 4 kB / 3.787 GB, free: 23.92 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004926/16.57, allocations: 1.673 MB / 3.789 GB, free: 23.84 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02409/16.6, allocations: 2.664 MB / 3.791 GB, free: 23.79 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03428/16.63, allocations: 8.987 MB / 3.8 GB, free: 21.39 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006005/16.64, allocations: 2.978 MB / 3.803 GB, free: 20.51 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01463/16.65, allocations: 1.55 MB / 3.804 GB, free: 20.23 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005769/16.66, allocations: 2.453 MB / 3.807 GB, free: 20.22 MB / 1.01 GB Notification: Performance of SimCode: time 1.854e-06/16.66, allocations: 0 / 3.807 GB, free: 20.22 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.389/18.05, allocations: 183.8 MB / 3.986 GB, free: 92.5 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/18.05, allocations: 273.8 kB / 3.986 GB, free: 92.17 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/31.68, allocations: 0 / 3.986 GB, free: 92.17 MB / 1.057 GB