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.004184/0.004183, allocations: 233.5 kB / 15.82 MB, free: 6.293 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.001097/0.001097, allocations: 174 kB / 16.7 MB, free: 5.449 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.871/3.871, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.916/3.916, allocations: 472.3 MB / 0.9024 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004656, allocations: 11.53 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1752, allocations: 98.72 MB / 1.105 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7987/0.974, allocations: 125 MB / 1.227 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004067/0.9745, allocations: 84.66 kB / 1.227 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01494/0.9895, allocations: 2.281 MB / 1.229 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.945e-06/0.9895, allocations: 0.5156 kB / 1.229 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.9895, allocations: 0 / 1.229 GB, free: 26.66 MB / 0.6198 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.0002953/0.9898, allocations: 334.9 kB / 1.229 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.9899, allocations: 8.031 kB / 1.229 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.9899, allocations: 0.9375 kB / 1.229 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.081e-05/0.99, allocations: 171.4 kB / 1.229 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.99, allocations: 4.094 kB / 1.229 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.9901, allocations: 0.5156 kB / 1.229 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.624e-05/0.9902, allocations: 34.8 kB / 1.23 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.9902, allocations: 0 / 1.23 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.9902, allocations: 0.5625 kB / 1.23 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.9902, allocations: 0 / 1.23 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.301e-05/0.9902, allocations: 8.547 kB / 1.23 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001369/0.9904, allocations: 162.5 kB / 1.23 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.367e-05/0.9905, allocations: 19.09 kB / 1.23 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.337e-05/0.9905, allocations: 13.14 kB / 1.23 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.9905, allocations: 0 / 1.23 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.9906, allocations: 35.28 kB / 1.23 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.9906, allocations: 0 / 1.23 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001439/0.9907, allocations: 46.72 kB / 1.23 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.9908, allocations: 55.41 kB / 1.23 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.864e-05/0.9908, allocations: 91.12 kB / 1.23 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.9909, allocations: 29 kB / 1.23 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.9909, allocations: 83.83 kB / 1.23 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.991, allocations: 6.906 kB / 1.23 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.991, allocations: 0 / 1.23 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.9911, allocations: 316.1 kB / 1.23 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.9911, allocations: 0 / 1.23 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.367e-05/0.9912, allocations: 7.781 kB / 1.23 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.373e-05/0.9912, allocations: 8.047 kB / 1.23 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.9912, allocations: 0 / 1.23 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.919e-05/0.9913, allocations: 39 kB / 1.23 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.9913, allocations: 5.734 kB / 1.23 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.9913, allocations: 2.25 kB / 1.23 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.9914, allocations: 0 / 1.23 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.9916, allocations: 14.41 kB / 1.23 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.9926, allocations: 0.5891 MB / 1.231 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.566e-05/0.9927, allocations: 4.641 kB / 1.231 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.9927, allocations: 0 / 1.231 GB, free: 40.46 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 9.814e-05/0.9928, allocations: 109.9 kB / 1.231 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.9928, allocations: 0 / 1.231 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.993, allocations: 47.66 kB / 1.231 GB, free: 40.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.993, allocations: 7 kB / 1.231 GB, free: 40.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.993, allocations: 3.953 kB / 1.231 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.993, allocations: 1.266 kB / 1.231 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.227e-05/0.9931, allocations: 150.9 kB / 1.231 GB, free: 40.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.9931, allocations: 4 kB / 1.231 GB, free: 40.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.9933, allocations: 9.562 kB / 1.231 GB, free: 40.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.9933, allocations: 4 kB / 1.231 GB, free: 40.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.9933, allocations: 5.297 kB / 1.231 GB, free: 40.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003647/0.9937, allocations: 0.5854 MB / 1.232 GB, free: 39.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.9937, allocations: 0 / 1.232 GB, free: 39.49 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.13e-05/0.9938, allocations: 67.61 kB / 1.232 GB, free: 39.42 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.9938, allocations: 85.58 kB / 1.232 GB, free: 39.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.9939, allocations: 4.562 kB / 1.232 GB, free: 39.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.084e-05/0.9939, allocations: 0 / 1.232 GB, free: 39.31 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.9939, allocations: 0.7031 kB / 1.232 GB, free: 39.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.9939, allocations: 3.312 kB / 1.232 GB, free: 39.31 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.812e-05/0.994, allocations: 79.98 kB / 1.232 GB, free: 39.23 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.01e-07/0.994, allocations: 0 / 1.232 GB, free: 39.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000267/0.9943, allocations: 8.797 kB / 1.232 GB, free: 39.23 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.000179/0.9944, allocations: 125.7 kB / 1.232 GB, free: 39.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002243/0.9947, allocations: 23 kB / 1.232 GB, free: 39.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9947, allocations: 0 / 1.232 GB, free: 39.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.9949, allocations: 15.28 kB / 1.232 GB, free: 39.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.9951, allocations: 6.75 kB / 1.232 GB, free: 39.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.9954, allocations: 112.6 kB / 1.232 GB, free: 38.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.9957, allocations: 0.6767 MB / 1.233 GB, free: 38.26 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.525e-05/0.9958, allocations: 0 / 1.233 GB, free: 38.26 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.72e-05/0.9958, allocations: 7.438 kB / 1.233 GB, free: 38.26 MB / 0.6355 GB Notification: Performance of SimCode: time 1.011e-06/0.9958, allocations: 3.938 kB / 1.233 GB, free: 38.26 MB / 0.6355 GB Notification: Performance of Templates: time 0.002999/0.9988, allocations: 427.9 kB / 1.233 GB, free: 38.04 MB / 0.6355 GB