Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.309/4.309, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.015e-05/4.025e-05, allocations: 4 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6312/0.6312, allocations: 92.68 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2248/0.8561, allocations: 121.8 MB / 0.7086 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/0.8565, allocations: 87.92 kB / 0.7087 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02765/0.8842, allocations: 5.312 MB / 0.7139 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8842, allocations: 0 / 0.7139 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.8843, allocations: 8 kB / 0.7139 GB, free: 15.03 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004549/0.8847, allocations: 358.4 kB / 0.7142 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.8848, allocations: 12.03 kB / 0.7142 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.8849, allocations: 30.56 kB / 0.7142 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.8849, allocations: 4 kB / 0.7143 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.885, allocations: 167.1 kB / 0.7144 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.8851, allocations: 7.938 kB / 0.7144 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.8851, allocations: 0 / 0.7144 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.8867, allocations: 141.6 kB / 0.7146 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.8867, allocations: 0 / 0.7146 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.8867, allocations: 11.95 kB / 0.7146 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.8867, allocations: 0 / 0.7146 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.8882, allocations: 115.8 kB / 0.7147 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.8886, allocations: 252.8 kB / 0.7149 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.8902, allocations: 146.5 kB / 0.7151 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.784e-05/0.8903, allocations: 20.92 kB / 0.7151 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005721/0.8908, allocations: 194.2 kB / 0.7153 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.8909, allocations: 34.55 kB / 0.7153 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 2.525e-06/0.8909, allocations: 0 / 0.7153 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.002864/0.8938, allocations: 261.3 kB / 0.7155 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.8938, allocations: 51.41 kB / 0.7156 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.995e-05/0.894, allocations: 92.94 kB / 0.7157 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.894, allocations: 29.7 kB / 0.7157 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.8941, allocations: 80.14 kB / 0.7158 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.8941, allocations: 15.8 kB / 0.7158 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-06/0.8941, allocations: 0 / 0.7158 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.8942, allocations: 318.8 kB / 0.7161 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.633e-05/0.8943, allocations: 12 kB / 0.7161 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.411e-05/0.8944, allocations: 25.72 kB / 0.7161 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.52e-05/0.8945, allocations: 11.98 kB / 0.7162 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.8945, allocations: 7.938 kB / 0.7162 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002192/0.8947, allocations: 65.61 kB / 0.7162 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.8948, allocations: 11.95 kB / 0.7162 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.8948, allocations: 4.031 kB / 0.7162 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.8948, allocations: 0 / 0.7162 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.8952, allocations: 23.97 kB / 0.7163 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.8952, allocations: 4 kB / 0.7163 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.8955, allocations: 15.89 kB / 0.7163 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.8955, allocations: 8 kB / 0.7163 GB, free: 12.28 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.753e-05/0.8956, allocations: 108.5 kB / 0.7164 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.8957, allocations: 4 kB / 0.7164 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.8957, allocations: 7.453 kB / 0.7164 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.8957, allocations: 0 / 0.7164 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.8958, allocations: 0 / 0.7164 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.8958, allocations: 3.984 kB / 0.7164 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.896, allocations: 169.6 kB / 0.7166 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.896, allocations: 0 / 0.7166 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.8964, allocations: 27.97 kB / 0.7166 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.8964, allocations: 3.938 kB / 0.7166 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.8964, allocations: 0 / 0.7166 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.8965, allocations: 11.94 kB / 0.7166 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8965, allocations: 128 / 0.7166 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.8967, allocations: 155.5 kB / 0.7168 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.8968, allocations: 92.95 kB / 0.7168 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.8968, allocations: 0 / 0.7168 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.8971, allocations: 15.98 kB / 0.7169 GB, free: 11.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.8972, allocations: 7.938 kB / 0.7169 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.8972, allocations: 4 kB / 0.7169 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.6e-05/0.8973, allocations: 75.61 kB / 0.7169 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.4e-07/0.8973, allocations: 4 kB / 0.717 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003321/0.8976, allocations: 16 kB / 0.717 GB, free: 11.5 MB / 0.6042 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006099/0.8983, allocations: 0.7007 MB / 0.7176 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.8985, allocations: 35.92 kB / 0.7177 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.8985, allocations: 0 / 0.7177 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.182e-05/0.8986, allocations: 27.98 kB / 0.7177 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.8988, allocations: 4.812 kB / 0.7177 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006887/0.8995, allocations: 120.6 kB / 0.7178 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.8998, allocations: 0.6809 MB / 0.7185 GB, free: 9.844 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001575/0.8999, allocations: 12 kB / 0.7185 GB, free: 9.832 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.9, allocations: 11.42 kB / 0.7185 GB, free: 9.82 MB / 0.6042 GB Notification: Performance of SimCode: time 8.81e-07/0.9, allocations: 0 / 0.7185 GB, free: 9.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.9218, allocations: 1.187 MB / 0.7197 GB, free: 8.707 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003599/0.9222, allocations: 172.3 kB / 0.7198 GB, free: 8.488 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/3.132, allocations: 8 kB / 0.7198 GB, free: 8.48 MB / 0.6042 GB