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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.673/4.673, allocations: 404.2 MB / 411.3 MB, free: 404 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.839e-05, allocations: 4 kB / 0.4945 GB, free: 1.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7161/0.7162, allocations: 92.68 MB / 0.585 GB, free: 2.375 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.374/2.09, allocations: 424.3 MB / 0.9994 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003694/2.09, allocations: 92.39 kB / 0.9995 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.75/7.84, allocations: 0.921 GB / 1.92 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.375e-06/7.84, allocations: 0 / 1.92 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0004695/7.841, allocations: 63.86 kB / 1.92 GB, free: 9.715 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.009508/7.85, allocations: 2.131 MB / 1.923 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.355e-05/7.85, allocations: 16 kB / 1.923 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009195/7.86, allocations: 0.731 MB / 1.923 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04064/7.9, allocations: 8.552 MB / 1.932 GB, free: 14.1 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/7.9, allocations: 40 kB / 1.932 GB, free: 14.06 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005251/7.901, allocations: 80 kB / 1.932 GB, free: 13.98 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004115/7.905, allocations: 0.9498 MB / 1.933 GB, free: 13.03 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004657/7.91, allocations: 1.26 MB / 1.934 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.264e-05/7.91, allocations: 4 kB / 1.934 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/7.91, allocations: 0 / 1.934 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.198e-05/7.91, allocations: 36 kB / 1.934 GB, free: 11.6 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.02209/7.932, allocations: 8.284 MB / 1.942 GB, free: 2.695 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006312/7.939, allocations: 0.9129 MB / 1.943 GB, free: 1.762 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/7.94, allocations: 379.7 kB / 1.943 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8517/8.792, allocations: 2.466 MB / 1.946 GB, free: 100.7 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002256/8.794, allocations: 480.2 kB / 1.946 GB, free: 100.7 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002598/8.797, allocations: 151.2 kB / 1.946 GB, free: 100.7 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=67): time 1.387e-05/8.797, allocations: 0 / 1.946 GB, free: 100.7 MB / 0.7917 GB Notification: Performance of matching and sorting (n=68): time 0.01972/8.817, allocations: 2.366 MB / 1.949 GB, free: 99.97 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/8.817, allocations: 164.3 kB / 1.949 GB, free: 99.78 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00475/8.822, allocations: 1.169 MB / 1.95 GB, free: 99.62 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003909/8.822, allocations: 28.58 kB / 1.95 GB, free: 99.59 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001848/8.824, allocations: 0.9172 MB / 1.951 GB, free: 99.33 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006557/8.825, allocations: 232.6 kB / 1.951 GB, free: 99.21 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/8.825, allocations: 0 / 1.951 GB, free: 99.21 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001749/8.825, allocations: 350.5 kB / 1.951 GB, free: 98.91 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/8.827, allocations: 339.1 kB / 1.952 GB, free: 98.91 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/8.829, allocations: 0.7825 MB / 1.952 GB, free: 98.36 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004101/8.833, allocations: 0.5068 MB / 1.953 GB, free: 98.36 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-05/8.833, allocations: 3.156 kB / 1.953 GB, free: 98.36 MB / 0.7917 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.008246/8.842, allocations: 1.248 MB / 1.954 GB, free: 98.22 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.001647/8.843, allocations: 4.903 MB / 1.959 GB, free: 93.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001074/8.844, allocations: 13.98 kB / 1.959 GB, free: 93.09 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.339e-05/8.844, allocations: 23.58 kB / 1.959 GB, free: 93.08 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004048/8.848, allocations: 296.3 kB / 1.959 GB, free: 93.08 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.55e-05/8.848, allocations: 29.89 kB / 1.959 GB, free: 93.08 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004712/8.853, allocations: 131.5 kB / 1.959 GB, free: 93.08 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005292/8.853, allocations: 61.59 kB / 1.96 GB, free: 93.08 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/8.853, allocations: 3.312 kB / 1.96 GB, free: 93.08 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006687/8.86, allocations: 1.032 MB / 1.961 GB, free: 93.06 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.8e-05/8.86, allocations: 13.06 kB / 1.961 GB, free: 93.06 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.216e-05/8.86, allocations: 21.66 kB / 1.961 GB, free: 93.06 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003787/8.864, allocations: 292.5 kB / 1.961 GB, free: 93.06 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-05/8.864, allocations: 25.64 kB / 1.961 GB, free: 93.06 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004457/8.869, allocations: 127.8 kB / 1.961 GB, free: 93.06 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004815/8.869, allocations: 67.97 kB / 1.961 GB, free: 93.06 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 (133): * Single equations (assignments): 129 * 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.0007027/8.87, allocations: 147.4 kB / 1.961 GB, free: 92.95 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005606/8.875, allocations: 0.8557 MB / 1.962 GB, free: 92.81 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007026/8.876, allocations: 165.8 kB / 1.962 GB, free: 92.72 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006069/8.882, allocations: 1.124 MB / 1.963 GB, free: 92.63 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.064e-05/8.882, allocations: 9.531 kB / 1.963 GB, free: 92.63 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/8.882, allocations: 3.516 kB / 1.963 GB, free: 92.63 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003618/8.886, allocations: 1.019 MB / 1.964 GB, free: 92.25 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.01208/8.898, allocations: 2.667 MB / 1.967 GB, free: 91.76 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/8.898, allocations: 6.094 kB / 1.967 GB, free: 91.76 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002434/8.901, allocations: 182 kB / 1.967 GB, free: 91.76 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002714/8.901, allocations: 42.17 kB / 1.967 GB, free: 91.75 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/8.901, allocations: 25.66 kB / 1.967 GB, free: 91.75 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000622/8.902, allocations: 0.5852 MB / 1.968 GB, free: 91.23 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/8.902, allocations: 0 / 1.968 GB, free: 91.23 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005083/8.907, allocations: 1.768 MB / 1.969 GB, free: 90.82 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001455/8.908, allocations: 342.1 kB / 1.97 GB, free: 90.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005681/8.909, allocations: 6.438 kB / 1.97 GB, free: 90.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002971/8.912, allocations: 145.5 kB / 1.97 GB, free: 90.64 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002524/8.912, allocations: 58.3 kB / 1.97 GB, free: 90.64 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/8.913, allocations: 38.41 kB / 1.97 GB, free: 90.64 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002236/8.915, allocations: 0.8677 MB / 1.971 GB, free: 90.53 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.41e-07/8.915, allocations: 0 / 1.971 GB, free: 90.53 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00703/8.922, allocations: 0.9125 MB / 1.972 GB, free: 90.53 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.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 (79): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008915/8.931, allocations: 3.718 MB / 1.975 GB, free: 89.16 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00488/8.936, allocations: 1.68 MB / 1.977 GB, free: 88.95 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/8.936, allocations: 0 / 1.977 GB, free: 88.95 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/8.937, allocations: 472.2 kB / 1.977 GB, free: 88.95 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007284/8.945, allocations: 0.7168 MB / 1.978 GB, free: 88.94 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/8.958, allocations: 3.056 MB / 1.981 GB, free: 88.2 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/8.96, allocations: 1.416 MB / 1.983 GB, free: 87.49 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.006141/8.966, allocations: 0.5947 MB / 1.983 GB, free: 87.46 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002192/8.968, allocations: 0.7389 MB / 1.984 GB, free: 87.46 MB / 0.7917 GB Notification: Performance of SimCode: time 1.623e-06/8.968, allocations: 0 / 1.984 GB, free: 87.46 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2234/9.192, allocations: 53.11 MB / 2.036 GB, free: 85.61 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002898/9.192, allocations: 217.1 kB / 2.036 GB, free: 85.33 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.067/16.26, allocations: 0 / 2.036 GB, free: 85.33 MB / 0.7917 GB