Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.648/3.648, allocations: 403.3 MB / 415.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.261e-05/4.276e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5901/0.5901, allocations: 92.68 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.291/6.881, allocations: 2.156 GB / 2.745 GB, free: 104.9 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/6.881, allocations: 97.42 kB / 2.746 GB, free: 104.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 10.29/17.18, allocations: 1.913 GB / 4.658 GB, free: 202.1 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.455e-06/17.18, allocations: 0 / 4.658 GB, free: 202.1 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002045/17.18, allocations: 32.33 kB / 4.658 GB, free: 202.1 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.007825/17.18, allocations: 1.349 MB / 4.659 GB, free: 201.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/17.18, allocations: 7.781 kB / 4.659 GB, free: 201.7 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005008/17.18, allocations: 116.5 kB / 4.66 GB, free: 201.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/17.19, allocations: 192.5 kB / 4.66 GB, free: 201.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006438/17.19, allocations: 1.354 MB / 4.661 GB, free: 201.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/17.19, allocations: 60.48 kB / 4.661 GB, free: 201.3 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/17.19, allocations: 82.78 kB / 4.661 GB, free: 201.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01157/17.2, allocations: 1.737 MB / 4.663 GB, free: 201.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.528e-05/17.2, allocations: 3.953 kB / 4.663 GB, free: 201.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/17.2, allocations: 34.78 kB / 4.663 GB, free: 201.1 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/17.2, allocations: 22.12 kB / 4.663 GB, free: 201.1 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008967/17.21, allocations: 1.488 MB / 4.664 GB, free: 201.1 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007964/17.22, allocations: 5.24 MB / 4.67 GB, free: 197.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008292/17.23, allocations: 4.779 MB / 4.674 GB, free: 193.4 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008504/17.23, allocations: 359.1 kB / 4.675 GB, free: 193.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.721e-05/17.23, allocations: 11.61 kB / 4.675 GB, free: 193.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006531/17.24, allocations: 1.098 MB / 4.676 GB, free: 193.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008758/17.24, allocations: 41.25 kB / 4.676 GB, free: 193.2 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=41): time 4.429e-06/17.24, allocations: 0 / 4.676 GB, free: 193.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=41): time 0.03753/17.28, allocations: 4.622 MB / 4.68 GB, free: 193.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001727/17.28, allocations: 448.7 kB / 4.681 GB, free: 192.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/17.28, allocations: 1.082 MB / 4.682 GB, free: 192.4 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002524/17.28, allocations: 42.67 kB / 4.682 GB, free: 192.3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006141/17.28, allocations: 0.565 MB / 4.682 GB, free: 192.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/17.28, allocations: 145.4 kB / 4.682 GB, free: 192.1 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.3e-05/17.28, allocations: 14.62 kB / 4.682 GB, free: 192.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.047e-05/17.28, allocations: 334.8 kB / 4.683 GB, free: 191.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009179/17.28, allocations: 382.1 kB / 4.683 GB, free: 191.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/17.28, allocations: 0.7936 MB / 4.684 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/17.28, allocations: 485.4 kB / 4.684 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/17.28, allocations: 3.719 kB / 4.684 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.03228/17.32, allocations: 3.862 MB / 4.688 GB, free: 191.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007238/17.32, allocations: 2.677 MB / 4.691 GB, free: 188.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/17.32, allocations: 15.33 kB / 4.691 GB, free: 188.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001866/17.32, allocations: 0.6167 MB / 4.691 GB, free: 188.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008674/17.32, allocations: 103.7 kB / 4.691 GB, free: 188.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004061/17.32, allocations: 1.71 MB / 4.693 GB, free: 187.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003576/17.33, allocations: 252.4 kB / 4.693 GB, free: 187.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/17.33, allocations: 39.59 kB / 4.693 GB, free: 187.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/17.33, allocations: 3.75 kB / 4.693 GB, free: 187.8 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002358/17.33, allocations: 0.8316 MB / 4.694 GB, free: 187.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/17.33, allocations: 8.125 kB / 4.694 GB, free: 187.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009814/17.33, allocations: 230.3 kB / 4.694 GB, free: 187.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006737/17.33, allocations: 99.75 kB / 4.695 GB, free: 187.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004861/17.34, allocations: 2.891 MB / 4.697 GB, free: 186.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/17.34, allocations: 107.2 kB / 4.697 GB, free: 186.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/17.34, allocations: 32.33 kB / 4.697 GB, free: 186.4 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004115/17.34, allocations: 159.8 kB / 4.698 GB, free: 186.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/17.34, allocations: 122.1 kB / 4.698 GB, free: 186.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/17.34, allocations: 129.2 kB / 4.698 GB, free: 186.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/17.34, allocations: 6.406 kB / 4.698 GB, free: 186.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/17.34, allocations: 1.438 kB / 4.698 GB, free: 186.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/17.34, allocations: 14.75 kB / 4.698 GB, free: 186.2 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 postOpt removeSimpleEquations (simulation): time 0.0331/17.37, allocations: 6.208 MB / 4.704 GB, free: 184.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/17.37, allocations: 0 / 4.704 GB, free: 184.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005826/17.37, allocations: 80.58 kB / 4.704 GB, free: 184.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/17.37, allocations: 0.5514 MB / 4.705 GB, free: 184.9 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-05/17.37, allocations: 18.91 kB / 4.705 GB, free: 184.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03849/17.41, allocations: 8.139 MB / 4.713 GB, free: 183.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/17.41, allocations: 6.219 kB / 4.713 GB, free: 183.6 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02702/17.44, allocations: 3.868 MB / 4.716 GB, free: 183.1 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/17.44, allocations: 283.3 kB / 4.717 GB, free: 183 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002989/17.44, allocations: 18.77 kB / 4.717 GB, free: 183 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002754/17.44, allocations: 216.4 kB / 4.717 GB, free: 182.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004242/17.45, allocations: 54.25 kB / 4.717 GB, free: 182.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.563e-05/17.45, allocations: 21.31 kB / 4.717 GB, free: 182.9 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001733/17.45, allocations: 0.8518 MB / 4.718 GB, free: 182.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.11e-07/17.45, allocations: 3.344 kB / 4.718 GB, free: 182.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003517/17.45, allocations: 0.7744 MB / 4.718 GB, free: 182.8 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 28 * 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: 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.02935/17.48, allocations: 6.097 MB / 4.724 GB, free: 180.9 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005009/17.49, allocations: 1.669 MB / 4.726 GB, free: 180.7 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/17.49, allocations: 0 / 4.726 GB, free: 180.7 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/17.49, allocations: 0.5855 MB / 4.727 GB, free: 180.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006571/17.49, allocations: 0.7145 MB / 4.727 GB, free: 180.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005439/17.5, allocations: 2.082 MB / 4.729 GB, free: 180 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008561/17.5, allocations: 1.26 MB / 4.731 GB, free: 179.3 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003748/17.5, allocations: 0.7642 MB / 4.731 GB, free: 179.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006309/17.5, allocations: 376.6 kB / 4.732 GB, free: 179.3 MB / 0.7761 GB Notification: Performance of SimCode: time 1.222e-06/17.5, allocations: 6.562 kB / 4.732 GB, free: 179.3 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.155/17.66, allocations: 67.87 MB / 4.798 GB, free: 121.8 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003171/17.66, allocations: 255.6 kB / 4.798 GB, free: 121.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.606/23.27, allocations: 0 / 4.798 GB, free: 121.5 MB / 0.7761 GB