Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadModel(Buildings): time 3.788/3.788, allocations: 403.9 MB / 411 MB, free: 404 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.199e-05/2.209e-05, allocations: 7.938 kB / 0.4942 GB, free: 1.41 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5155/0.5155, allocations: 92.68 MB / 0.5847 GB, free: 2.422 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1786/0.6942, allocations: 119.9 MB / 0.7017 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.6945, allocations: 79.95 kB / 0.7018 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.009855/0.7044, allocations: 2.246 MB / 0.704 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.176e-06/0.7044, allocations: 0 / 0.704 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.7044, allocations: 0 / 0.704 GB, free: 8.07 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.0003244/0.7048, allocations: 338.4 kB / 0.7043 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.7048, allocations: 12.03 kB / 0.7043 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.7049, allocations: 3.953 kB / 0.7043 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.705, allocations: 167 kB / 0.7045 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.705, allocations: 0 / 0.7045 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.869e-06/0.705, allocations: 0 / 0.7045 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.926e-05/0.7051, allocations: 4 kB / 0.7045 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.772e-05/0.7052, allocations: 33.64 kB / 0.7045 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.631e-06/0.7052, allocations: 7.984 kB / 0.7045 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.913e-06/0.7052, allocations: 3.953 kB / 0.7045 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.453e-06/0.7052, allocations: 0 / 0.7045 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.7054, allocations: 142.2 kB / 0.7047 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.541e-05/0.7055, allocations: 18.58 kB / 0.7047 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.7055, allocations: 4.859 kB / 0.7047 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002627/0.7058, allocations: 97.16 kB / 0.7048 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.7058, allocations: 38.56 kB / 0.7048 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.84e-06/0.7058, allocations: 0 / 0.7048 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0005077/0.7064, allocations: 65.59 kB / 0.7049 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.7064, allocations: 51.44 kB / 0.7049 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/0.7065, allocations: 101 kB / 0.705 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.7065, allocations: 25.7 kB / 0.7051 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.7066, allocations: 80.14 kB / 0.7051 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.7066, allocations: 3.906 kB / 0.7051 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-06/0.7066, allocations: 0 / 0.7051 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.7068, allocations: 318.8 kB / 0.7055 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.467e-05/0.7068, allocations: 4 kB / 0.7055 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/0.7068, allocations: 8.125 kB / 0.7055 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.835e-05/0.7069, allocations: 4 kB / 0.7055 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.044e-06/0.7069, allocations: 3.984 kB / 0.7055 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001111/0.707, allocations: 41.7 kB / 0.7055 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.707, allocations: 4 kB / 0.7055 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.707e-06/0.7071, allocations: 0 / 0.7055 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.7071, allocations: 0 / 0.7055 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.7085, allocations: 139.9 kB / 0.7056 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002708/0.7112, allocations: 1.375 MB / 0.707 GB, free: 4.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.7113, allocations: 8.016 kB / 0.707 GB, free: 4.672 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.7114, allocations: 0 / 0.707 GB, free: 4.672 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.0001515/0.7115, allocations: 112.7 kB / 0.7071 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.7116, allocations: 0 / 0.7071 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.164e-05/0.7116, allocations: 3.75 kB / 0.7071 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.7116, allocations: 0 / 0.7071 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.521e-06/0.7116, allocations: 8.062 kB / 0.7071 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.67e-06/0.7116, allocations: 3.984 kB / 0.7071 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.7118, allocations: 130.2 kB / 0.7072 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.7118, allocations: 7.938 kB / 0.7073 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/0.7132, allocations: 143.8 kB / 0.7074 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.299e-06/0.7133, allocations: 0 / 0.7074 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.7133, allocations: 0 / 0.7074 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002703/0.716, allocations: 1.375 MB / 0.7087 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.916e-06/0.716, allocations: 0 / 0.7087 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.7162, allocations: 65.16 kB / 0.7088 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.7162, allocations: 81.06 kB / 0.7089 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.7162, allocations: 0 / 0.7089 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.7164, allocations: 7.984 kB / 0.7089 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.7164, allocations: 8.094 kB / 0.7089 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.885e-06/0.7164, allocations: 7.938 kB / 0.7089 GB, free: 2.539 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.315e-05/0.7165, allocations: 79.27 kB / 0.709 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.57e-07/0.7165, allocations: 0 / 0.709 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003445/0.7168, allocations: 12 kB / 0.709 GB, free: 2.449 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.0001459/0.717, allocations: 103 kB / 0.7091 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.7183, allocations: 132 kB / 0.7092 GB, free: 2.211 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.084e-06/0.7183, allocations: 0 / 0.7092 GB, free: 2.211 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.7196, allocations: 127.9 kB / 0.7093 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.7198, allocations: 8.062 kB / 0.7093 GB, free: 2.078 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.7209, allocations: 167.8 kB / 0.7095 GB, free: 1.891 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.7212, allocations: 0.6768 MB / 0.7102 GB, free: 1.188 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.376e-05/0.7213, allocations: 0 / 0.7102 GB, free: 1.188 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.703e-05/0.7213, allocations: 7.438 kB / 0.7102 GB, free: 1.18 MB / 0.5886 GB Notification: Performance of SimCode: time 1.409e-06/0.7213, allocations: 0 / 0.7102 GB, free: 1.18 MB / 0.5886 GB Notification: Performance of Templates: time 0.00264/0.724, allocations: 449.1 kB / 0.7106 GB, free: 0.7422 MB / 0.5886 GB