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_dp.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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01031/0.01032, allocations: 223 kB / 15.17 MB, free: 5.996 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.001071/0.001071, allocations: 178.9 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.458/3.458, allocations: 389.1 MB / 405.9 MB, free: 13.32 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.08/4.08, allocations: 472.3 MB / 0.9018 GB, free: 3.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005318/0.0005319, allocations: 12 kB / 1.008 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5555/0.556, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001203/0.5573, allocations: 0.9693 MB / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000548/0.5579, allocations: 321.1 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.951e-05/0.5579, allocations: 0 / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.082e-05/0.5579, allocations: 0 / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.477e-05/0.558, allocations: 0.9688 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.5583, allocations: 64.05 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.828e-05/0.5583, allocations: 9.562 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.5584, allocations: 2.031 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 1.694e-05/0.5584, allocations: 6.656 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.772e-05/0.5585, allocations: 9.969 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.651e-06/0.5585, allocations: 0 / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003041/0.5588, allocations: 176.5 kB / 1.106 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.707e-06/0.5588, allocations: 0 / 1.106 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.496e-05/0.5588, allocations: 25.7 kB / 1.106 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.559, allocations: 45.3 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.914e-06/0.559, allocations: 0 / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.463e-06/0.559, allocations: 1.844 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.291e-06/0.559, allocations: 0 / 1.106 GB, free: 212 MB / 0.7292 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.000243/0.5593, allocations: 335.4 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.5593, allocations: 11.47 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.447e-05/0.5593, allocations: 2.844 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.415e-05/0.5594, allocations: 163 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.5594, allocations: 0 / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.444e-06/0.5594, allocations: 1.125 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.507e-05/0.5595, allocations: 39.17 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.676e-06/0.5596, allocations: 0 / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.919e-06/0.5596, allocations: 2.406 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.49e-06/0.5596, allocations: 0 / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.562e-05/0.5596, allocations: 4.438 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001129/0.5597, allocations: 158.1 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.942e-05/0.5598, allocations: 24.17 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.5598, allocations: 6.609 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.5599, allocations: 4 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.5599, allocations: 35.84 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.768e-06/0.5599, allocations: 0 / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001165/0.56, allocations: 40.69 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.771e-05/0.56, allocations: 51.41 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.781e-05/0.5601, allocations: 98.48 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.152e-06/0.5601, allocations: 30.61 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.65e-05/0.5601, allocations: 83.48 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.5602, allocations: 7.906 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.5602, allocations: 0 / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.5602, allocations: 321.5 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.315e-05/0.5603, allocations: 0 / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.01e-05/0.5603, allocations: 2.281 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.853e-05/0.5603, allocations: 6.75 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.5603, allocations: 3.375 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.23e-05/0.5604, allocations: 39.72 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.5604, allocations: 5.219 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.131e-06/0.5605, allocations: 0 / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.5605, allocations: 2.969 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.5606, allocations: 9.375 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002653/0.5609, allocations: 0.5923 MB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.561, allocations: 7.875 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.561, allocations: 0 / 1.108 GB, free: 209.9 MB / 0.7292 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 5.053e-05/0.561, allocations: 109.2 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.561, allocations: 0 / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.5612, allocations: 55.06 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-06/0.5612, allocations: 0 / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5612, allocations: 0 / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5612, allocations: 6.016 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.688e-05/0.5613, allocations: 150.3 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.674e-06/0.5613, allocations: 3.688 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.835e-05/0.5614, allocations: 11.47 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.311e-06/0.5614, allocations: 4.438 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.5614, allocations: 0 / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002189/0.5616, allocations: 0.5894 MB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.136e-06/0.5617, allocations: 0 / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.886e-05/0.5617, allocations: 65.77 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.5618, allocations: 79.42 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.5618, allocations: 0 / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.063e-05/0.5618, allocations: 3.953 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.5618, allocations: 9.531 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-06/0.5619, allocations: 0 / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.353e-05/0.5619, allocations: 90.62 kB / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.51e-07/0.5619, allocations: 0 / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000245/0.5622, allocations: 4.719 kB / 1.109 GB, free: 208.7 MB / 0.7292 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.0001352/0.5623, allocations: 121.6 kB / 1.109 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.5625, allocations: 16.97 kB / 1.109 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.5625, allocations: 2.938 kB / 1.109 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.5626, allocations: 19.7 kB / 1.109 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.5628, allocations: 1.312 kB / 1.109 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002556/0.5631, allocations: 108.2 kB / 1.109 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.5632, allocations: 0.6798 MB / 1.11 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.761e-05/0.5632, allocations: 1.078 kB / 1.11 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.155e-05/0.5632, allocations: 10.66 kB / 1.11 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of SimCode: time 1.28e-06/0.5632, allocations: 0 / 1.11 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of Templates: time 0.002577/0.5658, allocations: 416.8 kB / 1.11 GB, free: 207.8 MB / 0.7292 GB