Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_7_0_0_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.301/4.301, allocations: 460.4 MB / 472.6 MB, free: 5.387 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.143e-05/4.13e-05, allocations: 7.984 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2595, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.022/2.281, allocations: 442.6 MB / 1.104 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/2.282, allocations: 91.67 kB / 1.104 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.437/6.719, allocations: 0.9578 GB / 2.062 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.066e-06/6.719, allocations: 3.938 kB / 2.062 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003372/6.719, allocations: 59.86 kB / 2.062 GB, free: 15.56 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.007959/6.727, allocations: 2.135 MB / 2.064 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/6.727, allocations: 12.03 kB / 2.064 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005324/6.728, allocations: 181.5 kB / 2.064 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007265/6.735, allocations: 0.727 MB / 2.065 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03377/6.769, allocations: 8.728 MB / 2.074 GB, free: 3.598 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/6.769, allocations: 98.72 kB / 2.074 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004385/6.769, allocations: 143.9 kB / 2.074 GB, free: 3.359 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003806/6.773, allocations: 1.413 MB / 2.075 GB, free: 1.82 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.069e-05/6.773, allocations: 7.938 kB / 2.075 GB, free: 1.812 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000216/6.774, allocations: 48 kB / 2.075 GB, free: 1.766 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.396e-05/6.774, allocations: 35.98 kB / 2.075 GB, free: 1.73 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00312/6.777, allocations: 0.9803 MB / 2.076 GB, free: 0.7461 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.7184/7.495, allocations: 8.352 MB / 2.084 GB, free: 110 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005708/7.501, allocations: 0.9304 MB / 2.085 GB, free: 110 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/7.502, allocations: 377.8 kB / 2.086 GB, free: 110 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008288/7.51, allocations: 2.949 MB / 2.089 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009977/7.511, allocations: 421.3 kB / 2.089 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001472/7.513, allocations: 190.5 kB / 2.089 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=66): time 5.02e-06/7.513, allocations: 2.062 kB / 2.089 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=66): time 0.00221/7.515, allocations: 0.7623 MB / 2.09 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/7.515, allocations: 115.5 kB / 2.09 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002881/7.518, allocations: 1.341 MB / 2.091 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002971/7.519, allocations: 45.36 kB / 2.091 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001178/7.52, allocations: 0.8999 MB / 2.092 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004516/7.52, allocations: 237.8 kB / 2.093 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/7.52, allocations: 19.25 kB / 2.093 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001265/7.52, allocations: 348.3 kB / 2.093 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009971/7.521, allocations: 324.6 kB / 2.093 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/7.523, allocations: 0.7885 MB / 2.094 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/7.524, allocations: 456.4 kB / 2.094 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/7.524, allocations: 3.25 kB / 2.094 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003928/7.528, allocations: 1.216 MB / 2.096 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001207/7.529, allocations: 5.109 MB / 2.101 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-05/7.53, allocations: 22.38 kB / 2.101 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.008e-05/7.53, allocations: 19.56 kB / 2.101 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002606/7.532, allocations: 290.8 kB / 2.101 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-05/7.532, allocations: 30.98 kB / 2.101 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003034/7.535, allocations: 149.7 kB / 2.101 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003017/7.536, allocations: 64 kB / 2.101 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/7.536, allocations: 3.719 kB / 2.101 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003147/7.539, allocations: 1.037 MB / 2.102 GB, free: 101 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.356e-05/7.539, allocations: 15.75 kB / 2.102 GB, free: 101 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.752e-05/7.539, allocations: 19.34 kB / 2.102 GB, free: 101 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002443/7.542, allocations: 287.9 kB / 2.102 GB, free: 101 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.494e-05/7.542, allocations: 28.31 kB / 2.102 GB, free: 101 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002923/7.545, allocations: 149.9 kB / 2.103 GB, free: 101 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002767/7.545, allocations: 65.41 kB / 2.103 GB, free: 101 MB / 0.8855 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.000504/7.545, allocations: 177.4 kB / 2.103 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005397/7.546, allocations: 179.5 kB / 2.103 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003527/7.549, allocations: 1.065 MB / 2.104 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.609e-05/7.55, allocations: 9.703 kB / 2.104 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/7.55, allocations: 3.844 kB / 2.104 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001943/7.552, allocations: 0.9479 MB / 2.105 GB, free: 100.4 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 postOpt removeSimpleEquations (simulation): time 0.008394/7.56, allocations: 2.476 MB / 2.107 GB, free: 99.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/7.56, allocations: 3.406 kB / 2.107 GB, free: 99.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/7.562, allocations: 179.2 kB / 2.108 GB, free: 99.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.42e-05/7.562, allocations: 4.438 kB / 2.108 GB, free: 99.96 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/7.562, allocations: 26.66 kB / 2.108 GB, free: 99.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/7.562, allocations: 3.234 kB / 2.108 GB, free: 99.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/7.562, allocations: 1.375 kB / 2.108 GB, free: 99.96 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/7.566, allocations: 1.511 MB / 2.109 GB, free: 99.62 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/7.567, allocations: 349.7 kB / 2.109 GB, free: 99.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000393/7.568, allocations: 14.92 kB / 2.109 GB, free: 99.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002383/7.57, allocations: 138 kB / 2.11 GB, free: 99.43 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/7.57, allocations: 59.25 kB / 2.11 GB, free: 99.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/7.571, allocations: 35.56 kB / 2.11 GB, free: 99.43 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002654/7.573, allocations: 1.021 MB / 2.111 GB, free: 99.27 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.82e-07/7.573, allocations: 0 / 2.111 GB, free: 99.27 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006729/7.58, allocations: 1.067 MB / 2.112 GB, free: 99.23 MB / 0.8855 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.007482/7.588, allocations: 3.327 MB / 2.115 GB, free: 98.12 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004677/7.592, allocations: 1.616 MB / 2.117 GB, free: 97.91 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/7.592, allocations: 3.375 kB / 2.117 GB, free: 97.91 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001712/7.594, allocations: 415.8 kB / 2.117 GB, free: 97.91 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009425/7.604, allocations: 0.7721 MB / 2.118 GB, free: 97.89 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01917/7.623, allocations: 3.179 MB / 2.121 GB, free: 97.18 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/7.625, allocations: 1.41 MB / 2.122 GB, free: 96.47 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.007373/7.632, allocations: 0.5955 MB / 2.123 GB, free: 96.45 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002358/7.634, allocations: 0.7313 MB / 2.123 GB, free: 96.44 MB / 0.8855 GB Notification: Performance of SimCode: time 1.803e-06/7.634, allocations: 0 / 2.123 GB, free: 96.44 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1749/7.809, allocations: 61.31 MB / 2.183 GB, free: 94.14 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002566/7.81, allocations: 235.3 kB / 2.184 GB, free: 93.87 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.426/13.24, allocations: 0 / 2.184 GB, free: 93.87 MB / 0.8855 GB