Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.903/3.903, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.2e-05/4.203e-05, allocations: 15.92 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5983/0.5984, allocations: 92.68 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2405/0.8389, allocations: 120.5 MB / 0.7074 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/0.8393, allocations: 79.95 kB / 0.7074 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01177/0.8511, allocations: 2.262 MB / 0.7096 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8512, allocations: 0 / 0.7096 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.8512, allocations: 0 / 0.7096 GB, free: 3.355 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003706/0.8516, allocations: 339.9 kB / 0.71 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.8516, allocations: 8.031 kB / 0.71 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.962e-05/0.8517, allocations: 38.5 kB / 0.71 GB, free: 2.926 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.8517, allocations: 7.938 kB / 0.71 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.8519, allocations: 163.1 kB / 0.7102 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.8519, allocations: 0 / 0.7102 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.8519, allocations: 0 / 0.7102 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006772/0.8526, allocations: 65.66 kB / 0.7102 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.8526, allocations: 4 kB / 0.7102 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.8526, allocations: 3.938 kB / 0.7102 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.8527, allocations: 3.953 kB / 0.7103 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005507/0.8532, allocations: 31.95 kB / 0.7103 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.8535, allocations: 153.6 kB / 0.7104 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005987/0.8541, allocations: 62.5 kB / 0.7105 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/0.8541, allocations: 8.922 kB / 0.7105 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003407/0.8545, allocations: 93.09 kB / 0.7106 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.8545, allocations: 38.55 kB / 0.7106 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.785e-06/0.8545, allocations: 0 / 0.7106 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.001173/0.8557, allocations: 97.62 kB / 0.7107 GB, free: 2.066 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.8558, allocations: 55.41 kB / 0.7108 GB, free: 2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.8559, allocations: 96.94 kB / 0.7109 GB, free: 1.898 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.856, allocations: 25.7 kB / 0.7109 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.856, allocations: 84.14 kB / 0.711 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.8561, allocations: 3.906 kB / 0.711 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/0.8561, allocations: 0 / 0.711 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.8562, allocations: 311 kB / 0.7113 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.8563, allocations: 12 kB / 0.7113 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.153e-05/0.8563, allocations: 7.938 kB / 0.7113 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.213e-05/0.8564, allocations: 7.938 kB / 0.7113 GB, free: 1.438 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.8564, allocations: 0 / 0.7113 GB, free: 1.438 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001451/0.8565, allocations: 41.69 kB / 0.7113 GB, free: 1.391 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.8566, allocations: 8 kB / 0.7113 GB, free: 1.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.8566, allocations: 0 / 0.7113 GB, free: 1.383 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.8566, allocations: 0 / 0.7113 GB, free: 1.383 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/0.8591, allocations: 139.9 kB / 0.7115 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004298/0.8634, allocations: 1.419 MB / 0.7129 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.8636, allocations: 11.97 kB / 0.7129 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.8636, allocations: 4 kB / 0.7129 GB, free: 15.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.967e-05/0.8637, allocations: 104.5 kB / 0.713 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.8638, allocations: 0 / 0.713 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.533e-05/0.8638, allocations: 11.22 kB / 0.713 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.8638, allocations: 0 / 0.713 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.8638, allocations: 4 kB / 0.713 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.8638, allocations: 0 / 0.713 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.864, allocations: 157.6 kB / 0.7131 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.864, allocations: 0 / 0.7131 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002536/0.8666, allocations: 147.8 kB / 0.7133 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/0.8666, allocations: 0 / 0.7133 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.8666, allocations: 0 / 0.7133 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004103/0.8707, allocations: 1.407 MB / 0.7147 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.8708, allocations: 0 / 0.7147 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.871, allocations: 77.05 kB / 0.7147 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.871, allocations: 81.11 kB / 0.7148 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.8711, allocations: 7.984 kB / 0.7148 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.8712, allocations: 4.094 kB / 0.7148 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.8713, allocations: 4 kB / 0.7148 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.8713, allocations: 3.984 kB / 0.7148 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.047e-05/0.8714, allocations: 79.28 kB / 0.7149 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.31e-07/0.8714, allocations: 0 / 0.7149 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000539/0.8719, allocations: 8 kB / 0.7149 GB, free: 13.38 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005601/0.8725, allocations: 0.6239 MB / 0.7155 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002212/0.8747, allocations: 131.8 kB / 0.7156 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.8748, allocations: 4 kB / 0.7156 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00224/0.877, allocations: 127.9 kB / 0.7158 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.8772, allocations: 4 kB / 0.7158 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.8794, allocations: 195.1 kB / 0.716 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.8797, allocations: 0.6809 MB / 0.7166 GB, free: 11.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.714e-05/0.8798, allocations: 0 / 0.7166 GB, free: 11.53 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.8798, allocations: 11.44 kB / 0.7166 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of SimCode: time 1.192e-06/0.8798, allocations: 0 / 0.7166 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.8997, allocations: 1.172 MB / 0.7178 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000319/0.9001, allocations: 211 kB / 0.718 GB, free: 10.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/3.339, allocations: 0 / 0.718 GB, free: 10.26 MB / 0.6042 GB