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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009475/0.009475, allocations: 112.2 kB / 15.06 MB, free: 5.562 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.001147/0.001147, allocations: 179.1 kB / 15.95 MB, free: 5.523 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.158/2.158, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.438/2.438, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004746, allocations: 12 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.544/0.5445, allocations: 98.71 MB / 0.6833 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001225/0.5457, allocations: 0.9596 MB / 0.6843 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0005547/0.5463, allocations: 284.9 kB / 0.6845 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.5464, allocations: 0 / 0.6845 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.5464, allocations: 0 / 0.6845 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.498e-05/0.5464, allocations: 6.094 kB / 0.6846 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.5468, allocations: 58.3 kB / 0.6846 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 3.945e-05/0.5468, allocations: 8.328 kB / 0.6846 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.16e-05/0.5469, allocations: 1.094 kB / 0.6846 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 2.045e-05/0.5469, allocations: 6.844 kB / 0.6846 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.911e-05/0.547, allocations: 6.969 kB / 0.6846 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.547, allocations: 5.156 kB / 0.6846 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000345/0.5473, allocations: 176.8 kB / 0.6848 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.784e-06/0.5474, allocations: 2.188 kB / 0.6848 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.88e-05/0.5474, allocations: 26.89 kB / 0.6848 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.5475, allocations: 41.86 kB / 0.6849 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.612e-06/0.5476, allocations: 0 / 0.6849 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.999e-06/0.5476, allocations: 0 / 0.6849 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.76e-06/0.5476, allocations: 1.562 kB / 0.6849 GB, free: 15.66 MB / 0.5261 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.0002726/0.5479, allocations: 337.3 kB / 0.6852 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.5479, allocations: 12.91 kB / 0.6852 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.5479, allocations: 9.031 kB / 0.6852 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.488e-05/0.548, allocations: 166 kB / 0.6854 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.5481, allocations: 1.469 kB / 0.6854 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.5481, allocations: 0 / 0.6854 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.076e-05/0.5482, allocations: 37.95 kB / 0.6854 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.304e-06/0.5482, allocations: 0.8438 kB / 0.6854 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.911e-06/0.5482, allocations: 0 / 0.6854 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.753e-06/0.5482, allocations: 1.438 kB / 0.6854 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.956e-05/0.5483, allocations: 7.406 kB / 0.6854 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001212/0.5484, allocations: 159.4 kB / 0.6856 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.967e-05/0.5484, allocations: 20.28 kB / 0.6856 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.5485, allocations: 0.9844 kB / 0.6856 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.5485, allocations: 35.59 kB / 0.6856 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.831e-06/0.5485, allocations: 0 / 0.6856 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001306/0.5486, allocations: 41.36 kB / 0.6857 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.062e-05/0.5487, allocations: 56.47 kB / 0.6857 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.425e-05/0.5487, allocations: 93.2 kB / 0.6858 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.164e-06/0.5488, allocations: 27.02 kB / 0.6858 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.832e-05/0.5488, allocations: 84.89 kB / 0.6859 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.5488, allocations: 9.094 kB / 0.6859 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-06/0.5488, allocations: 0 / 0.6859 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.053e-05/0.5489, allocations: 317 kB / 0.6862 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.5489, allocations: 2.078 kB / 0.6862 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.238e-05/0.5489, allocations: 10.75 kB / 0.6862 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.252e-05/0.549, allocations: 7.469 kB / 0.6862 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.088e-06/0.549, allocations: 0 / 0.6862 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.54e-05/0.5491, allocations: 35.89 kB / 0.6863 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.5491, allocations: 5.5 kB / 0.6863 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.5491, allocations: 1.172 kB / 0.6863 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5491, allocations: 0 / 0.6863 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.5493, allocations: 9.031 kB / 0.6863 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002804/0.5496, allocations: 0.5929 MB / 0.6869 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/0.5496, allocations: 3.953 kB / 0.6869 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.5497, allocations: 1.062 kB / 0.6869 GB, free: 13.49 MB / 0.5261 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.966e-05/0.5497, allocations: 112.6 kB / 0.687 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.5497, allocations: 5.219 kB / 0.687 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.5499, allocations: 48 kB / 0.687 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.355e-06/0.5499, allocations: 0 / 0.687 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.14e-06/0.5499, allocations: 1.25 kB / 0.687 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.601e-06/0.5499, allocations: 0.9844 kB / 0.687 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.209e-05/0.55, allocations: 154.7 kB / 0.6872 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.868e-06/0.55, allocations: 0 / 0.6872 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.525e-05/0.5501, allocations: 10.53 kB / 0.6872 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.72e-06/0.5501, allocations: 1 kB / 0.6872 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.079e-06/0.5501, allocations: 1.062 kB / 0.6872 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002495/0.5504, allocations: 0.5954 MB / 0.6878 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.905e-06/0.5504, allocations: 0 / 0.6878 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.874e-05/0.5505, allocations: 66.31 kB / 0.6878 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/0.5505, allocations: 77.77 kB / 0.6879 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.5506, allocations: 1.344 kB / 0.6879 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.113e-05/0.5506, allocations: 0.6562 kB / 0.6879 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.5506, allocations: 14.69 kB / 0.6879 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.155e-06/0.5506, allocations: 4 kB / 0.6879 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.252e-05/0.5507, allocations: 76.91 kB / 0.688 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.01e-07/0.5507, allocations: 1.094 kB / 0.688 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002956/0.551, allocations: 7.094 kB / 0.688 GB, free: 12.28 MB / 0.5261 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.0001501/0.5511, allocations: 112.7 kB / 0.6881 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001891/0.5513, allocations: 24.33 kB / 0.6882 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.924e-06/0.5514, allocations: 0 / 0.6882 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.5515, allocations: 14.95 kB / 0.6882 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/0.5516, allocations: 1.125 kB / 0.6882 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.5519, allocations: 116.8 kB / 0.6883 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.552, allocations: 0.68 MB / 0.6889 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.298e-05/0.5521, allocations: 0.7031 kB / 0.6889 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.366e-05/0.5521, allocations: 8.969 kB / 0.689 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of SimCode: time 1.235e-06/0.5521, allocations: 0 / 0.689 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of Templates: time 0.002758/0.5549, allocations: 427.5 kB / 0.6894 GB, free: 11.27 MB / 0.5261 GB