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.01571/0.01571, allocations: 108.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.001792/0.001792, allocations: 184.4 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 1.915/1.915, allocations: 194.6 MB / 211.3 MB, free: 11.29 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.491/2.491, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004666, allocations: 12 kB / 0.5869 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5998/0.6002, allocations: 98.71 MB / 0.6833 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001207/0.6015, allocations: 0.9567 MB / 0.6843 GB, free: 16.09 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0005535/0.6021, allocations: 310.1 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.893e-05/0.6021, allocations: 1.531 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.6021, allocations: 0 / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.727e-05/0.6022, allocations: 5.016 kB / 0.6846 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.6025, allocations: 63.83 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 3.793e-05/0.6026, allocations: 14.3 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.409e-05/0.6026, allocations: 2.109 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 1.794e-05/0.6027, allocations: 2.594 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.987e-05/0.6027, allocations: 4.094 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.6027, allocations: 1.094 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003563/0.6031, allocations: 181.6 kB / 0.6848 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.435e-06/0.6031, allocations: 8.625 kB / 0.6848 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.6032, allocations: 27.11 kB / 0.6849 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.6033, allocations: 43.36 kB / 0.6849 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.6033, allocations: 0 / 0.6849 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.791e-06/0.6034, allocations: 4 kB / 0.6849 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.123e-06/0.6034, allocations: 3.938 kB / 0.6849 GB, free: 15.74 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.0002612/0.6036, allocations: 331.2 kB / 0.6852 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.6037, allocations: 8.5 kB / 0.6852 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.6037, allocations: 1.125 kB / 0.6852 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.919e-05/0.6038, allocations: 165.7 kB / 0.6854 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.6038, allocations: 0 / 0.6854 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.6039, allocations: 1.281 kB / 0.6854 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.052e-05/0.6039, allocations: 38.72 kB / 0.6854 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.604, allocations: 0.5156 kB / 0.6854 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.648e-06/0.604, allocations: 0 / 0.6854 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.604, allocations: 1 kB / 0.6854 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.934e-05/0.604, allocations: 3.984 kB / 0.6854 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.6042, allocations: 158 kB / 0.6856 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.375e-05/0.6042, allocations: 25.34 kB / 0.6856 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.6043, allocations: 0.7031 kB / 0.6856 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/0.6043, allocations: 40.09 kB / 0.6857 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.886e-06/0.6043, allocations: 0 / 0.6857 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001276/0.6044, allocations: 36.88 kB / 0.6857 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.6045, allocations: 57.08 kB / 0.6857 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.224e-05/0.6045, allocations: 97.42 kB / 0.6858 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.358e-06/0.6045, allocations: 25.7 kB / 0.6859 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.994e-05/0.6046, allocations: 82.48 kB / 0.6859 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.6046, allocations: 8.703 kB / 0.6859 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.6046, allocations: 1.094 kB / 0.6859 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.196e-05/0.6047, allocations: 315.5 kB / 0.6862 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.6047, allocations: 10.41 kB / 0.6863 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.244e-05/0.6047, allocations: 1.844 kB / 0.6863 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.336e-05/0.6048, allocations: 3.797 kB / 0.6863 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6048, allocations: 0 / 0.6863 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.028e-05/0.6049, allocations: 36.33 kB / 0.6863 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.6049, allocations: 8.875 kB / 0.6863 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.394e-06/0.6049, allocations: 0.6562 kB / 0.6863 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.6049, allocations: 1 kB / 0.6863 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.6051, allocations: 17.25 kB / 0.6863 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002782/0.6054, allocations: 0.5881 MB / 0.6869 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.769e-05/0.6054, allocations: 9.016 kB / 0.6869 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.6055, allocations: 5.406 kB / 0.6869 GB, free: 13.58 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.661e-05/0.6055, allocations: 111.7 kB / 0.687 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.6056, allocations: 0.9062 kB / 0.687 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.6057, allocations: 48.97 kB / 0.6871 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.379e-06/0.6057, allocations: 0 / 0.6871 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.255e-06/0.6057, allocations: 0.7031 kB / 0.6871 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.815e-06/0.6057, allocations: 5.359 kB / 0.6871 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.308e-05/0.6058, allocations: 154.9 kB / 0.6872 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.431e-06/0.6058, allocations: 0 / 0.6872 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.679e-05/0.6059, allocations: 15 kB / 0.6872 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.933e-06/0.6059, allocations: 0 / 0.6872 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.046e-06/0.6059, allocations: 4 kB / 0.6872 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002277/0.6062, allocations: 0.5844 MB / 0.6878 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.968e-06/0.6062, allocations: 0 / 0.6878 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.983e-05/0.6063, allocations: 73.86 kB / 0.6879 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.6063, allocations: 77.67 kB / 0.688 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.6063, allocations: 1.922 kB / 0.688 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.081e-05/0.6064, allocations: 0 / 0.688 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.6064, allocations: 5.578 kB / 0.688 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.425e-06/0.6064, allocations: 1.906 kB / 0.688 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.388e-05/0.6065, allocations: 78.19 kB / 0.688 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.63e-07/0.6065, allocations: 0 / 0.688 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002599/0.6067, allocations: 10.38 kB / 0.688 GB, free: 12.37 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.0001505/0.6069, allocations: 117.5 kB / 0.6882 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001863/0.6071, allocations: 21.2 kB / 0.6882 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3e-06/0.6071, allocations: 0 / 0.6882 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.6072, allocations: 17.58 kB / 0.6882 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.6074, allocations: 8.797 kB / 0.6882 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.6077, allocations: 111.7 kB / 0.6883 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.6078, allocations: 0.6764 MB / 0.689 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.82e-05/0.6078, allocations: 0.6562 kB / 0.689 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.148e-05/0.6079, allocations: 9.031 kB / 0.689 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of SimCode: time 1.287e-06/0.6079, allocations: 0 / 0.689 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of Templates: time 0.002654/0.6105, allocations: 410.5 kB / 0.6894 GB, free: 11.37 MB / 0.5261 GB