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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01098/0.01098, allocations: 108.2 kB / 15.05 MB, free: 5.934 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.001236/0.001237, allocations: 182.2 kB / 15.95 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.988/1.988, allocations: 194.5 MB / 211.2 MB, free: 11.11 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.355/2.355, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004952/0.0004953, allocations: 20 kB / 0.587 GB, free: 2.109 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7114/0.7119, allocations: 98.7 MB / 0.6834 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.278/0.99, allocations: 125.1 MB / 0.8056 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/0.9904, allocations: 75.95 kB / 0.8056 GB, free: 1.055 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01801/1.008, allocations: 3.441 MB / 0.809 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.765e-06/1.008, allocations: 0 / 0.809 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.075e-06/1.008, allocations: 4 kB / 0.809 GB, free: 13.61 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.0004244/1.009, allocations: 347.3 kB / 0.8093 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.009, allocations: 8.031 kB / 0.8093 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.501e-05/1.009, allocations: 30.56 kB / 0.8094 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/1.009, allocations: 3.953 kB / 0.8094 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/1.009, allocations: 171 kB / 0.8095 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/1.009, allocations: 0 / 0.8095 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/1.009, allocations: 0 / 0.8095 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/1.009, allocations: 37.7 kB / 0.8096 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/1.009, allocations: 0 / 0.8096 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/1.009, allocations: 3.938 kB / 0.8096 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/1.009, allocations: 0 / 0.8096 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.969e-05/1.009, allocations: 4 kB / 0.8096 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/1.01, allocations: 153.6 kB / 0.8097 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.698e-05/1.01, allocations: 26.55 kB / 0.8098 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/1.01, allocations: 0 / 0.8098 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/1.01, allocations: 34.56 kB / 0.8098 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/1.01, allocations: 0 / 0.8098 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000173/1.01, allocations: 45.75 kB / 0.8098 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/1.01, allocations: 51.41 kB / 0.8099 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/1.01, allocations: 85 kB / 0.81 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/1.01, allocations: 29.64 kB / 0.81 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/1.01, allocations: 88.39 kB / 0.8101 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/1.01, allocations: 7.906 kB / 0.8101 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/1.01, allocations: 0 / 0.8101 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.01, allocations: 318.8 kB / 0.8104 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.874e-05/1.01, allocations: 4 kB / 0.8104 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.259e-05/1.01, allocations: 0 / 0.8104 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.068e-05/1.011, allocations: 8 kB / 0.8104 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.011, allocations: 0 / 0.8104 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.794e-05/1.011, allocations: 33.7 kB / 0.8104 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/1.011, allocations: 8.094 kB / 0.8104 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.011, allocations: 7.969 kB / 0.8104 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/1.011, allocations: 0 / 0.8104 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/1.011, allocations: 8 kB / 0.8105 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004626/1.011, allocations: 0.5937 MB / 0.811 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/1.011, allocations: 0 / 0.811 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/1.012, allocations: 0 / 0.811 GB, free: 11.29 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.848e-05/1.012, allocations: 121.9 kB / 0.8112 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/1.012, allocations: 4 kB / 0.8112 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/1.012, allocations: 44.81 kB / 0.8112 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/1.012, allocations: 0 / 0.8112 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.012, allocations: 3.938 kB / 0.8112 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/1.012, allocations: 3.953 kB / 0.8112 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/1.012, allocations: 149.7 kB / 0.8113 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/1.012, allocations: 0 / 0.8113 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/1.012, allocations: 19.95 kB / 0.8114 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/1.012, allocations: 0 / 0.8114 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/1.012, allocations: 4 kB / 0.8114 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004024/1.013, allocations: 0.5821 MB / 0.8119 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/1.013, allocations: 0 / 0.8119 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/1.013, allocations: 77.17 kB / 0.812 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/1.013, allocations: 84.95 kB / 0.8121 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/1.013, allocations: 0 / 0.8121 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.757e-05/1.013, allocations: 3.953 kB / 0.8121 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/1.013, allocations: 3.984 kB / 0.8121 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/1.013, allocations: 4 kB / 0.8121 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.999e-05/1.013, allocations: 75.28 kB / 0.8122 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.013, allocations: 0 / 0.8122 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002656/1.013, allocations: 12 kB / 0.8122 GB, free: 9.977 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.0005529/1.014, allocations: 0.6204 MB / 0.8128 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002638/1.014, allocations: 19.27 kB / 0.8128 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.014, allocations: 0 / 0.8128 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/1.014, allocations: 16.08 kB / 0.8128 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/1.014, allocations: 10.39 kB / 0.8128 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005484/1.015, allocations: 140.8 kB / 0.813 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/1.015, allocations: 0.677 MB / 0.8136 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.365e-05/1.015, allocations: 4.062 kB / 0.8136 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/1.015, allocations: 7.438 kB / 0.8136 GB, free: 8.391 MB / 0.6355 GB Notification: Performance of SimCode: time 1.153e-06/1.015, allocations: 0 / 0.8136 GB, free: 8.391 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/1.039, allocations: 1.142 MB / 0.8148 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/1.04, allocations: 244.1 kB / 0.815 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.61/3.65, allocations: 0 / 0.815 GB, free: 7.176 MB / 0.6355 GB