Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.009929/0.009929, allocations: 92.88 kB / 15.04 MB, free: 6.059 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001181/0.001181, allocations: 172.9 kB / 15.92 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.303/2.303, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.509/2.509, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004698, allocations: 14.22 kB / 0.6243 GB, free: 28.29 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2688, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001701/0.2706, allocations: 0.9686 MB / 0.729 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0007901/0.2714, allocations: 300.8 kB / 0.7293 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.2715, allocations: 4 kB / 0.7293 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.2715, allocations: 0 / 0.7293 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.707e-05/0.2716, allocations: 0 / 0.7293 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.272, allocations: 67.77 kB / 0.7294 GB, free: 8.836 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.202e-05/0.272, allocations: 4 kB / 0.7294 GB, free: 8.832 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.2721, allocations: 0 / 0.7294 GB, free: 8.832 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.389e-05/0.2721, allocations: 7.984 kB / 0.7294 GB, free: 8.824 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.303e-05/0.2722, allocations: 3.938 kB / 0.7294 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.2722, allocations: 0 / 0.7294 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004105/0.2726, allocations: 183.7 kB / 0.7296 GB, free: 8.641 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.2726, allocations: 3.938 kB / 0.7296 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.2727, allocations: 33.7 kB / 0.7296 GB, free: 8.598 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.2728, allocations: 48.16 kB / 0.7296 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2729, allocations: 0 / 0.7296 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2729, allocations: 0 / 0.7296 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.2729, allocations: 4 kB / 0.7296 GB, free: 8.547 MB / 0.5573 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.0003782/0.2733, allocations: 327.4 kB / 0.73 GB, free: 8.18 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.2733, allocations: 12.03 kB / 0.73 GB, free: 8.168 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.781e-05/0.2734, allocations: 34.56 kB / 0.73 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.11e-05/0.2734, allocations: 4 kB / 0.73 GB, free: 8.121 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.2736, allocations: 167 kB / 0.7302 GB, free: 7.918 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.2736, allocations: 0 / 0.7302 GB, free: 7.918 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.2736, allocations: 4 kB / 0.7302 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.405e-05/0.2737, allocations: 29.69 kB / 0.7302 GB, free: 7.879 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2737, allocations: 0 / 0.7302 GB, free: 7.879 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2737, allocations: 11.94 kB / 0.7302 GB, free: 7.867 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2738, allocations: 0 / 0.7302 GB, free: 7.867 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.846e-05/0.2738, allocations: 3.938 kB / 0.7302 GB, free: 7.863 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.274, allocations: 161.6 kB / 0.7304 GB, free: 7.656 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.86e-05/0.2741, allocations: 18.61 kB / 0.7304 GB, free: 7.629 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.2741, allocations: 4.062 kB / 0.7304 GB, free: 7.625 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.2741, allocations: 30.56 kB / 0.7304 GB, free: 7.586 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 4.338e-06/0.2741, allocations: 3.984 kB / 0.7304 GB, free: 7.582 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0001485/0.2743, allocations: 45.62 kB / 0.7305 GB, free: 7.531 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.2743, allocations: 55.53 kB / 0.7305 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.499e-05/0.2744, allocations: 93.86 kB / 0.7306 GB, free: 7.363 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.2745, allocations: 25.7 kB / 0.7306 GB, free: 7.332 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.2745, allocations: 84.14 kB / 0.7307 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.2745, allocations: 11.84 kB / 0.7307 GB, free: 7.234 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.2745, allocations: 0 / 0.7307 GB, free: 7.234 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.2747, allocations: 318.8 kB / 0.731 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.2747, allocations: 128 / 0.731 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/0.2747, allocations: 8 kB / 0.731 GB, free: 6.906 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.2748, allocations: 4 kB / 0.731 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.2748, allocations: 4 kB / 0.731 GB, free: 6.898 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.88e-05/0.2749, allocations: 37.64 kB / 0.7311 GB, free: 6.855 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2749, allocations: 4 kB / 0.7311 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2749, allocations: 0 / 0.7311 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.275, allocations: 0 / 0.7311 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.2752, allocations: 15.98 kB / 0.7311 GB, free: 6.836 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004421/0.2756, allocations: 0.5899 MB / 0.7317 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.2757, allocations: 0 / 0.7317 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.2757, allocations: 4.031 kB / 0.7317 GB, free: 6.219 MB / 0.5573 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.072e-05/0.2758, allocations: 113.8 kB / 0.7318 GB, free: 6.098 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/0.2758, allocations: 0 / 0.7318 GB, free: 6.098 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.276, allocations: 52.81 kB / 0.7318 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.276, allocations: 0 / 0.7318 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.276, allocations: 4 kB / 0.7318 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.276, allocations: 7.938 kB / 0.7318 GB, free: 6.027 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.2761, allocations: 141.7 kB / 0.732 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2762, allocations: 0 / 0.732 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.2763, allocations: 11.98 kB / 0.732 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.2763, allocations: 4 kB / 0.732 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.2763, allocations: 0 / 0.732 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003787/0.2767, allocations: 0.5938 MB / 0.7326 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2767, allocations: 0 / 0.7326 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.536e-05/0.2768, allocations: 61.84 kB / 0.7326 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.2769, allocations: 85.02 kB / 0.7327 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.2769, allocations: 0 / 0.7327 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.486e-05/0.277, allocations: 11.89 kB / 0.7327 GB, free: 5.016 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.277, allocations: 4.125 kB / 0.7327 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.277, allocations: 0 / 0.7327 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.069e-05/0.2771, allocations: 83.27 kB / 0.7328 GB, free: 4.93 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.527e-06/0.2771, allocations: 0 / 0.7328 GB, free: 4.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000262/0.2773, allocations: 11.94 kB / 0.7328 GB, free: 4.918 MB / 0.5573 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.0004828/0.2778, allocations: 0.6164 MB / 0.7334 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.2781, allocations: 15.98 kB / 0.7334 GB, free: 4.254 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2781, allocations: 0 / 0.7334 GB, free: 4.254 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.2783, allocations: 15.98 kB / 0.7335 GB, free: 4.238 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.2784, allocations: 10.14 kB / 0.7335 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.2789, allocations: 141 kB / 0.7336 GB, free: 4.055 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.2792, allocations: 0.6731 MB / 0.7343 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.159e-05/0.2792, allocations: 0 / 0.7343 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.2793, allocations: 15.42 kB / 0.7343 GB, free: 3.34 MB / 0.5573 GB Notification: Performance of SimCode: time 7.92e-07/0.2793, allocations: 0 / 0.7343 GB, free: 3.34 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.3011, allocations: 1.155 MB / 0.7354 GB, free: 2.355 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003858/0.3015, allocations: 244.5 kB / 0.7356 GB, free: 2.027 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/2.72, allocations: 0 / 0.7356 GB, free: 2.027 MB / 0.5573 GB