Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadModel(Buildings): time 3.938/3.938, allocations: 432.7 MB / 445.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.878e-05/2.889e-05, allocations: 4.344 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1792, allocations: 98.73 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2199/0.3991, allocations: 125 MB / 0.7568 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.3994, allocations: 83.94 kB / 0.7569 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01599/0.4154, allocations: 3.431 MB / 0.7602 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.406e-06/0.4154, allocations: 0 / 0.7602 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.087e-06/0.4155, allocations: 4 kB / 0.7602 GB, free: 1.246 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.0003699/0.4158, allocations: 334.4 kB / 0.7605 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.4159, allocations: 8.031 kB / 0.7605 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.4159, allocations: 3.953 kB / 0.7605 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.4161, allocations: 159.1 kB / 0.7607 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.4161, allocations: 12 kB / 0.7607 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.972e-06/0.4161, allocations: 0 / 0.7607 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.242e-05/0.4162, allocations: 41.62 kB / 0.7607 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.603e-06/0.4163, allocations: 0 / 0.7607 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.06e-06/0.4163, allocations: 0 / 0.7607 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.928e-06/0.4163, allocations: 0 / 0.7607 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.144e-05/0.4163, allocations: 4 kB / 0.7607 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.4165, allocations: 157.6 kB / 0.7609 GB, free: 412 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.986e-05/0.4166, allocations: 22.58 kB / 0.7609 GB, free: 380 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.403e-05/0.4166, allocations: 8.922 kB / 0.7609 GB, free: 368 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.4167, allocations: 7.922 kB / 0.7609 GB, free: 360 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.4167, allocations: 34.56 kB / 0.761 GB, free: 316 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.935e-06/0.4167, allocations: 0 / 0.761 GB, free: 316 kB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001247/0.4169, allocations: 33.7 kB / 0.761 GB, free: 276 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.4169, allocations: 51.41 kB / 0.7611 GB, free: 212 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.124e-05/0.417, allocations: 93.03 kB / 0.7611 GB, free: 112 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.417, allocations: 25.7 kB / 0.7612 GB, free: 80 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.4171, allocations: 84.14 kB / 0.7612 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.4172, allocations: 7.891 kB / 0.7613 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-06/0.4172, allocations: 0 / 0.7613 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4173, allocations: 314.8 kB / 0.7616 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.4174, allocations: 4 kB / 0.7616 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.464e-05/0.4174, allocations: 8.125 kB / 0.7616 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.203e-05/0.4174, allocations: 7.938 kB / 0.7616 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.24e-06/0.4174, allocations: 3.938 kB / 0.7616 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.032e-05/0.4175, allocations: 37.7 kB / 0.7616 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.4176, allocations: 8 kB / 0.7616 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.533e-06/0.4176, allocations: 3.984 kB / 0.7616 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.4176, allocations: 3.984 kB / 0.7616 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.4178, allocations: 8 kB / 0.7616 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004822/0.4183, allocations: 0.5899 MB / 0.7622 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.498e-05/0.4183, allocations: 0 / 0.7622 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.4183, allocations: 0 / 0.7622 GB, free: 14.96 MB / 0.6511 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 () * 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.087e-05/0.4184, allocations: 115.2 kB / 0.7623 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.4185, allocations: 3.906 kB / 0.7623 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.4186, allocations: 40.83 kB / 0.7624 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.204e-06/0.4186, allocations: 4.125 kB / 0.7624 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.19e-06/0.4186, allocations: 0 / 0.7624 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.882e-06/0.4186, allocations: 7.938 kB / 0.7624 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.4188, allocations: 153.7 kB / 0.7625 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-06/0.4188, allocations: 0 / 0.7625 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.4189, allocations: 11.98 kB / 0.7625 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.015e-06/0.4189, allocations: 0 / 0.7625 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.419, allocations: 3.938 kB / 0.7625 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004445/0.4194, allocations: 0.5937 MB / 0.7631 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4194, allocations: 0 / 0.7631 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.4196, allocations: 61.16 kB / 0.7632 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.946e-05/0.4196, allocations: 77.11 kB / 0.7632 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.4197, allocations: 4 kB / 0.7633 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.395e-05/0.4197, allocations: 3.953 kB / 0.7633 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.4197, allocations: 0 / 0.7633 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.096e-06/0.4197, allocations: 8.125 kB / 0.7633 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.4198, allocations: 87.22 kB / 0.7633 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.93e-07/0.4198, allocations: 0 / 0.7633 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002758/0.4201, allocations: 15.98 kB / 0.7634 GB, free: 13.67 MB / 0.6511 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 () * 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.0002049/0.4203, allocations: 115.2 kB / 0.7635 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001694/0.4205, allocations: 12 kB / 0.7635 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.233e-06/0.4205, allocations: 4.156 kB / 0.7635 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.4206, allocations: 15.98 kB / 0.7635 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.4208, allocations: 4 kB / 0.7635 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001712/0.421, allocations: 53.48 kB / 0.7636 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.4213, allocations: 0.6731 MB / 0.7642 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.82e-05/0.4213, allocations: 0 / 0.7642 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.4214, allocations: 15.38 kB / 0.7642 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of SimCode: time 1.351e-06/0.4214, allocations: 4.062 kB / 0.7642 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of Templates: time 0.002785/0.4242, allocations: 416.9 kB / 0.7646 GB, free: 12.31 MB / 0.6511 GB