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.01761/0.01761, allocations: 222.8 kB / 15.17 MB, free: 5.992 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.00169/0.00169, allocations: 179 kB / 16.06 MB, free: 5.867 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 3.846/3.846, allocations: 389 MB / 405.9 MB, free: 13.35 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.203/4.203, allocations: 472.3 MB / 0.9017 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004764, allocations: 12 kB / 1.008 GB, free: 21.56 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6382/0.6387, allocations: 98.71 MB / 1.104 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001337/0.6401, allocations: 0.9572 MB / 1.105 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0005973/0.6407, allocations: 300.6 kB / 1.105 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.089e-05/0.6407, allocations: 0 / 1.105 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.238e-05/0.6408, allocations: 0 / 1.105 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.723e-05/0.6408, allocations: 3.938 kB / 1.105 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.6412, allocations: 53.66 kB / 1.105 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.787e-05/0.6412, allocations: 4 kB / 1.105 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.6413, allocations: 7.938 kB / 1.105 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.203e-05/0.6414, allocations: 8.578 kB / 1.105 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.697e-05/0.6414, allocations: 7.984 kB / 1.105 GB, free: 9.375 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.6414, allocations: 5.906 kB / 1.105 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.6418, allocations: 159.7 kB / 1.106 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.847e-06/0.6418, allocations: 3.984 kB / 1.106 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.6418, allocations: 29.7 kB / 1.106 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.642, allocations: 45.5 kB / 1.106 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.642, allocations: 0.6875 kB / 1.106 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.024e-06/0.642, allocations: 0 / 1.106 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.642, allocations: 2.188 kB / 1.106 GB, free: 9.133 MB / 0.5105 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.0003171/0.6423, allocations: 331.3 kB / 1.106 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.6424, allocations: 8.031 kB / 1.106 GB, free: 8.754 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.939e-05/0.6424, allocations: 30.56 kB / 1.106 GB, free: 8.715 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.6425, allocations: 7.938 kB / 1.106 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.825e-05/0.6426, allocations: 171.9 kB / 1.106 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.6426, allocations: 0.5 kB / 1.106 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.6426, allocations: 3.984 kB / 1.106 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.593e-05/0.6427, allocations: 31.52 kB / 1.106 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.6427, allocations: 0 / 1.106 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.6428, allocations: 0 / 1.106 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.6428, allocations: 0 / 1.106 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.055e-05/0.6428, allocations: 4.75 kB / 1.106 GB, free: 8.457 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.643, allocations: 159 kB / 1.106 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.466e-05/0.643, allocations: 26.55 kB / 1.106 GB, free: 8.219 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.45e-05/0.6431, allocations: 9.516 kB / 1.106 GB, free: 8.207 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.6431, allocations: 0.9062 kB / 1.106 GB, free: 8.207 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.6431, allocations: 37.7 kB / 1.106 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.6431, allocations: 0 / 1.106 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001482/0.6433, allocations: 41.7 kB / 1.106 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.6433, allocations: 55.34 kB / 1.107 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.023e-05/0.6434, allocations: 89.86 kB / 1.107 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.6434, allocations: 25.7 kB / 1.107 GB, free: 7.922 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.118e-05/0.6434, allocations: 89.06 kB / 1.107 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.6435, allocations: 11.84 kB / 1.107 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.6435, allocations: 0.5 kB / 1.107 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.681e-05/0.6435, allocations: 315.3 kB / 1.107 GB, free: 7.504 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.6436, allocations: 4.938 kB / 1.107 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.344e-05/0.6436, allocations: 1.062 kB / 1.107 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.094e-05/0.6436, allocations: 4 kB / 1.107 GB, free: 7.496 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6436, allocations: 0.5938 kB / 1.107 GB, free: 7.496 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.318e-05/0.6437, allocations: 42.38 kB / 1.107 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.6437, allocations: 4 kB / 1.107 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6438, allocations: 5.016 kB / 1.107 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.6438, allocations: 0 / 1.107 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.644, allocations: 11.94 kB / 1.107 GB, free: 7.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003105/0.6443, allocations: 0.6039 MB / 1.108 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.622e-05/0.6444, allocations: 0 / 1.108 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.6444, allocations: 0 / 1.108 GB, free: 6.805 MB / 0.5105 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 6.568e-05/0.6445, allocations: 111.7 kB / 1.108 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-06/0.6445, allocations: 4.031 kB / 1.108 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.6446, allocations: 51.5 kB / 1.108 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.6446, allocations: 4 kB / 1.108 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.6446, allocations: 0 / 1.108 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.6447, allocations: 3.953 kB / 1.108 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.557e-05/0.6447, allocations: 149.7 kB / 1.108 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6448, allocations: 0 / 1.108 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.6449, allocations: 8 kB / 1.108 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.6449, allocations: 0 / 1.108 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.6449, allocations: 1.531 kB / 1.108 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000237/0.6452, allocations: 0.5871 MB / 1.109 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6452, allocations: 0 / 1.109 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.93e-05/0.6453, allocations: 75.7 kB / 1.109 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.6453, allocations: 77.11 kB / 1.109 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.6453, allocations: 3.984 kB / 1.109 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.204e-05/0.6454, allocations: 3.953 kB / 1.109 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.6454, allocations: 1 kB / 1.109 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.6454, allocations: 4 kB / 1.109 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.507e-05/0.6455, allocations: 76.72 kB / 1.109 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.7e-07/0.6455, allocations: 0 / 1.109 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002464/0.6457, allocations: 12 kB / 1.109 GB, free: 5.531 MB / 0.5105 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.0003379/0.6461, allocations: 0.6226 MB / 1.109 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002173/0.6463, allocations: 16 kB / 1.109 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6463, allocations: 0 / 1.109 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.6465, allocations: 15.98 kB / 1.109 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.6467, allocations: 6.766 kB / 1.109 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004546/0.6471, allocations: 144.9 kB / 1.11 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.6473, allocations: 0.6809 MB / 1.11 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.197e-05/0.6473, allocations: 0 / 1.11 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.6473, allocations: 11.38 kB / 1.11 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of SimCode: time 6.42e-07/0.6473, allocations: 0 / 1.11 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.6723, allocations: 1.173 MB / 1.111 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002808/0.6727, allocations: 264.2 kB / 1.112 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/3.056, allocations: 0 / 1.112 GB, free: 2.629 MB / 0.5105 GB