Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.246/4.246, allocations: 464.6 MB / 476.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.704e-05/3.695e-05, allocations: 4 kB / 0.5732 GB, free: 5.641 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2437, allocations: 107.1 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.013/7.256, allocations: 2.182 GB / 2.86 GB, free: 259.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/7.257, allocations: 91.05 kB / 2.86 GB, free: 259.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.705/15.96, allocations: 1.724 GB / 4.584 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.295e-06/15.96, allocations: 3.844 kB / 4.584 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000149/15.96, allocations: 28.73 kB / 4.584 GB, free: 243.4 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00249/15.96, allocations: 1.144 MB / 4.585 GB, free: 242.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/15.96, allocations: 13.69 kB / 4.585 GB, free: 242.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/15.96, allocations: 95.05 kB / 4.585 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/15.97, allocations: 187.7 kB / 4.585 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003451/15.97, allocations: 1.078 MB / 4.586 GB, free: 241.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.235e-05/15.97, allocations: 46.56 kB / 4.586 GB, free: 241.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/15.97, allocations: 60.67 kB / 4.586 GB, free: 241.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/15.97, allocations: 0.7304 MB / 4.587 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/15.97, allocations: 7.562 kB / 4.587 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-05/15.97, allocations: 31.02 kB / 4.587 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/15.97, allocations: 14.5 kB / 4.587 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/15.97, allocations: 460.8 kB / 4.588 GB, free: 241 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.005554/15.98, allocations: 4.598 MB / 4.592 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000804/15.98, allocations: 377.8 kB / 4.592 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004498/15.98, allocations: 222.9 kB / 4.593 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003841/15.98, allocations: 195.9 kB / 4.593 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005216/15.98, allocations: 268.7 kB / 4.593 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 3.496e-06/15.98, allocations: 0 / 4.593 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.001381/15.98, allocations: 458 kB / 4.593 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/15.98, allocations: 84.83 kB / 4.594 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/15.98, allocations: 0.9758 MB / 4.594 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-05/15.98, allocations: 37.7 kB / 4.595 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004746/15.98, allocations: 491.3 kB / 4.595 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/15.98, allocations: 110.3 kB / 4.595 GB, free: 234.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/15.98, allocations: 11.53 kB / 4.595 GB, free: 234.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.702e-05/15.98, allocations: 322.2 kB / 4.595 GB, free: 234.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/15.98, allocations: 164.8 kB / 4.596 GB, free: 234 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/15.99, allocations: 496.1 kB / 4.596 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005442/15.99, allocations: 276 kB / 4.596 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/15.99, allocations: 4 kB / 4.596 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001387/15.99, allocations: 0.626 MB / 4.597 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004872/15.99, allocations: 2.134 MB / 4.599 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/15.99, allocations: 4 kB / 4.599 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.59e-05/15.99, allocations: 12 kB / 4.599 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008236/15.99, allocations: 111 kB / 4.599 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/15.99, allocations: 11.94 kB / 4.599 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/15.99, allocations: 108.4 kB / 4.599 GB, free: 230 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.053e-05/15.99, allocations: 27.98 kB / 4.599 GB, free: 230 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/15.99, allocations: 4 kB / 4.599 GB, free: 230 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001015/15.99, allocations: 484.3 kB / 4.6 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/15.99, allocations: 15.91 kB / 4.6 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/15.99, allocations: 8 kB / 4.6 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006816/15.99, allocations: 99.88 kB / 4.6 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/15.99, allocations: 19.86 kB / 4.6 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/15.99, allocations: 94.94 kB / 4.6 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-05/15.99, allocations: 27.5 kB / 4.6 GB, free: 229.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002535/15.99, allocations: 140.8 kB / 4.6 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/15.99, allocations: 102.8 kB / 4.6 GB, free: 229 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/16, allocations: 466.4 kB / 4.601 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/16, allocations: 4 kB / 4.601 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/16, allocations: 2.062 kB / 4.601 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/16, allocations: 0 / 4.601 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002834/16, allocations: 1.348 MB / 4.602 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/16, allocations: 4 kB / 4.602 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004834/16, allocations: 71.33 kB / 4.602 GB, free: 227 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/16, allocations: 4 kB / 4.602 GB, free: 227 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/16, allocations: 8 kB / 4.602 GB, free: 227 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/16, allocations: 4 kB / 4.602 GB, free: 227 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/16, allocations: 11.86 kB / 4.602 GB, free: 227 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/16, allocations: 0.6487 MB / 4.603 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005592/16, allocations: 219.8 kB / 4.603 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/16, allocations: 8 kB / 4.603 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009351/16, allocations: 54.98 kB / 4.603 GB, free: 226 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/16, allocations: 38.84 kB / 4.603 GB, free: 226 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/16, allocations: 12 kB / 4.603 GB, free: 226 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001498/16, allocations: 0.7688 MB / 4.604 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.41e-07/16, allocations: 0 / 4.604 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002238/16.01, allocations: 483.6 kB / 4.604 GB, free: 224.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.003032/16.01, allocations: 2.505 MB / 4.607 GB, free: 222.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001752/16.01, allocations: 0.7486 MB / 4.607 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/16.01, allocations: 0 / 4.607 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004393/16.01, allocations: 186.3 kB / 4.608 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003775/16.01, allocations: 455.7 kB / 4.608 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/16.02, allocations: 1.644 MB / 4.61 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007404/16.02, allocations: 1.207 MB / 4.611 GB, free: 218 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003527/16.02, allocations: 0.8423 MB / 4.612 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005491/16.02, allocations: 299.3 kB / 4.612 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.623e-06/16.02, allocations: 0 / 4.612 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09898/16.12, allocations: 42.89 MB / 4.654 GB, free: 174.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002854/16.12, allocations: 213.7 kB / 4.654 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.194/20.32, allocations: 0 / 4.654 GB, free: 174.1 MB / 0.8855 GB