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.792/3.792, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.53e-05/3.54e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6088/0.6089, allocations: 92.68 MB / 0.5896 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.188/1.797, allocations: 424.9 MB / 1.005 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/1.798, allocations: 95.94 kB / 1.005 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.663/6.461, allocations: 0.9255 GB / 1.93 GB, free: 27.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.024e-06/6.461, allocations: 0 / 1.93 GB, free: 27.95 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0004405/6.461, allocations: 59.86 kB / 1.93 GB, free: 27.89 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.007868/6.469, allocations: 2.132 MB / 1.932 GB, free: 25.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/6.469, allocations: 12.03 kB / 1.932 GB, free: 25.68 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005845/6.47, allocations: 181.7 kB / 1.933 GB, free: 25.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007106/6.477, allocations: 0.7348 MB / 1.933 GB, free: 24.76 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02915/6.506, allocations: 8.586 MB / 1.942 GB, free: 16.11 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/6.506, allocations: 102.4 kB / 1.942 GB, free: 16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000473/6.507, allocations: 132 kB / 1.942 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004027/6.511, allocations: 1.456 MB / 1.943 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.634e-05/6.511, allocations: 3.938 kB / 1.943 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/6.511, allocations: 56 kB / 1.943 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-05/6.511, allocations: 35.98 kB / 1.943 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00348/6.515, allocations: 1.015 MB / 1.944 GB, free: 13.17 MB / 0.7761 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.01698/6.532, allocations: 8.515 MB / 1.953 GB, free: 4.023 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005378/6.537, allocations: 0.9289 MB / 1.954 GB, free: 3.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/6.538, allocations: 379.7 kB / 1.954 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006686/6.545, allocations: 2.543 MB / 1.956 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001651/6.547, allocations: 0.4897 MB / 1.957 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001727/6.548, allocations: 178.9 kB / 1.957 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=67): time 4.859e-06/6.549, allocations: 0 / 1.957 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of matching and sorting (n=69): time 0.009639/6.558, allocations: 2.345 MB / 1.959 GB, free: 12.83 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/6.558, allocations: 162.8 kB / 1.96 GB, free: 12.63 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003369/6.562, allocations: 1.34 MB / 1.961 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003271/6.562, allocations: 41.7 kB / 1.961 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001357/6.563, allocations: 0.9197 MB / 1.962 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005055/6.564, allocations: 244.5 kB / 1.962 GB, free: 10.03 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/6.564, allocations: 27.98 kB / 1.962 GB, free: 10 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002116/6.564, allocations: 349.9 kB / 1.962 GB, free: 9.652 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/6.565, allocations: 354.6 kB / 1.963 GB, free: 9.309 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/6.567, allocations: 0.8005 MB / 1.963 GB, free: 8.301 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/6.568, allocations: 491.4 kB / 1.964 GB, free: 7.812 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/6.569, allocations: 7.953 kB / 1.964 GB, free: 7.805 MB / 0.7917 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00412/6.573, allocations: 1.27 MB / 1.965 GB, free: 6.52 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.001995/6.575, allocations: 4.939 MB / 1.97 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-05/6.575, allocations: 12 kB / 1.97 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.798e-05/6.575, allocations: 23.94 kB / 1.97 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002784/6.578, allocations: 299.5 kB / 1.97 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.756e-05/6.578, allocations: 23.94 kB / 1.97 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003149/6.581, allocations: 163.6 kB / 1.971 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003156/6.581, allocations: 63.97 kB / 1.971 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/6.581, allocations: 4 kB / 1.971 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6287/7.21, allocations: 1.081 MB / 1.972 GB, free: 90.65 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.459e-05/7.21, allocations: 15.97 kB / 1.972 GB, free: 90.65 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.516e-05/7.21, allocations: 20.16 kB / 1.972 GB, free: 90.65 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003826/7.214, allocations: 297.3 kB / 1.972 GB, free: 90.65 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.692e-05/7.214, allocations: 25.2 kB / 1.972 GB, free: 90.65 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003897/7.218, allocations: 153.8 kB / 1.972 GB, free: 90.65 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003373/7.219, allocations: 63.72 kB / 1.972 GB, free: 90.65 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.0005249/7.219, allocations: 178.3 kB / 1.972 GB, free: 90.54 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006668/7.22, allocations: 176.8 kB / 1.973 GB, free: 90.54 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005096/7.225, allocations: 1.141 MB / 1.974 GB, free: 90.47 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.565e-05/7.225, allocations: 13.25 kB / 1.974 GB, free: 90.47 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/7.225, allocations: 0 / 1.974 GB, free: 90.47 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003077/7.228, allocations: 1.008 MB / 1.975 GB, free: 90.11 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.01346/7.242, allocations: 2.826 MB / 1.977 GB, free: 89.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/7.242, allocations: 3.781 kB / 1.977 GB, free: 89.6 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002835/7.244, allocations: 198.5 kB / 1.978 GB, free: 89.6 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.231e-05/7.245, allocations: 9.625 kB / 1.978 GB, free: 89.6 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001657/7.245, allocations: 26.39 kB / 1.978 GB, free: 89.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.696e-05/7.245, allocations: 8.141 kB / 1.978 GB, free: 89.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/7.245, allocations: 4.781 kB / 1.978 GB, free: 89.6 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005214/7.25, allocations: 1.746 MB / 1.979 GB, free: 89.28 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/7.251, allocations: 357.5 kB / 1.98 GB, free: 89.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004749/7.252, allocations: 20.66 kB / 1.98 GB, free: 89.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003157/7.255, allocations: 157.7 kB / 1.98 GB, free: 89.18 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002377/7.255, allocations: 63.16 kB / 1.98 GB, free: 89.18 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/7.256, allocations: 33.42 kB / 1.98 GB, free: 89.18 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002987/7.259, allocations: 1.021 MB / 1.981 GB, free: 89.02 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.42e-07/7.259, allocations: 2.844 kB / 1.981 GB, free: 89.02 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.007688/7.266, allocations: 0.9766 MB / 1.982 GB, free: 89.02 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.009286/7.276, allocations: 3.75 MB / 1.986 GB, free: 87.64 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00472/7.28, allocations: 1.743 MB / 1.987 GB, free: 87.43 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/7.28, allocations: 1.281 kB / 1.987 GB, free: 87.43 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/7.282, allocations: 476 kB / 1.988 GB, free: 87.43 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006205/7.288, allocations: 0.8001 MB / 1.988 GB, free: 87.41 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/7.299, allocations: 3.155 MB / 1.992 GB, free: 86.66 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/7.3, allocations: 1.425 MB / 1.993 GB, free: 85.94 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.00492/7.305, allocations: 0.6255 MB / 1.994 GB, free: 85.92 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/7.307, allocations: 0.748 MB / 1.994 GB, free: 85.92 MB / 0.7917 GB Notification: Performance of SimCode: time 9.72e-07/7.307, allocations: 0 / 1.994 GB, free: 85.92 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1502/7.457, allocations: 63.08 MB / 2.056 GB, free: 83.57 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/7.457, allocations: 233.4 kB / 2.056 GB, free: 83.3 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.67/13.13, allocations: 0 / 2.056 GB, free: 83.3 MB / 0.7917 GB