Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_6_0_0_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.112/4.112, allocations: 432.8 MB / 444.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.551e-05/3.572e-05, allocations: 4.656 kB / 0.5338 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2262, allocations: 98.73 MB / 0.6302 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.226/1.452, allocations: 426.7 MB / 1.047 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003964/1.453, allocations: 95.95 kB / 1.047 GB, free: 1.723 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.409/4.861, allocations: 0.6683 GB / 1.715 GB, free: 9.074 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.653e-06/4.861, allocations: 0 / 1.715 GB, free: 9.074 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002448/4.862, allocations: 43.86 kB / 1.715 GB, free: 9.031 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.004678/4.866, allocations: 1.715 MB / 1.717 GB, free: 7.254 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/4.866, allocations: 8.031 kB / 1.717 GB, free: 7.246 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003104/4.867, allocations: 127.8 kB / 1.717 GB, free: 7.113 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003378/4.87, allocations: 389.6 kB / 1.718 GB, free: 6.73 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6819/5.552, allocations: 8.252 MB / 1.726 GB, free: 122 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/5.552, allocations: 68.64 kB / 1.726 GB, free: 122 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003449/5.553, allocations: 92.94 kB / 1.726 GB, free: 122 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/5.556, allocations: 0.9436 MB / 1.727 GB, free: 121.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/5.556, allocations: 4.281 kB / 1.727 GB, free: 121.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/5.556, allocations: 34.67 kB / 1.727 GB, free: 121.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.644e-05/5.556, allocations: 23.25 kB / 1.727 GB, free: 121.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/5.558, allocations: 0.625 MB / 1.727 GB, free: 121.8 MB / 0.823 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.01141/5.57, allocations: 4.712 MB / 1.732 GB, free: 119.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/5.571, allocations: 443.1 kB / 1.732 GB, free: 119.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005689/5.572, allocations: 227 kB / 1.733 GB, free: 119.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003921/5.576, allocations: 1.641 MB / 1.734 GB, free: 118.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008837/5.577, allocations: 361.2 kB / 1.735 GB, free: 118.4 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009336/5.578, allocations: 82.64 kB / 1.735 GB, free: 118.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 3.537e-06/5.578, allocations: 2.906 kB / 1.735 GB, free: 118.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.002026/5.58, allocations: 0.6207 MB / 1.735 GB, free: 118.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/5.58, allocations: 109.7 kB / 1.735 GB, free: 118.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00274/5.583, allocations: 1.097 MB / 1.736 GB, free: 117.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002426/5.583, allocations: 39.86 kB / 1.736 GB, free: 117.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008445/5.584, allocations: 0.6672 MB / 1.737 GB, free: 117.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/5.584, allocations: 152.7 kB / 1.737 GB, free: 117.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/5.584, allocations: 12.91 kB / 1.737 GB, free: 117.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.327e-05/5.584, allocations: 330.2 kB / 1.738 GB, free: 117.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/5.585, allocations: 198.3 kB / 1.738 GB, free: 117.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007735/5.586, allocations: 479.6 kB / 1.738 GB, free: 117 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007422/5.586, allocations: 301.6 kB / 1.738 GB, free: 117 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/5.586, allocations: 6.922 kB / 1.738 GB, free: 117 MB / 0.823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002602/5.589, allocations: 0.825 MB / 1.739 GB, free: 116.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006856/5.59, allocations: 2.797 MB / 1.742 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/5.59, allocations: 6.5 kB / 1.742 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000612/5.59, allocations: 92.95 kB / 1.742 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/5.592, allocations: 151.4 kB / 1.742 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007906/5.593, allocations: 1.126 MB / 1.743 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/5.595, allocations: 79.03 kB / 1.743 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002105/5.595, allocations: 48.64 kB / 1.743 GB, free: 112.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/5.595, allocations: 4.594 kB / 1.743 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002298/5.597, allocations: 0.6769 MB / 1.744 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-05/5.597, allocations: 6.812 kB / 1.744 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004871/5.598, allocations: 87.58 kB / 1.744 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/5.599, allocations: 146.9 kB / 1.744 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00074/5.6, allocations: 1.128 MB / 1.745 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/5.601, allocations: 76.97 kB / 1.746 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/5.602, allocations: 42.8 kB / 1.746 GB, free: 111.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 65 * Array equations: 1 * 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 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004297/5.602, allocations: 188 kB / 1.746 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005076/5.603, allocations: 135.5 kB / 1.746 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/5.605, allocations: 0.8249 MB / 1.747 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/5.605, allocations: 8.172 kB / 1.747 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/5.605, allocations: 7.812 kB / 1.747 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/5.606, allocations: 1.312 kB / 1.747 GB, free: 111.5 MB / 0.823 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 postOpt removeSimpleEquations (simulation): time 0.004986/5.611, allocations: 1.883 MB / 1.749 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/5.611, allocations: 2.125 kB / 1.749 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008704/5.611, allocations: 94.95 kB / 1.749 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004232/5.612, allocations: 87.75 kB / 1.749 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.358e-05/5.612, allocations: 18.3 kB / 1.749 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006752/5.613, allocations: 1.108 MB / 1.75 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/5.613, allocations: 6.703 kB / 1.75 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/5.615, allocations: 0.9506 MB / 1.751 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008291/5.616, allocations: 289.9 kB / 1.751 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/5.616, allocations: 14.75 kB / 1.751 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/5.618, allocations: 86.39 kB / 1.751 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/5.618, allocations: 38.33 kB / 1.751 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/5.618, allocations: 32.58 kB / 1.751 GB, free: 109.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001911/5.62, allocations: 0.8613 MB / 1.752 GB, free: 109.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.71e-07/5.62, allocations: 0 / 1.752 GB, free: 109.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004398/5.624, allocations: 0.7509 MB / 1.753 GB, free: 109.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004965/5.629, allocations: 2.597 MB / 1.755 GB, free: 108 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003027/5.632, allocations: 1.089 MB / 1.756 GB, free: 107.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/5.632, allocations: 0 / 1.756 GB, free: 107.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008347/5.633, allocations: 360.2 kB / 1.757 GB, free: 107.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005153/5.638, allocations: 0.6203 MB / 1.757 GB, free: 107.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006617/5.645, allocations: 1.981 MB / 1.759 GB, free: 107.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008597/5.646, allocations: 1.233 MB / 1.76 GB, free: 106.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003241/5.649, allocations: 424.5 kB / 1.761 GB, free: 106.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009614/5.65, allocations: 0.5079 MB / 1.761 GB, free: 106.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.352e-06/5.65, allocations: 0 / 1.761 GB, free: 106.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1255/5.776, allocations: 48.79 MB / 1.809 GB, free: 105.1 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000246/5.776, allocations: 279.5 kB / 1.809 GB, free: 104.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.728/10.5, allocations: 5.25 kB / 1.809 GB, free: 104.8 MB / 0.823 GB