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.01105/0.01105, allocations: 108.5 kB / 15.06 MB, free: 5.555 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.001225/0.001225, allocations: 181.3 kB / 15.95 MB, free: 5.52 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 2.143/2.143, allocations: 194.5 MB / 211.3 MB, free: 11.01 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.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006859/0.0006861, allocations: 16 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7946/0.7954, allocations: 98.71 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001604/0.797, allocations: 0.9527 MB / 0.6844 GB, free: 16 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0007271/0.7978, allocations: 319.8 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.7978, allocations: 0 / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.7979, allocations: 0.6094 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.553e-05/0.7979, allocations: 1.156 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.7983, allocations: 66 kB / 0.6847 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 4.533e-05/0.7984, allocations: 4.375 kB / 0.6847 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.386e-05/0.7985, allocations: 6.531 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 1.915e-05/0.7985, allocations: 1.281 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.793e-05/0.7986, allocations: 5.062 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.7986, allocations: 4 kB / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004408/0.799, allocations: 183.4 kB / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.795e-06/0.799, allocations: 0 / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.7991, allocations: 26.83 kB / 0.685 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.7993, allocations: 51.42 kB / 0.685 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7993, allocations: 0 / 0.685 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7993, allocations: 3.938 kB / 0.685 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.7993, allocations: 0 / 0.685 GB, free: 15.65 MB / 0.5261 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.0003286/0.7996, allocations: 326.3 kB / 0.6853 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.7997, allocations: 14.86 kB / 0.6853 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.862e-05/0.7997, allocations: 34.56 kB / 0.6854 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.7998, allocations: 1.156 kB / 0.6854 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.776e-05/0.7999, allocations: 164.1 kB / 0.6855 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.7999, allocations: 1.375 kB / 0.6855 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.7999, allocations: 5.828 kB / 0.6855 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.947e-05/0.8, allocations: 29.86 kB / 0.6856 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.8, allocations: 0 / 0.6856 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.8, allocations: 1.062 kB / 0.6856 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.8001, allocations: 0 / 0.6856 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.409e-05/0.8001, allocations: 12.41 kB / 0.6856 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.8003, allocations: 158.7 kB / 0.6857 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.96e-05/0.8004, allocations: 25.14 kB / 0.6857 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.8004, allocations: 0 / 0.6857 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.8004, allocations: 32.52 kB / 0.6858 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.8004, allocations: 0 / 0.6858 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001476/0.8006, allocations: 48.41 kB / 0.6858 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.8006, allocations: 53.39 kB / 0.6859 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.874e-05/0.8007, allocations: 93.73 kB / 0.686 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.8007, allocations: 25.7 kB / 0.686 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.073e-05/0.8007, allocations: 85.2 kB / 0.6861 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.8008, allocations: 6.5 kB / 0.6861 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.8008, allocations: 4 kB / 0.6861 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.291e-05/0.8009, allocations: 316.3 kB / 0.6864 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.8009, allocations: 6.344 kB / 0.6864 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.27e-05/0.8009, allocations: 2.406 kB / 0.6864 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.248e-05/0.8009, allocations: 1.969 kB / 0.6864 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.801, allocations: 1.125 kB / 0.6864 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.974e-05/0.801, allocations: 39.48 kB / 0.6864 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.8011, allocations: 5.25 kB / 0.6864 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.8011, allocations: 5.062 kB / 0.6864 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.8011, allocations: 1.281 kB / 0.6864 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.8014, allocations: 13.55 kB / 0.6865 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003435/0.8017, allocations: 0.5875 MB / 0.687 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.734e-05/0.8018, allocations: 3.938 kB / 0.687 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.8018, allocations: 1.922 kB / 0.687 GB, free: 13.45 MB / 0.5261 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 6.819e-05/0.8019, allocations: 107.1 kB / 0.6871 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.8019, allocations: 6.734 kB / 0.6871 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.802, allocations: 50.98 kB / 0.6872 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.802, allocations: 2 kB / 0.6872 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.802, allocations: 0 / 0.6872 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.8021, allocations: 3.953 kB / 0.6872 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.109e-05/0.8022, allocations: 148.1 kB / 0.6873 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.8022, allocations: 0.7969 kB / 0.6873 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.8023, allocations: 9.391 kB / 0.6873 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.8023, allocations: 0.9688 kB / 0.6873 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.8024, allocations: 0 / 0.6873 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002562/0.8026, allocations: 0.588 MB / 0.6879 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8026, allocations: 0.7031 kB / 0.6879 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.387e-05/0.8027, allocations: 69.36 kB / 0.688 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.8028, allocations: 78.47 kB / 0.6881 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.8028, allocations: 13.62 kB / 0.6881 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.163e-05/0.8028, allocations: 3.953 kB / 0.6881 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.8029, allocations: 6.047 kB / 0.6881 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.8029, allocations: 0.5625 kB / 0.6881 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.812e-05/0.8029, allocations: 78.08 kB / 0.6882 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.6e-07/0.8029, allocations: 3.938 kB / 0.6882 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002739/0.8032, allocations: 11.28 kB / 0.6882 GB, free: 12.24 MB / 0.5261 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.0003674/0.8036, allocations: 0.6174 MB / 0.6888 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000297/0.8039, allocations: 23.98 kB / 0.6888 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.8039, allocations: 1.031 kB / 0.6888 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.8042, allocations: 13.33 kB / 0.6888 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.8044, allocations: 5.234 kB / 0.6888 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007563/0.8052, allocations: 145.2 kB / 0.689 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001713/0.8054, allocations: 0.6764 MB / 0.6896 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.39e-05/0.8055, allocations: 1.156 kB / 0.6896 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.8055, allocations: 8 kB / 0.6896 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of SimCode: time 1.162e-06/0.8055, allocations: 1.625 kB / 0.6896 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.8312, allocations: 1.15 MB / 0.6908 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002729/0.8315, allocations: 251 kB / 0.691 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/3.217, allocations: 0 / 0.691 GB, free: 10.25 MB / 0.5261 GB