Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.993/3.993, allocations: 432.7 MB / 445.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.841e-05, allocations: 5.062 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1753, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1911/0.3664, allocations: 124.9 MB / 0.7567 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.3667, allocations: 83.95 kB / 0.7567 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01073/0.3774, allocations: 2.269 MB / 0.759 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.956e-06/0.3775, allocations: 0 / 0.759 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.728e-06/0.3775, allocations: 4 kB / 0.759 GB, free: 2.504 MB / 0.6355 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.0003743/0.3779, allocations: 338.3 kB / 0.7593 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3779, allocations: 8.031 kB / 0.7593 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.378, allocations: 3.953 kB / 0.7593 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.3781, allocations: 159.1 kB / 0.7595 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3781, allocations: 4 kB / 0.7595 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.3782, allocations: 4 kB / 0.7595 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.014e-05/0.3783, allocations: 29.7 kB / 0.7595 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3783, allocations: 3.938 kB / 0.7595 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.079e-06/0.3783, allocations: 3.938 kB / 0.7595 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.982e-06/0.3783, allocations: 0 / 0.7595 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.337e-05/0.3784, allocations: 8 kB / 0.7595 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.3786, allocations: 149.6 kB / 0.7596 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.201e-05/0.3787, allocations: 26.61 kB / 0.7597 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.3787, allocations: 8.859 kB / 0.7597 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.3787, allocations: 4.062 kB / 0.7597 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3788, allocations: 30.56 kB / 0.7597 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.067e-06/0.3788, allocations: 0 / 0.7597 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001305/0.3789, allocations: 45.62 kB / 0.7598 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.379, allocations: 51.41 kB / 0.7598 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.289e-05/0.3791, allocations: 93.03 kB / 0.7599 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.3791, allocations: 25.7 kB / 0.7599 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.3792, allocations: 80.14 kB / 0.76 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.3792, allocations: 7.906 kB / 0.76 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-06/0.3792, allocations: 0 / 0.76 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3794, allocations: 318.8 kB / 0.7603 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.3794, allocations: 4 kB / 0.7603 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.012e-05/0.3794, allocations: 0 / 0.7603 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.218e-05/0.3795, allocations: 8.188 kB / 0.7603 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.302e-06/0.3795, allocations: 0 / 0.7603 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.585e-05/0.3796, allocations: 41.64 kB / 0.7604 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3796, allocations: 8 kB / 0.7604 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.486e-06/0.3796, allocations: 0 / 0.7604 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.3796, allocations: 0 / 0.7604 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.3798, allocations: 11.98 kB / 0.7604 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004856/0.3803, allocations: 0.586 MB / 0.7609 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.404e-05/0.3804, allocations: 0 / 0.7609 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.155e-06/0.3804, allocations: 0 / 0.7609 GB, free: 244 kB / 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 () * 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 8.921e-05/0.3805, allocations: 105 kB / 0.761 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.3805, allocations: 7.844 kB / 0.7611 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.3806, allocations: 48.75 kB / 0.7611 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.005e-06/0.3807, allocations: 3.984 kB / 0.7611 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3807, allocations: 0 / 0.7611 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.039e-06/0.3807, allocations: 8.078 kB / 0.7611 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.3809, allocations: 157.6 kB / 0.7613 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-06/0.3809, allocations: 0 / 0.7613 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.381, allocations: 11.98 kB / 0.7613 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.494e-06/0.381, allocations: 0 / 0.7613 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.561e-06/0.381, allocations: 0 / 0.7613 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004398/0.3815, allocations: 0.5898 MB / 0.7619 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.163e-06/0.3815, allocations: 0 / 0.7619 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.3816, allocations: 65.25 kB / 0.7619 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/0.3817, allocations: 77.11 kB / 0.762 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.3817, allocations: 4 kB / 0.762 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.576e-05/0.3818, allocations: 7.953 kB / 0.762 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.3818, allocations: 0 / 0.762 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-06/0.3818, allocations: 0 / 0.762 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.686e-05/0.3819, allocations: 83.31 kB / 0.7621 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.06e-07/0.3819, allocations: 0 / 0.7621 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002736/0.3821, allocations: 15.94 kB / 0.7621 GB, free: 14.95 MB / 0.6511 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 () * 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.0001998/0.3824, allocations: 121.1 kB / 0.7622 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001791/0.3826, allocations: 19.92 kB / 0.7622 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.924e-06/0.3826, allocations: 0 / 0.7622 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.3827, allocations: 12.16 kB / 0.7622 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.3828, allocations: 10.08 kB / 0.7622 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001885/0.383, allocations: 49.62 kB / 0.7623 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.3834, allocations: 0.677 MB / 0.763 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.137e-05/0.3834, allocations: 7.875 kB / 0.763 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.647e-05/0.3835, allocations: 7.438 kB / 0.763 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of SimCode: time 1.38e-06/0.3835, allocations: 0 / 0.763 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of Templates: time 0.002795/0.3863, allocations: 429.2 kB / 0.7634 GB, free: 13.57 MB / 0.6511 GB