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.009026/0.009026, allocations: 110.6 kB / 15.05 MB, free: 5.945 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.001138/0.001138, allocations: 180 kB / 15.94 MB, free: 5.898 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.874/1.874, allocations: 194.5 MB / 211.3 MB, free: 11.28 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.372/2.372, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004624, allocations: 16 kB / 0.5869 GB, free: 2.133 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5303/0.5308, allocations: 98.71 MB / 0.6833 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1839/0.7148, allocations: 125 MB / 0.8054 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.715, allocations: 79.89 kB / 0.8055 GB, free: 1.211 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01001/0.7251, allocations: 2.268 MB / 0.8077 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.637e-06/0.7251, allocations: 0 / 0.8077 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.7251, allocations: 0 / 0.8077 GB, free: 14.94 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.0003488/0.7255, allocations: 331.4 kB / 0.808 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.7256, allocations: 12.03 kB / 0.808 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.7256, allocations: 7.953 kB / 0.808 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.7257, allocations: 171 kB / 0.8082 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.7258, allocations: 0 / 0.8082 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.7258, allocations: 4 kB / 0.8082 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.744e-05/0.7259, allocations: 33.64 kB / 0.8082 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.7259, allocations: 0 / 0.8082 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.203e-06/0.7259, allocations: 0 / 0.8082 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.98e-06/0.7259, allocations: 0 / 0.8082 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.828e-05/0.726, allocations: 8 kB / 0.8082 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.7262, allocations: 157.6 kB / 0.8084 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.458e-05/0.7262, allocations: 18.61 kB / 0.8084 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.7263, allocations: 4 kB / 0.8084 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.7263, allocations: 40.97 kB / 0.8084 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.909e-06/0.7263, allocations: 3.938 kB / 0.8084 GB, free: 14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000142/0.7265, allocations: 41.64 kB / 0.8085 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.7265, allocations: 51.41 kB / 0.8085 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.377e-05/0.7266, allocations: 93 kB / 0.8086 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.7266, allocations: 25.7 kB / 0.8086 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.7267, allocations: 80.14 kB / 0.8087 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.7267, allocations: 7.891 kB / 0.8087 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-06/0.7267, allocations: 0 / 0.8087 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.7269, allocations: 319 kB / 0.809 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.7269, allocations: 8 kB / 0.809 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.008e-05/0.7269, allocations: 0 / 0.809 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.072e-05/0.727, allocations: 4 kB / 0.809 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.007e-06/0.727, allocations: 0 / 0.809 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.223e-05/0.7271, allocations: 45.62 kB / 0.8091 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.7271, allocations: 4 kB / 0.8091 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.884e-06/0.7271, allocations: 4 kB / 0.8091 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.7271, allocations: 0 / 0.8091 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.7273, allocations: 8 kB / 0.8091 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004624/0.7278, allocations: 0.5976 MB / 0.8097 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.4e-05/0.7278, allocations: 0 / 0.8097 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.124e-06/0.7279, allocations: 3.984 kB / 0.8097 GB, free: 12.65 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.704e-05/0.728, allocations: 113.8 kB / 0.8098 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.728, allocations: 0 / 0.8098 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.7281, allocations: 48.91 kB / 0.8098 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.047e-06/0.7281, allocations: 0 / 0.8098 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.322e-06/0.7282, allocations: 0 / 0.8098 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.742e-06/0.7282, allocations: 3.953 kB / 0.8098 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.7283, allocations: 153.7 kB / 0.81 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-06/0.7283, allocations: 0 / 0.81 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.526e-05/0.7284, allocations: 8 kB / 0.81 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.137e-06/0.7284, allocations: 0 / 0.81 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-06/0.7285, allocations: 0 / 0.81 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000426/0.7289, allocations: 0.5899 MB / 0.8106 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.7289, allocations: 8.016 kB / 0.8106 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.26e-05/0.729, allocations: 57.14 kB / 0.8106 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.7291, allocations: 81.02 kB / 0.8107 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.7291, allocations: 3.938 kB / 0.8107 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.772e-05/0.7291, allocations: 12.06 kB / 0.8107 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.7292, allocations: 4 kB / 0.8107 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-06/0.7292, allocations: 0 / 0.8107 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.68e-05/0.7292, allocations: 79.28 kB / 0.8108 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.02e-07/0.7292, allocations: 0 / 0.8108 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000267/0.7295, allocations: 8 kB / 0.8108 GB, free: 11.37 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.0001941/0.7297, allocations: 123.1 kB / 0.8109 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000172/0.7299, allocations: 20.08 kB / 0.8109 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.962e-06/0.7299, allocations: 0 / 0.8109 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.73, allocations: 12 kB / 0.811 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.7302, allocations: 2.844 kB / 0.811 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.7305, allocations: 107.2 kB / 0.8111 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.7309, allocations: 0.6849 MB / 0.8117 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.335e-05/0.7309, allocations: 11.88 kB / 0.8117 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.596e-05/0.7309, allocations: 7.438 kB / 0.8117 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of SimCode: time 1.458e-06/0.7309, allocations: 0 / 0.8117 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of Templates: time 0.002709/0.7336, allocations: 412.3 kB / 0.8121 GB, free: 9.941 MB / 0.6355 GB