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.735/3.735, allocations: 403.3 MB / 415.4 MB, free: 12.94 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.697e-05/3.709e-05, allocations: 4 kB / 0.4991 GB, free: 13.29 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5961/0.5962, allocations: 92.67 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2446/0.8409, allocations: 120.5 MB / 0.7073 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/0.8412, allocations: 79.89 kB / 0.7074 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01137/0.8526, allocations: 2.266 MB / 0.7096 GB, free: 3.441 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8527, allocations: 0 / 0.7096 GB, free: 3.441 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.8527, allocations: 0 / 0.7096 GB, free: 3.441 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.0003715/0.8531, allocations: 330.5 kB / 0.7099 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.8531, allocations: 8.031 kB / 0.7099 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.8532, allocations: 38.55 kB / 0.71 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.556e-05/0.8532, allocations: 7.953 kB / 0.71 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.8534, allocations: 167.1 kB / 0.7102 GB, free: 2.809 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.8534, allocations: 0 / 0.7102 GB, free: 2.809 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.8534, allocations: 3.938 kB / 0.7102 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006376/0.8541, allocations: 61.66 kB / 0.7102 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.8541, allocations: 0 / 0.7102 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-06/0.8541, allocations: 0 / 0.7102 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.8541, allocations: 7.953 kB / 0.7102 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005335/0.8547, allocations: 39.95 kB / 0.7103 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.8549, allocations: 153.7 kB / 0.7104 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005474/0.8554, allocations: 54.53 kB / 0.7105 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.8555, allocations: 16.86 kB / 0.7105 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000318/0.8558, allocations: 93.09 kB / 0.7106 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.8558, allocations: 30.56 kB / 0.7106 GB, free: 2.262 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.064e-06/0.8559, allocations: 4 kB / 0.7106 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.001103/0.857, allocations: 97.61 kB / 0.7107 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.857, allocations: 55.44 kB / 0.7107 GB, free: 2.09 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.8571, allocations: 92.95 kB / 0.7108 GB, free: 1.992 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.8572, allocations: 29.69 kB / 0.7109 GB, free: 1.957 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.8572, allocations: 80.14 kB / 0.7109 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.8573, allocations: 11.91 kB / 0.7109 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.8573, allocations: 0 / 0.7109 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.8574, allocations: 310.8 kB / 0.7112 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.186e-05/0.8574, allocations: 4 kB / 0.7112 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/0.8575, allocations: 16.06 kB / 0.7113 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.2e-05/0.8575, allocations: 0 / 0.7113 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.8575, allocations: 0 / 0.7113 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001185/0.8577, allocations: 49.62 kB / 0.7113 GB, free: 1.477 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.8577, allocations: 9.719 kB / 0.7113 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.8577, allocations: 0 / 0.7113 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.8577, allocations: 0 / 0.7113 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002336/0.8601, allocations: 131.9 kB / 0.7114 GB, free: 1.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003906/0.864, allocations: 1.419 MB / 0.7128 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.8642, allocations: 15.88 kB / 0.7128 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.8642, allocations: 4 kB / 0.7129 GB, free: 15.77 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 8.312e-05/0.8643, allocations: 101.8 kB / 0.7129 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.8644, allocations: 3.938 kB / 0.713 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.473e-05/0.8644, allocations: 7.125 kB / 0.713 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.8644, allocations: 4.062 kB / 0.713 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.8644, allocations: 4 kB / 0.713 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.8644, allocations: 0 / 0.713 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.8646, allocations: 157.6 kB / 0.7131 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8646, allocations: 0 / 0.7131 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002418/0.867, allocations: 147.8 kB / 0.7133 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.867, allocations: 0 / 0.7133 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.8671, allocations: 0 / 0.7133 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003768/0.8708, allocations: 1.411 MB / 0.7146 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8709, allocations: 0 / 0.7146 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.871, allocations: 77.05 kB / 0.7147 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.8711, allocations: 77.11 kB / 0.7148 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.8711, allocations: 3.984 kB / 0.7148 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.8713, allocations: 4 kB / 0.7148 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.8713, allocations: 8.094 kB / 0.7148 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.8713, allocations: 3.984 kB / 0.7148 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.241e-05/0.8714, allocations: 75.28 kB / 0.7149 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.61e-07/0.8714, allocations: 0 / 0.7149 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000277/0.8717, allocations: 12 kB / 0.7149 GB, free: 13.46 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.0004741/0.8722, allocations: 0.6124 MB / 0.7155 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00216/0.8744, allocations: 135.8 kB / 0.7156 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.8744, allocations: 0 / 0.7156 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002196/0.8766, allocations: 135.9 kB / 0.7157 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.8767, allocations: 4 kB / 0.7157 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.8788, allocations: 191.7 kB / 0.7159 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.879, allocations: 0.677 MB / 0.7166 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.385e-05/0.8791, allocations: 7.938 kB / 0.7166 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.8791, allocations: 9.406 kB / 0.7166 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of SimCode: time 9.72e-07/0.8791, allocations: 0 / 0.7166 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.9025, allocations: 1.177 MB / 0.7178 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002934/0.9029, allocations: 216.2 kB / 0.718 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/3.082, allocations: 0 / 0.718 GB, free: 10.34 MB / 0.6042 GB