Running command: "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.497/3.497, allocations: 343.8 MB / 355.9 MB, free: 9.391 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.909e-05/4.927e-05, allocations: 4 kB / 436.7 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1956, allocations: 77.73 MB / 0.5023 GB, free: 4.484 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6923/0.888, allocations: 106.1 MB / 0.6059 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005566/0.8886, allocations: 79.95 kB / 0.606 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01995/0.9086, allocations: 3.443 MB / 0.6094 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9087, allocations: 0 / 0.6094 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.9087, allocations: 4 kB / 0.6094 GB, free: 11.3 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.0004015/0.9091, allocations: 342.4 kB / 0.6097 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.9092, allocations: 11.97 kB / 0.6097 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.998e-05/0.9093, allocations: 34.56 kB / 0.6097 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.9093, allocations: 3.953 kB / 0.6098 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.9094, allocations: 159.1 kB / 0.6099 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.9095, allocations: 0 / 0.6099 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.9095, allocations: 4 kB / 0.6099 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.9096, allocations: 33.69 kB / 0.6099 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.9096, allocations: 0 / 0.6099 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.9096, allocations: 0 / 0.6099 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.9097, allocations: 4 kB / 0.6099 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.395e-05/0.9097, allocations: 3.984 kB / 0.6099 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.9099, allocations: 157.6 kB / 0.6101 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.192e-05/0.91, allocations: 26.55 kB / 0.6101 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.91, allocations: 8.922 kB / 0.6101 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.9101, allocations: 4 kB / 0.6101 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.9101, allocations: 30.56 kB / 0.6102 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.9101, allocations: 4 kB / 0.6102 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.000151/0.9103, allocations: 33.7 kB / 0.6102 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.9103, allocations: 55.41 kB / 0.6103 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.673e-05/0.9104, allocations: 88.98 kB / 0.6103 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.9105, allocations: 25.7 kB / 0.6104 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.9105, allocations: 84.3 kB / 0.6104 GB, free: 10 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.9106, allocations: 7.906 kB / 0.6105 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.9106, allocations: 0 / 0.6105 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.9107, allocations: 319.3 kB / 0.6108 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.9108, allocations: 3.938 kB / 0.6108 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/0.9108, allocations: 4 kB / 0.6108 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.313e-05/0.9108, allocations: 4 kB / 0.6108 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9108, allocations: 0 / 0.6108 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.684e-05/0.9109, allocations: 41.75 kB / 0.6108 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.911, allocations: 4 kB / 0.6108 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.911, allocations: 0 / 0.6108 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.911, allocations: 3.938 kB / 0.6108 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.9112, allocations: 8 kB / 0.6108 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005031/0.9118, allocations: 0.5975 MB / 0.6114 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.823e-05/0.9118, allocations: 7.969 kB / 0.6114 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.9118, allocations: 4.125 kB / 0.6114 GB, free: 8.965 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 8.981e-05/0.9119, allocations: 104.7 kB / 0.6115 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.912, allocations: 0 / 0.6115 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.9121, allocations: 44.81 kB / 0.6116 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.9121, allocations: 4 kB / 0.6116 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.9122, allocations: 3.953 kB / 0.6116 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.9122, allocations: 0 / 0.6116 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.9123, allocations: 141.7 kB / 0.6117 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.9123, allocations: 12.02 kB / 0.6117 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.9125, allocations: 8 kB / 0.6117 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.9125, allocations: 0 / 0.6117 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-06/0.9125, allocations: 0 / 0.6117 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004194/0.913, allocations: 0.5898 MB / 0.6123 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.913, allocations: 0 / 0.6123 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.9131, allocations: 65.56 kB / 0.6124 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.9132, allocations: 85.02 kB / 0.6124 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.9132, allocations: 7.953 kB / 0.6124 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.165e-05/0.9132, allocations: 0 / 0.6124 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.9132, allocations: 3.984 kB / 0.6125 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.9133, allocations: 0 / 0.6125 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.066e-05/0.9133, allocations: 79.28 kB / 0.6125 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9133, allocations: 128 / 0.6125 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002949/0.9136, allocations: 19.94 kB / 0.6125 GB, free: 7.684 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.0005309/0.9142, allocations: 0.6163 MB / 0.6131 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002603/0.9144, allocations: 16 kB / 0.6132 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.9145, allocations: 4.094 kB / 0.6132 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.9146, allocations: 11.98 kB / 0.6132 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.9148, allocations: 10.52 kB / 0.6132 GB, free: 7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.9152, allocations: 95.14 kB / 0.6133 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.9154, allocations: 0.677 MB / 0.6139 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.741e-05/0.9155, allocations: 0 / 0.6139 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.9155, allocations: 7.438 kB / 0.6139 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of SimCode: time 9.51e-07/0.9155, allocations: 4.062 kB / 0.614 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.9399, allocations: 1.131 MB / 0.6151 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003433/0.9403, allocations: 217.4 kB / 0.6153 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/3.355, allocations: 0 / 0.6153 GB, free: 4.93 MB / 0.4948 GB