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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 5.134/5.134, allocations: 404.1 MB / 411.3 MB, free: 424 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.192e-05/3.221e-05, allocations: 4 kB / 0.4945 GB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7475/0.7476, allocations: 92.69 MB / 0.5851 GB, free: 2.297 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2906/1.038, allocations: 119.9 MB / 0.7021 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000356/1.039, allocations: 75.95 kB / 0.7022 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.0145/1.053, allocations: 2.25 MB / 0.7044 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.693e-06/1.053, allocations: 0 / 0.7044 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.268e-05/1.053, allocations: 0 / 0.7044 GB, free: 7.941 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.0004299/1.054, allocations: 340.5 kB / 0.7047 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/1.054, allocations: 19.95 kB / 0.7047 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/1.054, allocations: 7.938 kB / 0.7047 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/1.054, allocations: 159.1 kB / 0.7049 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/1.054, allocations: 4 kB / 0.7049 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/1.054, allocations: 0 / 0.7049 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.812e-05/1.054, allocations: 4 kB / 0.7049 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.662e-05/1.054, allocations: 33.64 kB / 0.7049 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/1.054, allocations: 0 / 0.7049 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/1.054, allocations: 3.953 kB / 0.7049 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/1.054, allocations: 8 kB / 0.7049 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/1.055, allocations: 134.2 kB / 0.7051 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.738e-05/1.055, allocations: 26.55 kB / 0.7051 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/1.055, allocations: 8.922 kB / 0.7051 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003995/1.055, allocations: 93.09 kB / 0.7052 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/1.055, allocations: 34.56 kB / 0.7052 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 4.769e-06/1.055, allocations: 0 / 0.7052 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0008585/1.056, allocations: 73.59 kB / 0.7053 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/1.056, allocations: 51.41 kB / 0.7053 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.184e-05/1.056, allocations: 93.02 kB / 0.7054 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/1.056, allocations: 25.7 kB / 0.7055 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/1.056, allocations: 84.14 kB / 0.7055 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/1.056, allocations: 3.906 kB / 0.7055 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/1.056, allocations: 0 / 0.7055 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.057, allocations: 318.8 kB / 0.7058 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.664e-05/1.057, allocations: 4 kB / 0.7058 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.251e-05/1.057, allocations: 7.938 kB / 0.7059 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.299e-05/1.057, allocations: 8.172 kB / 0.7059 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/1.057, allocations: 8 kB / 0.7059 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001698/1.057, allocations: 33.7 kB / 0.7059 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/1.057, allocations: 4 kB / 0.7059 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.057, allocations: 0 / 0.7059 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/1.057, allocations: 4 kB / 0.7059 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002995/1.06, allocations: 135.9 kB / 0.706 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004897/1.065, allocations: 1.368 MB / 0.7074 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/1.065, allocations: 12.11 kB / 0.7074 GB, free: 4.539 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/1.065, allocations: 0 / 0.7074 GB, free: 4.539 MB / 0.5886 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: m_flow:VARIABLE(unit = "kg/s" ) "Mass flow rate" type: Real 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 0.0001864/1.065, allocations: 104.9 kB / 0.7075 GB, free: 4.43 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001457/1.066, allocations: 49.67 kB / 0.7075 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/1.066, allocations: 0 / 0.7075 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.562e-05/1.066, allocations: 3.75 kB / 0.7075 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/1.066, allocations: 0 / 0.7075 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/1.066, allocations: 8.031 kB / 0.7075 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/1.066, allocations: 0 / 0.7075 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/1.066, allocations: 138.2 kB / 0.7077 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/1.066, allocations: 0 / 0.7077 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003183/1.069, allocations: 143.8 kB / 0.7078 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-06/1.069, allocations: 0 / 0.7078 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/1.069, allocations: 3.938 kB / 0.7078 GB, free: 4.051 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004817/1.074, allocations: 1.367 MB / 0.7092 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.074, allocations: 4.125 kB / 0.7092 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/1.074, allocations: 69.11 kB / 0.7092 GB, free: 2.477 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/1.074, allocations: 85.05 kB / 0.7093 GB, free: 2.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/1.074, allocations: 0 / 0.7093 GB, free: 2.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/1.074, allocations: 7.984 kB / 0.7093 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/1.074, allocations: 4 kB / 0.7093 GB, free: 2.363 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/1.074, allocations: 4.031 kB / 0.7093 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.677e-05/1.075, allocations: 75.28 kB / 0.7094 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.31e-07/1.075, allocations: 3.938 kB / 0.7094 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004152/1.075, allocations: 12 kB / 0.7094 GB, free: 2.27 MB / 0.5886 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.0005631/1.076, allocations: 0.6124 MB / 0.71 GB, free: 1.629 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002825/1.078, allocations: 127.9 kB / 0.7101 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.078, allocations: 0 / 0.7101 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00292/1.081, allocations: 139.8 kB / 0.7103 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/1.082, allocations: 5.828 kB / 0.7103 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/1.084, allocations: 185.6 kB / 0.7104 GB, free: 1.145 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/1.085, allocations: 0.6768 MB / 0.7111 GB, free: 452 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.195e-05/1.085, allocations: 4 kB / 0.7111 GB, free: 448 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/1.085, allocations: 11.44 kB / 0.7111 GB, free: 436 kB / 0.5886 GB Notification: Performance of SimCode: time 1.072e-06/1.085, allocations: 0 / 0.7111 GB, free: 436 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03878/1.123, allocations: 0.7569 MB / 0.7119 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003878/1.124, allocations: 186.8 kB / 0.712 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.993/4.117, allocations: 0 / 0.712 GB, free: 15.48 MB / 0.6042 GB