Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_latest_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.28/4.28, allocations: 464.6 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.675e-05/3.691e-05, allocations: 4 kB / 0.5732 GB, free: 5.629 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2501, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.004/2.254, allocations: 443 MB / 1.11 GB, free: 256 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003887/2.255, allocations: 94.02 kB / 1.111 GB, free: 256 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.517/6.772, allocations: 0.9579 GB / 2.068 GB, free: 37.16 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.014e-06/6.772, allocations: 0 / 2.068 GB, free: 37.16 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003779/6.773, allocations: 51.98 kB / 2.068 GB, free: 37.11 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.00735/6.78, allocations: 2.143 MB / 2.071 GB, free: 34.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/6.78, allocations: 8.031 kB / 2.071 GB, free: 34.89 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004931/6.78, allocations: 177.5 kB / 2.071 GB, free: 34.71 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007009/6.787, allocations: 0.7349 MB / 2.071 GB, free: 33.97 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03124/6.819, allocations: 8.736 MB / 2.08 GB, free: 25.12 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/6.819, allocations: 94.38 kB / 2.08 GB, free: 25.03 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004095/6.819, allocations: 128 kB / 2.08 GB, free: 24.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003439/6.823, allocations: 1.413 MB / 2.082 GB, free: 23.36 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.817e-05/6.823, allocations: 11.89 kB / 2.082 GB, free: 23.35 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/6.823, allocations: 52 kB / 2.082 GB, free: 23.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.314e-05/6.823, allocations: 35.94 kB / 2.082 GB, free: 23.27 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002648/6.826, allocations: 0.9725 MB / 2.083 GB, free: 22.29 MB / 0.8855 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.01788/6.844, allocations: 8.394 MB / 2.091 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007235/6.851, allocations: 0.9226 MB / 2.092 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/6.852, allocations: 383.7 kB / 2.092 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/6.863, allocations: 2.941 MB / 2.095 GB, free: 8.73 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001435/6.864, allocations: 429.8 kB / 2.095 GB, free: 8.301 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001772/6.866, allocations: 199 kB / 2.096 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=66): time 6.021e-06/6.866, allocations: 0 / 2.096 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of matching and sorting (n=66): time 0.002805/6.869, allocations: 0.7547 MB / 2.096 GB, free: 7.344 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/6.869, allocations: 119.4 kB / 2.096 GB, free: 7.203 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003419/6.872, allocations: 1.341 MB / 2.098 GB, free: 5.816 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002112/6.873, allocations: 45.7 kB / 2.098 GB, free: 5.766 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001234/6.874, allocations: 0.8963 MB / 2.099 GB, free: 4.859 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003543/6.874, allocations: 236.7 kB / 2.099 GB, free: 4.625 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/6.874, allocations: 24 kB / 2.099 GB, free: 4.602 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001276/6.875, allocations: 345.9 kB / 2.099 GB, free: 4.258 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/6.876, allocations: 326.6 kB / 2.1 GB, free: 3.938 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/6.878, allocations: 0.7921 MB / 2.1 GB, free: 2.926 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/6.879, allocations: 451.7 kB / 2.101 GB, free: 2.477 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.622e-05/6.879, allocations: 4 kB / 2.101 GB, free: 2.473 MB / 0.8855 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004407/6.883, allocations: 1.214 MB / 2.102 GB, free: 1.242 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.002615/6.886, allocations: 5.12 MB / 2.107 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.816e-05/6.886, allocations: 12 kB / 2.107 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.016e-05/6.886, allocations: 23.98 kB / 2.107 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003343/6.89, allocations: 295.4 kB / 2.107 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.843e-05/6.89, allocations: 27.92 kB / 2.107 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003885/6.894, allocations: 147.8 kB / 2.107 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002863/6.894, allocations: 67.97 kB / 2.107 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/6.894, allocations: 4 kB / 2.107 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004241/6.898, allocations: 1.028 MB / 2.108 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.697e-05/6.898, allocations: 20.02 kB / 2.108 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.23e-05/6.898, allocations: 20 kB / 2.109 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00314/6.902, allocations: 279.6 kB / 2.109 GB, free: 9.801 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.382e-05/6.902, allocations: 35.86 kB / 2.109 GB, free: 9.766 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003667/6.905, allocations: 147.8 kB / 2.109 GB, free: 9.621 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002658/6.906, allocations: 59.97 kB / 2.109 GB, free: 9.562 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 127 * 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.0005398/6.906, allocations: 180.6 kB / 2.109 GB, free: 9.379 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005283/6.907, allocations: 173.8 kB / 2.109 GB, free: 9.207 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004654/6.911, allocations: 1.064 MB / 2.11 GB, free: 8.133 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.754e-05/6.911, allocations: 8 kB / 2.11 GB, free: 8.125 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/6.911, allocations: 0 / 2.11 GB, free: 8.125 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002816/6.914, allocations: 0.9503 MB / 2.111 GB, free: 7.109 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 postOpt removeSimpleEquations (simulation): time 0.01161/6.926, allocations: 2.484 MB / 2.114 GB, free: 4.539 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/6.926, allocations: 4.062 kB / 2.114 GB, free: 4.535 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002448/6.928, allocations: 179.7 kB / 2.114 GB, free: 4.359 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.655e-05/6.929, allocations: 0 / 2.114 GB, free: 4.359 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/6.929, allocations: 27.98 kB / 2.114 GB, free: 4.332 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.537e-05/6.929, allocations: 7.938 kB / 2.114 GB, free: 4.324 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/6.929, allocations: 4 kB / 2.114 GB, free: 4.32 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01746/6.946, allocations: 1.506 MB / 2.115 GB, free: 2.77 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001718/6.948, allocations: 358.6 kB / 2.116 GB, free: 2.398 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004552/6.948, allocations: 15.94 kB / 2.116 GB, free: 2.383 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009573/6.958, allocations: 135.7 kB / 2.116 GB, free: 2.25 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003066/6.958, allocations: 56.7 kB / 2.116 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002181/6.959, allocations: 31.97 kB / 2.116 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003644/6.962, allocations: 1.024 MB / 2.117 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.092e-06/6.962, allocations: 4 kB / 2.117 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.006611/6.969, allocations: 1.072 MB / 2.118 GB, free: 32 kB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,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 (76): * Single equations (assignments): 67 * 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.7305/7.7, allocations: 3.315 MB / 2.121 GB, free: 118.8 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00492/7.705, allocations: 1.622 MB / 2.123 GB, free: 118.6 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/7.705, allocations: 0 / 2.123 GB, free: 118.6 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/7.706, allocations: 416.5 kB / 2.123 GB, free: 118.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006426/7.712, allocations: 0.7691 MB / 2.124 GB, free: 118.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/7.726, allocations: 3.178 MB / 2.127 GB, free: 117.9 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/7.727, allocations: 1.415 MB / 2.129 GB, free: 117.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004985/7.732, allocations: 0.5942 MB / 2.129 GB, free: 117.1 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001824/7.734, allocations: 0.728 MB / 2.13 GB, free: 117.1 MB / 0.9011 GB Notification: Performance of SimCode: time 2.986e-06/7.734, allocations: 0 / 2.13 GB, free: 117.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1606/7.894, allocations: 61.44 MB / 2.19 GB, free: 115.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/7.895, allocations: 226.1 kB / 2.19 GB, free: 114.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.47/13.37, allocations: 0 / 2.19 GB, free: 114.9 MB / 0.9011 GB