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_dp.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_dp,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.009976/0.009981, allocations: 86.75 kB / 15.04 MB, free: 6.062 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.001851/0.001852, allocations: 168.2 kB / 15.92 MB, free: 6 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.262/2.262, allocations: 205.5 MB / 222.2 MB, free: 13.72 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.565/2.565, allocations: 252.8 MB / 0.511 GB, free: 8.32 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006441/0.0006441, allocations: 12.59 kB / 0.6243 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2257, allocations: 106.2 MB / 0.7281 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001742/0.2275, allocations: 0.9725 MB / 0.729 GB, free: 9.145 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0008109/0.2283, allocations: 324.8 kB / 0.7293 GB, free: 8.828 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.2284, allocations: 0 / 0.7293 GB, free: 8.828 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.2284, allocations: 0 / 0.7293 GB, free: 8.828 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.2285, allocations: 0 / 0.7293 GB, free: 8.828 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.229, allocations: 71.77 kB / 0.7294 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.144e-05/0.229, allocations: 11.98 kB / 0.7294 GB, free: 8.746 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.2291, allocations: 3.938 kB / 0.7294 GB, free: 8.742 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.605e-05/0.2291, allocations: 11.94 kB / 0.7294 GB, free: 8.73 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.963e-05/0.2292, allocations: 7.938 kB / 0.7294 GB, free: 8.723 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.2292, allocations: 0 / 0.7294 GB, free: 8.723 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004656/0.2297, allocations: 179.7 kB / 0.7296 GB, free: 8.547 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.406e-06/0.2297, allocations: 0 / 0.7296 GB, free: 8.547 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.2297, allocations: 29.7 kB / 0.7296 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.2299, allocations: 52.16 kB / 0.7297 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2299, allocations: 0 / 0.7297 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.094e-06/0.23, allocations: 0 / 0.7297 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.23, allocations: 0 / 0.7297 GB, free: 8.461 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.0003893/0.2304, allocations: 331.4 kB / 0.73 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.2304, allocations: 12.03 kB / 0.73 GB, free: 8.078 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.262e-05/0.2305, allocations: 34.55 kB / 0.73 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.2305, allocations: 0 / 0.73 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.2307, allocations: 167 kB / 0.7302 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.2307, allocations: 3.938 kB / 0.7302 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.2307, allocations: 4 kB / 0.7302 GB, free: 7.824 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.2308, allocations: 29.69 kB / 0.7302 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.2308, allocations: 0 / 0.7302 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2309, allocations: 11.94 kB / 0.7302 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.2309, allocations: 0 / 0.7302 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.29e-05/0.2309, allocations: 0 / 0.7302 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.2311, allocations: 157.6 kB / 0.7304 GB, free: 7.574 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.919e-05/0.2312, allocations: 30.53 kB / 0.7304 GB, free: 7.535 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.2312, allocations: 4.062 kB / 0.7304 GB, free: 7.531 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.2313, allocations: 34.56 kB / 0.7305 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.2313, allocations: 0 / 0.7305 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0001703/0.2315, allocations: 33.7 kB / 0.7305 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.2315, allocations: 51.41 kB / 0.7305 GB, free: 7.387 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/0.2316, allocations: 101.8 kB / 0.7306 GB, free: 7.277 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.2316, allocations: 25.7 kB / 0.7307 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.2317, allocations: 80.14 kB / 0.7307 GB, free: 7.164 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.2317, allocations: 7.906 kB / 0.7307 GB, free: 7.156 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.2317, allocations: 256 / 0.7307 GB, free: 7.156 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2319, allocations: 326.8 kB / 0.7311 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.2319, allocations: 3.938 kB / 0.7311 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.742e-05/0.2319, allocations: 7.984 kB / 0.7311 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.108e-05/0.2319, allocations: 0 / 0.7311 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.232, allocations: 0 / 0.7311 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.071e-05/0.2321, allocations: 41.7 kB / 0.7311 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.2321, allocations: 4 kB / 0.7311 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2321, allocations: 3.938 kB / 0.7311 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2321, allocations: 4.094 kB / 0.7311 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.2324, allocations: 11.98 kB / 0.7311 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004625/0.2328, allocations: 0.5897 MB / 0.7317 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.2329, allocations: 0 / 0.7317 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.2329, allocations: 4.031 kB / 0.7317 GB, free: 6.129 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.516e-05/0.233, allocations: 109.9 kB / 0.7318 GB, free: 6.012 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.233, allocations: 0 / 0.7318 GB, free: 6.012 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.2332, allocations: 52.77 kB / 0.7319 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.2332, allocations: 0 / 0.7319 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2332, allocations: 0 / 0.7319 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2332, allocations: 7.953 kB / 0.7319 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.2334, allocations: 149.7 kB / 0.732 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2334, allocations: 0 / 0.732 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.2335, allocations: 20.55 kB / 0.732 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.2336, allocations: 0 / 0.732 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.2336, allocations: 8.031 kB / 0.732 GB, free: 5.723 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004012/0.234, allocations: 0.5821 MB / 0.7326 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.234, allocations: 0 / 0.7326 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.2341, allocations: 61.16 kB / 0.7327 GB, free: 5.039 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.2342, allocations: 85.14 kB / 0.7328 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.2342, allocations: 7.938 kB / 0.7328 GB, free: 4.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.72e-05/0.2343, allocations: 3.953 kB / 0.7328 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/0.2343, allocations: 0 / 0.7328 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.2343, allocations: 4 kB / 0.7328 GB, free: 4.922 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.693e-05/0.2344, allocations: 79.28 kB / 0.7328 GB, free: 4.844 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2344, allocations: 0 / 0.7328 GB, free: 4.844 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002541/0.2346, allocations: 4 kB / 0.7328 GB, free: 4.84 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.0005036/0.2351, allocations: 0.6126 MB / 0.7334 GB, free: 4.195 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002642/0.2354, allocations: 27.92 kB / 0.7335 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.2355, allocations: 0 / 0.7335 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.2356, allocations: 11.98 kB / 0.7335 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.2358, allocations: 18.3 kB / 0.7335 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/0.2363, allocations: 136.8 kB / 0.7336 GB, free: 3.969 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.2366, allocations: 0.6809 MB / 0.7343 GB, free: 3.262 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.513e-05/0.2367, allocations: 0 / 0.7343 GB, free: 3.262 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.2367, allocations: 11.44 kB / 0.7343 GB, free: 3.25 MB / 0.5573 GB Notification: Performance of SimCode: time 1.372e-06/0.2367, allocations: 4 kB / 0.7343 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.2576, allocations: 1.126 MB / 0.7354 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003078/0.258, allocations: 254.6 kB / 0.7357 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/2.672, allocations: 3.609 kB / 0.7357 GB, free: 1.98 MB / 0.5573 GB