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.01515/0.01515, allocations: 111.8 kB / 15.06 MB, free: 5.98 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.001808/0.001807, allocations: 182.1 kB / 15.94 MB, free: 5.938 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.893/1.893, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.221/2.221, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004596/0.0004598, allocations: 12 kB / 0.5869 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5313/0.5317, allocations: 98.7 MB / 0.6833 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1806/0.7124, allocations: 125.1 MB / 0.8055 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.7127, allocations: 79.95 kB / 0.8056 GB, free: 1.148 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01504/0.7278, allocations: 3.44 MB / 0.8089 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.384e-06/0.7278, allocations: 0 / 0.8089 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.7278, allocations: 0 / 0.8089 GB, free: 13.7 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.0003707/0.7282, allocations: 347.2 kB / 0.8092 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.7283, allocations: 12.03 kB / 0.8093 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.7283, allocations: 3.953 kB / 0.8093 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.7284, allocations: 163.1 kB / 0.8094 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.7285, allocations: 0 / 0.8094 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.7285, allocations: 0 / 0.8094 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.898e-05/0.7286, allocations: 33.7 kB / 0.8095 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.878e-06/0.7286, allocations: 0 / 0.8095 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.569e-06/0.7286, allocations: 0 / 0.8095 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.7286, allocations: 4 kB / 0.8095 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.427e-05/0.7287, allocations: 11.86 kB / 0.8095 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001863/0.7289, allocations: 153.6 kB / 0.8096 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.745e-05/0.729, allocations: 26.59 kB / 0.8096 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.729, allocations: 3.984 kB / 0.8096 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.729, allocations: 34.62 kB / 0.8097 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.731e-06/0.729, allocations: 0 / 0.8097 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001436/0.7292, allocations: 41.64 kB / 0.8097 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.7292, allocations: 51.41 kB / 0.8098 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.381e-05/0.7293, allocations: 93.12 kB / 0.8099 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.7294, allocations: 29.69 kB / 0.8099 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.7294, allocations: 84.14 kB / 0.81 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.7294, allocations: 3.906 kB / 0.81 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-06/0.7295, allocations: 0 / 0.81 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.7296, allocations: 318.8 kB / 0.8103 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.7296, allocations: 0 / 0.8103 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.305e-05/0.7297, allocations: 4 kB / 0.8103 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.326e-05/0.7297, allocations: 8.188 kB / 0.8103 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7297, allocations: 0 / 0.8103 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.079e-05/0.7298, allocations: 37.69 kB / 0.8103 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.7298, allocations: 11.94 kB / 0.8103 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.363e-06/0.7298, allocations: 0 / 0.8103 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.7299, allocations: 0 / 0.8103 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.73, allocations: 8 kB / 0.8103 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004704/0.7305, allocations: 0.5937 MB / 0.8109 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.7306, allocations: 0 / 0.8109 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.834e-06/0.7306, allocations: 7.938 kB / 0.8109 GB, free: 11.41 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.759e-05/0.7307, allocations: 113.9 kB / 0.811 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.7307, allocations: 0 / 0.811 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.7309, allocations: 52.73 kB / 0.8111 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.659e-06/0.7309, allocations: 0 / 0.8111 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.39e-06/0.7309, allocations: 4.125 kB / 0.8111 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.4e-06/0.7309, allocations: 3.953 kB / 0.8111 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.731, allocations: 149.7 kB / 0.8112 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.076e-06/0.7311, allocations: 0 / 0.8112 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.939e-05/0.7312, allocations: 8 kB / 0.8112 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.302e-06/0.7312, allocations: 0 / 0.8112 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.01e-06/0.7312, allocations: 3.938 kB / 0.8112 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004222/0.7316, allocations: 0.5977 MB / 0.8118 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.988e-06/0.7316, allocations: 0 / 0.8118 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.932e-05/0.7318, allocations: 61.11 kB / 0.8119 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.7318, allocations: 84.95 kB / 0.812 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.7318, allocations: 3.984 kB / 0.812 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.412e-05/0.7319, allocations: 7.953 kB / 0.812 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.7319, allocations: 0 / 0.812 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-06/0.7319, allocations: 128 / 0.812 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.474e-05/0.732, allocations: 79.28 kB / 0.8121 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.18e-07/0.732, allocations: 4 kB / 0.8121 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002767/0.7323, allocations: 12 kB / 0.8121 GB, free: 10.11 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.0001893/0.7325, allocations: 123.2 kB / 0.8122 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000174/0.7327, allocations: 19.92 kB / 0.8122 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.184e-06/0.7327, allocations: 160 / 0.8122 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.7328, allocations: 15.98 kB / 0.8122 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.7329, allocations: 0 / 0.8122 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.7333, allocations: 111.1 kB / 0.8123 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.7336, allocations: 0.677 MB / 0.813 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.8e-05/0.7336, allocations: 4.062 kB / 0.813 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.443e-05/0.7336, allocations: 7.438 kB / 0.813 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of SimCode: time 1.282e-06/0.7337, allocations: 0 / 0.813 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of Templates: time 0.002676/0.7363, allocations: 399.9 kB / 0.8134 GB, free: 8.703 MB / 0.6355 GB