Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.275/4.275, allocations: 464.6 MB / 476.8 MB, free: 2.113 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.517e-05/3.526e-05, allocations: 4 kB / 0.5732 GB, free: 5.621 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.247, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.2/1.447, allocations: 381.7 MB / 1.051 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/1.448, allocations: 87.23 kB / 1.051 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.449/2.897, allocations: 246.8 MB / 1.292 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.703e-06/2.897, allocations: 4 kB / 1.292 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.085e-05/2.897, allocations: 16 kB / 1.292 GB, free: 171.3 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002144/2.899, allocations: 0.9139 MB / 1.293 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/2.899, allocations: 8.031 kB / 1.293 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/2.9, allocations: 74.53 kB / 1.293 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/2.901, allocations: 183.1 kB / 1.293 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03622/2.937, allocations: 11.37 MB / 1.304 GB, free: 158.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005886/2.938, allocations: 92.7 kB / 1.304 GB, free: 158.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/2.938, allocations: 43.94 kB / 1.304 GB, free: 158.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/2.939, allocations: 452.7 kB / 1.304 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/2.939, allocations: 0 / 1.304 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.759e-05/2.939, allocations: 12 kB / 1.304 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/2.939, allocations: 11.98 kB / 1.304 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007823/2.94, allocations: 317.4 kB / 1.305 GB, free: 157.6 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.004182/2.944, allocations: 2.249 MB / 1.307 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007667/2.945, allocations: 270.9 kB / 1.307 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003994/2.946, allocations: 181 kB / 1.307 GB, free: 154.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003532/2.946, allocations: 340.7 kB / 1.308 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005484/2.947, allocations: 254.7 kB / 1.308 GB, free: 154 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 3.917e-06/2.947, allocations: 0 / 1.308 GB, free: 154 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.001482/2.948, allocations: 496 kB / 1.308 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/2.948, allocations: 85.11 kB / 1.309 GB, free: 153.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007263/2.949, allocations: 428.8 kB / 1.309 GB, free: 153 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/2.949, allocations: 29.7 kB / 1.309 GB, free: 153 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/2.949, allocations: 276.4 kB / 1.309 GB, free: 152.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/2.949, allocations: 118.3 kB / 1.309 GB, free: 152.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/2.95, allocations: 4 kB / 1.309 GB, free: 152.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001661/2.95, allocations: 358.8 kB / 1.31 GB, free: 152.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006105/2.95, allocations: 132 kB / 1.31 GB, free: 152.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007179/2.951, allocations: 231.8 kB / 1.31 GB, free: 151.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006762/2.952, allocations: 173.6 kB / 1.31 GB, free: 151.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/2.952, allocations: 0 / 1.31 GB, free: 151.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002532/2.954, allocations: 0.5367 MB / 1.311 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002835/2.955, allocations: 0.6413 MB / 1.311 GB, free: 150.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/2.955, allocations: 4 kB / 1.311 GB, free: 150.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004735/2.955, allocations: 52.81 kB / 1.311 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/2.956, allocations: 83.89 kB / 1.312 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009243/2.957, allocations: 0.5915 MB / 1.312 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/2.959, allocations: 83.61 kB / 1.312 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/2.96, allocations: 23.98 kB / 1.312 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/2.96, allocations: 4 kB / 1.312 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002123/2.962, allocations: 470.2 kB / 1.313 GB, free: 149.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/2.962, allocations: 8.031 kB / 1.313 GB, free: 149.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003728/2.962, allocations: 48.83 kB / 1.313 GB, free: 149 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009551/2.963, allocations: 83.88 kB / 1.313 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/2.965, allocations: 1.631 MB / 1.314 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/2.966, allocations: 87.59 kB / 1.314 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-05/2.967, allocations: 15.98 kB / 1.314 GB, free: 147 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002491/2.967, allocations: 156.7 kB / 1.315 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/2.967, allocations: 63.34 kB / 1.315 GB, free: 146.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/2.969, allocations: 0.571 MB / 1.315 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/2.969, allocations: 4 kB / 1.315 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/2.969, allocations: 0 / 1.315 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001153/2.97, allocations: 0.7314 MB / 1.316 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/2.972, allocations: 1.213 MB / 1.317 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/2.973, allocations: 8.094 kB / 1.317 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006421/2.973, allocations: 67.88 kB / 1.317 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002052/2.973, allocations: 52.77 kB / 1.317 GB, free: 144 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.924e-05/2.973, allocations: 19.98 kB / 1.317 GB, free: 144 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003889/2.974, allocations: 0.5718 MB / 1.318 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/2.974, allocations: 4.031 kB / 1.318 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/2.976, allocations: 0.8758 MB / 1.319 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004436/2.976, allocations: 184.3 kB / 1.319 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/2.976, allocations: 12 kB / 1.319 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/2.977, allocations: 75.8 kB / 1.319 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.225e-05/2.978, allocations: 23.97 kB / 1.319 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.255e-05/2.978, allocations: 19.98 kB / 1.319 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00059/2.978, allocations: 337.6 kB / 1.319 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.91e-07/2.978, allocations: 0 / 1.319 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00184/2.98, allocations: 375.5 kB / 1.32 GB, free: 141.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002958/2.983, allocations: 1.926 MB / 1.322 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001944/2.985, allocations: 0.8237 MB / 1.322 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/2.985, allocations: 3.938 kB / 1.322 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005415/2.986, allocations: 270.5 kB / 1.323 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/2.988, allocations: 241.7 kB / 1.323 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/2.991, allocations: 0.9583 MB / 1.324 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/2.992, allocations: 0.891 MB / 1.325 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001161/2.993, allocations: 152.3 kB / 1.325 GB, free: 136 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003336/2.993, allocations: 191.4 kB / 1.325 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.834e-06/2.993, allocations: 0 / 1.325 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05867/3.052, allocations: 18.78 MB / 1.343 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/3.052, allocations: 229.5 kB / 1.344 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.273/6.325, allocations: 0 / 1.344 GB, free: 116.9 MB / 0.8855 GB