Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01737/0.01737, allocations: 107.6 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001928/0.001928, allocations: 187.5 kB / 15.95 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.082/2.082, allocations: 194.6 MB / 211.3 MB, free: 11.3 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.509/2.509, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007426/0.0007429, allocations: 16 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7539/0.7547, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2635/1.018, allocations: 125 MB / 0.8055 GB, free: 1.305 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004336/1.019, allocations: 83.94 kB / 0.8055 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01673/1.036, allocations: 2.265 MB / 0.8078 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.366e-06/1.036, allocations: 0 / 0.8078 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.058e-05/1.036, allocations: 0 / 0.8078 GB, free: 14.95 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.000566/1.036, allocations: 335.4 kB / 0.8081 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.687e-05/1.036, allocations: 12.03 kB / 0.8081 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.13e-05/1.036, allocations: 30.56 kB / 0.8081 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/1.036, allocations: 3.953 kB / 0.8081 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/1.037, allocations: 171 kB / 0.8083 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/1.037, allocations: 7.938 kB / 0.8083 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/1.037, allocations: 0 / 0.8083 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/1.037, allocations: 33.7 kB / 0.8083 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/1.037, allocations: 0 / 0.8083 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/1.037, allocations: 0 / 0.8083 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.037, allocations: 0 / 0.8083 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.468e-05/1.037, allocations: 4 kB / 0.8083 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/1.037, allocations: 153.6 kB / 0.8085 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.774e-05/1.037, allocations: 36.97 kB / 0.8085 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/1.037, allocations: 0 / 0.8085 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/1.038, allocations: 30.56 kB / 0.8085 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.853e-06/1.038, allocations: 3.938 kB / 0.8085 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002336/1.038, allocations: 41.75 kB / 0.8086 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/1.038, allocations: 55.41 kB / 0.8086 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/1.038, allocations: 89.12 kB / 0.8087 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/1.038, allocations: 25.7 kB / 0.8087 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/1.038, allocations: 84.14 kB / 0.8088 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/1.038, allocations: 7.906 kB / 0.8088 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-06/1.038, allocations: 0 / 0.8088 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001748/1.038, allocations: 318.8 kB / 0.8091 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.65e-05/1.038, allocations: 3.938 kB / 0.8091 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.852e-05/1.038, allocations: 4 kB / 0.8091 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.098e-05/1.039, allocations: 8.188 kB / 0.8092 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/1.039, allocations: 4 kB / 0.8092 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001499/1.039, allocations: 33.7 kB / 0.8092 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/1.039, allocations: 4 kB / 0.8092 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.039, allocations: 0 / 0.8092 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/1.039, allocations: 3.984 kB / 0.8092 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/1.039, allocations: 8 kB / 0.8092 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006768/1.04, allocations: 0.5937 MB / 0.8098 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.452e-05/1.04, allocations: 0 / 0.8098 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/1.04, allocations: 4.031 kB / 0.8098 GB, free: 12.63 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 () * Number of clocked 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.0001355/1.04, allocations: 113.8 kB / 0.8099 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/1.04, allocations: 0 / 0.8099 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/1.04, allocations: 40.83 kB / 0.8099 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/1.04, allocations: 7.969 kB / 0.8099 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/1.04, allocations: 8.125 kB / 0.81 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/1.04, allocations: 3.953 kB / 0.81 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/1.041, allocations: 145.7 kB / 0.8101 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/1.041, allocations: 4 kB / 0.8101 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/1.041, allocations: 15.92 kB / 0.8101 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/1.041, allocations: 4 kB / 0.8101 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/1.041, allocations: 0 / 0.8101 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005893/1.041, allocations: 0.5899 MB / 0.8107 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/1.042, allocations: 3.938 kB / 0.8107 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/1.042, allocations: 65.06 kB / 0.8108 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.289e-05/1.042, allocations: 81.11 kB / 0.8108 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/1.042, allocations: 3.938 kB / 0.8108 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/1.042, allocations: 7.891 kB / 0.8108 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/1.042, allocations: 0 / 0.8108 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/1.042, allocations: 0 / 0.8108 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.993e-05/1.042, allocations: 87.36 kB / 0.8109 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.91e-07/1.042, allocations: 0 / 0.8109 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000475/1.042, allocations: 12 kB / 0.8109 GB, free: 11.32 MB / 0.6355 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 () * Number of clocked 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.0007387/1.043, allocations: 0.6165 MB / 0.8115 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003522/1.044, allocations: 23.25 kB / 0.8116 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.044, allocations: 0 / 0.8116 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001746/1.044, allocations: 11.98 kB / 0.8116 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/1.044, allocations: 3.953 kB / 0.8116 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007514/1.045, allocations: 145.6 kB / 0.8117 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/1.045, allocations: 0.677 MB / 0.8124 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.045e-05/1.045, allocations: 0 / 0.8124 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/1.045, allocations: 7.438 kB / 0.8124 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of SimCode: time 1.282e-06/1.045, allocations: 0 / 0.8124 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/1.069, allocations: 1.147 MB / 0.8135 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004323/1.07, allocations: 259.1 kB / 0.8138 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/3.554, allocations: 0 / 0.8138 GB, free: 8.445 MB / 0.6355 GB