Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.708/3.708, allocations: 403.3 MB / 415.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.263e-05/3.28e-05, allocations: 4 kB / 0.4991 GB, free: 13.29 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6785/0.6786, allocations: 92.68 MB / 0.5896 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.166/1.844, allocations: 424.9 MB / 1.005 GB, free: 1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004303/1.845, allocations: 88.62 kB / 1.005 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.767/6.612, allocations: 0.9255 GB / 1.93 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.964e-06/6.612, allocations: 0 / 1.93 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0005204/6.613, allocations: 63.86 kB / 1.93 GB, free: 3.355 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 308 * Number of variables: 308 Notification: Performance of Generate backend data structure: time 0.007774/6.62, allocations: 2.135 MB / 1.932 GB, free: 1.16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/6.62, allocations: 8.031 kB / 1.932 GB, free: 1.152 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005816/6.621, allocations: 177.7 kB / 1.932 GB, free: 0.9688 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006971/6.628, allocations: 0.7388 MB / 1.933 GB, free: 232 kB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03293/6.661, allocations: 8.576 MB / 1.942 GB, free: 7.531 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/6.661, allocations: 94.42 kB / 1.942 GB, free: 7.438 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000682/6.662, allocations: 140 kB / 1.942 GB, free: 7.301 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005091/6.667, allocations: 1.468 MB / 1.943 GB, free: 5.695 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.867e-05/6.667, allocations: 7.938 kB / 1.943 GB, free: 5.688 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002322/6.667, allocations: 51.98 kB / 1.943 GB, free: 5.637 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.624e-05/6.668, allocations: 36 kB / 1.943 GB, free: 5.602 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00417/6.672, allocations: 1.035 MB / 1.944 GB, free: 4.559 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.6591/7.331, allocations: 8.525 MB / 1.953 GB, free: 90.66 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005801/7.337, allocations: 0.928 MB / 1.954 GB, free: 90.6 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/7.338, allocations: 382.9 kB / 1.954 GB, free: 90.58 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007598/7.346, allocations: 2.535 MB / 1.956 GB, free: 89.12 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001656/7.348, allocations: 0.4932 MB / 1.957 GB, free: 89.05 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00178/7.349, allocations: 183.9 kB / 1.957 GB, free: 89.05 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=67): time 5.74e-06/7.349, allocations: 0 / 1.957 GB, free: 89.05 MB / 0.7917 GB Notification: Performance of matching and sorting (n=69): time 0.0105/7.36, allocations: 2.346 MB / 1.959 GB, free: 88.28 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/7.36, allocations: 161.1 kB / 1.96 GB, free: 88.09 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003815/7.364, allocations: 1.342 MB / 1.961 GB, free: 87.87 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003914/7.364, allocations: 47.95 kB / 1.961 GB, free: 87.84 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001382/7.366, allocations: 0.9173 MB / 1.962 GB, free: 87.59 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005646/7.366, allocations: 246.2 kB / 1.962 GB, free: 87.47 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/7.366, allocations: 21.03 kB / 1.962 GB, free: 87.47 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001296/7.367, allocations: 353.9 kB / 1.962 GB, free: 87.17 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/7.368, allocations: 355.2 kB / 1.963 GB, free: 87.17 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/7.369, allocations: 0.8102 MB / 1.963 GB, free: 86.62 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/7.37, allocations: 486.3 kB / 1.964 GB, free: 86.59 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/7.37, allocations: 2.969 kB / 1.964 GB, free: 86.59 MB / 0.7917 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003739/7.374, allocations: 1.308 MB / 1.965 GB, free: 86.42 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.001216/7.375, allocations: 4.941 MB / 1.97 GB, free: 81.28 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.297e-05/7.375, allocations: 10.91 kB / 1.97 GB, free: 81.28 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.809e-05/7.376, allocations: 21.5 kB / 1.97 GB, free: 81.28 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002697/7.378, allocations: 304.2 kB / 1.97 GB, free: 81.28 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.681e-05/7.378, allocations: 24.69 kB / 1.97 GB, free: 81.28 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003077/7.381, allocations: 151.8 kB / 1.971 GB, free: 81.28 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004505/7.382, allocations: 63.81 kB / 1.971 GB, free: 81.28 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/7.382, allocations: 5.562 kB / 1.971 GB, free: 81.28 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003096/7.385, allocations: 1.126 MB / 1.972 GB, free: 81.23 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.671e-05/7.385, allocations: 16.58 kB / 1.972 GB, free: 81.23 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/7.385, allocations: 19.03 kB / 1.972 GB, free: 81.23 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/7.388, allocations: 295.4 kB / 1.972 GB, free: 81.23 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-05/7.388, allocations: 27.36 kB / 1.972 GB, free: 81.23 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002965/7.391, allocations: 156.7 kB / 1.972 GB, free: 81.22 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/7.391, allocations: 67.42 kB / 1.972 GB, free: 81.22 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004785/7.391, allocations: 188.9 kB / 1.972 GB, free: 81.11 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004628/7.392, allocations: 176.6 kB / 1.973 GB, free: 81.02 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00345/7.395, allocations: 1.138 MB / 1.974 GB, free: 80.94 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/7.395, allocations: 13.31 kB / 1.974 GB, free: 80.94 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/7.395, allocations: 0 / 1.974 GB, free: 80.94 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001911/7.397, allocations: 1.005 MB / 1.975 GB, free: 80.57 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 postOpt removeSimpleEquations (simulation): time 0.009845/7.407, allocations: 2.839 MB / 1.978 GB, free: 80.04 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/7.407, allocations: 2.156 kB / 1.978 GB, free: 80.04 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002014/7.409, allocations: 197.1 kB / 1.978 GB, free: 80.04 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.476e-05/7.409, allocations: 3.406 kB / 1.978 GB, free: 80.04 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/7.409, allocations: 29.97 kB / 1.978 GB, free: 80.04 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/7.41, allocations: 5.531 kB / 1.978 GB, free: 80.04 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/7.41, allocations: 3.062 kB / 1.978 GB, free: 80.04 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003922/7.413, allocations: 1.743 MB / 1.979 GB, free: 79.61 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/7.415, allocations: 364.4 kB / 1.98 GB, free: 79.42 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000404/7.415, allocations: 19.06 kB / 1.98 GB, free: 79.42 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002484/7.418, allocations: 151.9 kB / 1.98 GB, free: 79.42 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/7.418, allocations: 61.05 kB / 1.98 GB, free: 79.41 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/7.418, allocations: 37.52 kB / 1.98 GB, free: 79.41 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002238/7.42, allocations: 1.02 MB / 1.981 GB, free: 79.25 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.894e-06/7.42, allocations: 0 / 1.981 GB, free: 79.25 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005928/7.426, allocations: 0.985 MB / 1.982 GB, free: 79.25 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.ports[2].h_outflow,pum.filter.x[1],pum.filter.x[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007086/7.434, allocations: 3.728 MB / 1.986 GB, free: 77.89 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004573/7.438, allocations: 1.786 MB / 1.987 GB, free: 77.68 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/7.438, allocations: 1.125 kB / 1.987 GB, free: 77.68 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/7.44, allocations: 488.8 kB / 1.988 GB, free: 77.68 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006517/7.446, allocations: 0.783 MB / 1.989 GB, free: 77.66 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/7.463, allocations: 3.165 MB / 1.992 GB, free: 76.92 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/7.465, allocations: 1.427 MB / 1.993 GB, free: 76.2 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.007715/7.473, allocations: 0.6108 MB / 1.994 GB, free: 76.18 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002679/7.475, allocations: 0.7504 MB / 1.994 GB, free: 76.18 MB / 0.7917 GB Notification: Performance of SimCode: time 1.924e-06/7.476, allocations: 0 / 1.994 GB, free: 76.18 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1987/7.674, allocations: 63.12 MB / 2.056 GB, free: 73.87 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/7.675, allocations: 237.5 kB / 2.056 GB, free: 73.56 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.671/13.35, allocations: 0 / 2.056 GB, free: 73.56 MB / 0.7917 GB