Running command: "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.417/3.417, allocations: 343.7 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.093e-05/6.122e-05, allocations: 4 kB / 436.7 MB, free: 2.363 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2133, allocations: 77.72 MB / 0.5023 GB, free: 4.484 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7028/0.9161, allocations: 106 MB / 0.6058 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003489/0.9165, allocations: 79.94 kB / 0.6059 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01781/0.9344, allocations: 2.27 MB / 0.6081 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9344, allocations: 3.938 kB / 0.6081 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.9344, allocations: 0 / 0.6081 GB, free: 12.7 MB / 0.4948 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.0005001/0.9349, allocations: 330.5 kB / 0.6084 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.8e-05/0.935, allocations: 8.031 kB / 0.6084 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.473e-05/0.9351, allocations: 34.5 kB / 0.6085 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.9352, allocations: 7.953 kB / 0.6085 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.9353, allocations: 167.1 kB / 0.6086 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.9354, allocations: 0 / 0.6086 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.9354, allocations: 0 / 0.6086 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.9355, allocations: 33.7 kB / 0.6087 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.9355, allocations: 0 / 0.6087 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.9356, allocations: 0 / 0.6087 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.9356, allocations: 0 / 0.6087 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.151e-05/0.9356, allocations: 4 kB / 0.6087 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.9359, allocations: 161.6 kB / 0.6088 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.673e-05/0.936, allocations: 26.55 kB / 0.6089 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.567e-05/0.936, allocations: 8.922 kB / 0.6089 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.9361, allocations: 0 / 0.6089 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.9361, allocations: 34.56 kB / 0.6089 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.823e-06/0.9362, allocations: 0 / 0.6089 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001678/0.9363, allocations: 37.69 kB / 0.6089 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.9364, allocations: 55.44 kB / 0.609 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.455e-05/0.9365, allocations: 89 kB / 0.6091 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.9365, allocations: 25.7 kB / 0.6091 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.9366, allocations: 84.14 kB / 0.6092 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.9367, allocations: 3.906 kB / 0.6092 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-06/0.9367, allocations: 0 / 0.6092 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.9369, allocations: 318.8 kB / 0.6095 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/0.9369, allocations: 3.938 kB / 0.6095 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.821e-05/0.9369, allocations: 8.125 kB / 0.6095 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.9e-05/0.937, allocations: 0 / 0.6095 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.937, allocations: 3.938 kB / 0.6095 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001262/0.9371, allocations: 45.69 kB / 0.6095 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.9372, allocations: 4.625 kB / 0.6095 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.9372, allocations: 0 / 0.6095 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.9372, allocations: 0 / 0.6095 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.9375, allocations: 11.98 kB / 0.6096 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000582/0.9381, allocations: 0.5899 MB / 0.6101 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.529e-05/0.9381, allocations: 3.938 kB / 0.6101 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.9382, allocations: 4.031 kB / 0.6101 GB, free: 10.38 MB / 0.4948 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 0.0001068/0.9383, allocations: 101 kB / 0.6102 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.9383, allocations: 0 / 0.6102 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.9385, allocations: 48.75 kB / 0.6103 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/0.9385, allocations: 4.125 kB / 0.6103 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.9386, allocations: 3.953 kB / 0.6103 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.9386, allocations: 4 kB / 0.6103 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.9388, allocations: 149.7 kB / 0.6104 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.9388, allocations: 4 kB / 0.6104 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.9391, allocations: 8 kB / 0.6105 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.9391, allocations: 0 / 0.6105 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.9392, allocations: 7.984 kB / 0.6105 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000482/0.9397, allocations: 0.5898 MB / 0.611 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.9397, allocations: 0 / 0.611 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.9398, allocations: 57.17 kB / 0.6111 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.9399, allocations: 85 kB / 0.6112 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.9399, allocations: 7.953 kB / 0.6112 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.383e-05/0.9399, allocations: 0 / 0.6112 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/0.94, allocations: 0 / 0.6112 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.94, allocations: 4.125 kB / 0.6112 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.94, allocations: 79.28 kB / 0.6113 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.11e-07/0.94, allocations: 0 / 0.6113 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002767/0.9403, allocations: 12 kB / 0.6113 GB, free: 9.098 MB / 0.4948 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.0005565/0.9409, allocations: 0.6242 MB / 0.6119 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002574/0.9412, allocations: 12 kB / 0.6119 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.9412, allocations: 0 / 0.6119 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.9413, allocations: 16.45 kB / 0.6119 GB, free: 8.418 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.9415, allocations: 7.953 kB / 0.6119 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.9419, allocations: 83.2 kB / 0.612 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.9422, allocations: 0.6772 MB / 0.6127 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.203e-05/0.9422, allocations: 4 kB / 0.6127 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.9422, allocations: 7.438 kB / 0.6127 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of SimCode: time 1.122e-06/0.9423, allocations: 0 / 0.6127 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.9673, allocations: 1.151 MB / 0.6138 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003655/0.9677, allocations: 232.2 kB / 0.614 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/3.33, allocations: 0 / 0.614 GB, free: 6.332 MB / 0.4948 GB