Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.424/4.424, allocations: 464.6 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.328e-05/5.36e-05, allocations: 5.719 kB / 0.5732 GB, free: 5.625 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2404, allocations: 107.1 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8528/1.093, allocations: 132.2 MB / 0.8069 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/1.094, allocations: 85.41 kB / 0.807 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0105/1.104, allocations: 2.279 MB / 0.8092 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/1.104, allocations: 0 / 0.8092 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.654e-06/1.104, allocations: 0 / 0.8092 GB, free: 11.79 MB / 0.6355 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.0002979/1.104, allocations: 335.5 kB / 0.8096 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/1.105, allocations: 11.56 kB / 0.8096 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/1.105, allocations: 30.56 kB / 0.8096 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.191e-05/1.105, allocations: 0 / 0.8096 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.723e-05/1.105, allocations: 167 kB / 0.8098 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/1.105, allocations: 7.875 kB / 0.8098 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/1.105, allocations: 2.391 kB / 0.8098 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.845e-05/1.105, allocations: 32.95 kB / 0.8098 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/1.105, allocations: 0 / 0.8098 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/1.105, allocations: 0 / 0.8098 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/1.105, allocations: 0 / 0.8098 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.353e-05/1.105, allocations: 11.8 kB / 0.8098 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/1.105, allocations: 160.3 kB / 0.81 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.73e-05/1.105, allocations: 26.08 kB / 0.81 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/1.105, allocations: 8.734 kB / 0.81 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/1.105, allocations: 0 / 0.81 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/1.105, allocations: 36.52 kB / 0.81 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/1.105, allocations: 0 / 0.81 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001341/1.105, allocations: 37.3 kB / 0.8101 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/1.105, allocations: 51.41 kB / 0.8101 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.444e-05/1.106, allocations: 98.91 kB / 0.8102 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/1.106, allocations: 25.7 kB / 0.8102 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.956e-05/1.106, allocations: 80.14 kB / 0.8103 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/1.106, allocations: 7.844 kB / 0.8103 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/1.106, allocations: 0 / 0.8103 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.803e-05/1.106, allocations: 318.3 kB / 0.8106 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/1.106, allocations: 0 / 0.8106 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.268e-05/1.106, allocations: 3.656 kB / 0.8106 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.011e-05/1.106, allocations: 7.422 kB / 0.8106 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.106, allocations: 3.953 kB / 0.8106 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.9e-05/1.106, allocations: 37.39 kB / 0.8107 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/1.106, allocations: 3.875 kB / 0.8107 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.106, allocations: 0 / 0.8107 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/1.106, allocations: 0 / 0.8107 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/1.106, allocations: 10.45 kB / 0.8107 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002937/1.106, allocations: 0.594 MB / 0.8113 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.552e-05/1.107, allocations: 7.844 kB / 0.8113 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/1.107, allocations: 3.953 kB / 0.8113 GB, free: 9.609 MB / 0.6355 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 5.577e-05/1.107, allocations: 101 kB / 0.8114 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/1.107, allocations: 3.844 kB / 0.8114 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/1.107, allocations: 42.89 kB / 0.8114 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.107, allocations: 0 / 0.8114 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.107, allocations: 6.984 kB / 0.8114 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/1.107, allocations: 0 / 0.8114 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.786e-05/1.107, allocations: 160.5 kB / 0.8116 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.107, allocations: 0 / 0.8116 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/1.107, allocations: 7.719 kB / 0.8116 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/1.107, allocations: 0 / 0.8116 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/1.107, allocations: 2.719 kB / 0.8116 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007092/1.108, allocations: 0.576 MB / 0.8121 GB, free: 24.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.108, allocations: 11.89 kB / 0.8122 GB, free: 24.68 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.763e-05/1.108, allocations: 59.27 kB / 0.8122 GB, free: 24.62 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/1.108, allocations: 77.11 kB / 0.8123 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/1.108, allocations: 2.812 kB / 0.8123 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.133e-05/1.108, allocations: 7.781 kB / 0.8123 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/1.108, allocations: 3.953 kB / 0.8123 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/1.108, allocations: 4 kB / 0.8123 GB, free: 24.51 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.232e-05/1.108, allocations: 86.44 kB / 0.8124 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.323e-06/1.108, allocations: 0 / 0.8124 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002786/1.108, allocations: 15.53 kB / 0.8124 GB, free: 24.43 MB / 0.6511 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.0005167/1.109, allocations: 0.6195 MB / 0.813 GB, free: 23.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002318/1.109, allocations: 17.12 kB / 0.813 GB, free: 23.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.109, allocations: 3.938 kB / 0.813 GB, free: 23.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/1.109, allocations: 11.22 kB / 0.813 GB, free: 23.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/1.109, allocations: 0 / 0.813 GB, free: 23.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/1.11, allocations: 85.91 kB / 0.8131 GB, free: 23.71 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/1.11, allocations: 0.6761 MB / 0.8138 GB, free: 23.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.245e-05/1.11, allocations: 4.125 kB / 0.8138 GB, free: 23.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/1.11, allocations: 7.438 kB / 0.8138 GB, free: 23.01 MB / 0.6511 GB Notification: Performance of SimCode: time 6.82e-07/1.11, allocations: 0 / 0.8138 GB, free: 23.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/1.137, allocations: 1.142 MB / 0.8149 GB, free: 22.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000261/1.138, allocations: 223.8 kB / 0.8151 GB, free: 22.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/3.573, allocations: 0 / 0.8151 GB, free: 22.54 MB / 0.6511 GB