Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_7_0_0_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.299/4.299, allocations: 460.5 MB / 472.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.142e-05, allocations: 0 / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2349, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.992/2.227, allocations: 435.2 MB / 1.097 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/2.227, allocations: 92.66 kB / 1.097 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.459/5.687, allocations: 0.6744 GB / 1.771 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.724e-06/5.687, allocations: 0 / 1.771 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003285/5.687, allocations: 39.19 kB / 1.771 GB, free: 152.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.005967/5.693, allocations: 1.723 MB / 1.773 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/5.693, allocations: 8.562 kB / 1.773 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004929/5.694, allocations: 127.3 kB / 1.773 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003116/5.697, allocations: 353.7 kB / 1.774 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02865/5.726, allocations: 8.314 MB / 1.782 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/5.726, allocations: 70.88 kB / 1.782 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000361/5.726, allocations: 89.62 kB / 1.782 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002667/5.729, allocations: 0.9523 MB / 1.783 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.5e-05/5.729, allocations: 3.469 kB / 1.783 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/5.729, allocations: 38.62 kB / 1.783 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/5.729, allocations: 19 kB / 1.783 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/5.731, allocations: 0.6402 MB / 1.783 GB, free: 150.7 MB / 0.8698 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.009738/5.741, allocations: 4.742 MB / 1.788 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/5.742, allocations: 429.1 kB / 1.789 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005562/5.743, allocations: 238.4 kB / 1.789 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003549/5.746, allocations: 1.673 MB / 1.79 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007819/5.747, allocations: 379.2 kB / 1.791 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009242/5.748, allocations: 85.67 kB / 1.791 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 4.298e-06/5.748, allocations: 0 / 1.791 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.00224/5.75, allocations: 0.6854 MB / 1.791 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/5.75, allocations: 110.6 kB / 1.792 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/5.753, allocations: 1.1 MB / 1.793 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002152/5.753, allocations: 37.3 kB / 1.793 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007623/5.754, allocations: 0.6508 MB / 1.793 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/5.754, allocations: 157.2 kB / 1.793 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/5.754, allocations: 14.28 kB / 1.794 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.301e-05/5.754, allocations: 339.2 kB / 1.794 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/5.755, allocations: 199.8 kB / 1.794 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007244/5.756, allocations: 493.1 kB / 1.794 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006759/5.756, allocations: 298 kB / 1.795 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/5.756, allocations: 3.969 kB / 1.795 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002444/5.759, allocations: 0.8743 MB / 1.796 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006025/5.76, allocations: 2.789 MB / 1.798 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/5.76, allocations: 10.22 kB / 1.798 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005761/5.76, allocations: 83.53 kB / 1.798 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/5.761, allocations: 160.9 kB / 1.799 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000778/5.762, allocations: 1.127 MB / 1.8 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/5.764, allocations: 79.88 kB / 1.8 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/5.764, allocations: 51.55 kB / 1.8 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/5.764, allocations: 3.875 kB / 1.8 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002091/5.767, allocations: 0.7388 MB / 1.801 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/5.767, allocations: 3.625 kB / 1.801 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000423/5.767, allocations: 90.36 kB / 1.801 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/5.768, allocations: 145.1 kB / 1.801 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006896/5.769, allocations: 1.124 MB / 1.802 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/5.771, allocations: 86.61 kB / 1.802 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/5.771, allocations: 42.17 kB / 1.802 GB, free: 140.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003409/5.771, allocations: 186.6 kB / 1.802 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003525/5.771, allocations: 136.5 kB / 1.802 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00263/5.774, allocations: 0.8948 MB / 1.803 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/5.774, allocations: 11.06 kB / 1.803 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/5.774, allocations: 0 / 1.803 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/5.774, allocations: 0 / 1.803 GB, free: 140.3 MB / 0.8698 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.004843/5.779, allocations: 1.983 MB / 1.805 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/5.779, allocations: 0 / 1.805 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008755/5.78, allocations: 109 kB / 1.805 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004104/5.78, allocations: 75.8 kB / 1.805 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.852e-05/5.781, allocations: 20.72 kB / 1.805 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000646/5.781, allocations: 1.116 MB / 1.806 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/5.781, allocations: 5.062 kB / 1.806 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/5.783, allocations: 1.064 MB / 1.807 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008959/5.784, allocations: 300.8 kB / 1.808 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003741/5.785, allocations: 11.56 kB / 1.808 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/5.787, allocations: 82.98 kB / 1.808 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/5.787, allocations: 37.66 kB / 1.808 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/5.787, allocations: 34.22 kB / 1.808 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001827/5.789, allocations: 0.8564 MB / 1.809 GB, free: 138 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.32e-07/5.789, allocations: 0 / 1.809 GB, free: 138 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003941/5.793, allocations: 0.7568 MB / 1.809 GB, free: 137.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004644/5.797, allocations: 2.84 MB / 1.812 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002661/5.8, allocations: 1.1 MB / 1.813 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/5.8, allocations: 0 / 1.813 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007914/5.801, allocations: 371 kB / 1.814 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004771/5.806, allocations: 0.6152 MB / 1.814 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006224/5.812, allocations: 2.007 MB / 1.816 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008147/5.813, allocations: 1.241 MB / 1.817 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003069/5.816, allocations: 429.3 kB / 1.818 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009038/5.817, allocations: 0.5042 MB / 1.818 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.252e-06/5.817, allocations: 0 / 1.818 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1176/5.935, allocations: 48.92 MB / 1.866 GB, free: 133 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002866/5.935, allocations: 269.9 kB / 1.866 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.632/10.57, allocations: 3.094 kB / 1.866 GB, free: 132.6 MB / 0.8698 GB