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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 4.093/4.093, allocations: 433.4 MB / 440.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.925e-05/1.93e-05, allocations: 2.812 kB / 0.5325 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1786, allocations: 98.72 MB / 0.6289 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1921/0.3707, allocations: 124.3 MB / 0.7503 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.371, allocations: 79.94 kB / 0.7504 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01484/0.3859, allocations: 3.426 MB / 0.7537 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.346e-06/0.3859, allocations: 0 / 0.7537 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.027e-06/0.3859, allocations: 0 / 0.7537 GB, free: 9.156 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.0003457/0.3863, allocations: 334.3 kB / 0.7541 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3863, allocations: 8.031 kB / 0.7541 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.3864, allocations: 11.94 kB / 0.7541 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.3865, allocations: 167.1 kB / 0.7542 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3865, allocations: 4 kB / 0.7542 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.3866, allocations: 0 / 0.7542 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.868e-05/0.3866, allocations: 4 kB / 0.7542 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.499e-05/0.3867, allocations: 37.64 kB / 0.7543 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.377e-06/0.3867, allocations: 0 / 0.7543 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.571e-06/0.3867, allocations: 0 / 0.7543 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.496e-06/0.3867, allocations: 3.953 kB / 0.7543 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.3869, allocations: 130.3 kB / 0.7544 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.488e-05/0.387, allocations: 26.58 kB / 0.7544 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.387, allocations: 6.172 kB / 0.7544 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.387, allocations: 4.062 kB / 0.7544 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.3871, allocations: 30.56 kB / 0.7545 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.966e-06/0.3871, allocations: 0 / 0.7545 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001289/0.3872, allocations: 41.62 kB / 0.7545 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.3873, allocations: 51.41 kB / 0.7546 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.27e-05/0.3874, allocations: 93.03 kB / 0.7547 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.3874, allocations: 25.7 kB / 0.7547 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.3874, allocations: 80.14 kB / 0.7548 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.3875, allocations: 7.906 kB / 0.7548 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.3875, allocations: 0 / 0.7548 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3876, allocations: 314.8 kB / 0.7551 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.3877, allocations: 3.938 kB / 0.7551 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.159e-05/0.3877, allocations: 4 kB / 0.7551 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.981e-05/0.3877, allocations: 8.188 kB / 0.7551 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.022e-06/0.3877, allocations: 0 / 0.7551 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.138e-05/0.3878, allocations: 37.69 kB / 0.7551 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3879, allocations: 11.94 kB / 0.7551 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.991e-06/0.3879, allocations: 0 / 0.7551 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3879, allocations: 3.938 kB / 0.7551 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.3881, allocations: 11.98 kB / 0.7551 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004671/0.3886, allocations: 0.586 MB / 0.7557 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.659e-05/0.3886, allocations: 3.906 kB / 0.7557 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.3886, allocations: 4.031 kB / 0.7557 GB, free: 6.91 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 () * 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.387e-05/0.3887, allocations: 101 kB / 0.7558 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.3887, allocations: 0 / 0.7558 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.3889, allocations: 49.38 kB / 0.7559 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.111e-06/0.3889, allocations: 0 / 0.7559 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.3889, allocations: 4.125 kB / 0.7559 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3889, allocations: 3.953 kB / 0.7559 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.389, allocations: 130.2 kB / 0.756 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-06/0.3891, allocations: 0 / 0.756 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.311e-05/0.3892, allocations: 8 kB / 0.756 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3892, allocations: 0 / 0.756 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.427e-06/0.3892, allocations: 0 / 0.756 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000425/0.3896, allocations: 0.5899 MB / 0.7566 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.007e-06/0.3896, allocations: 4.094 kB / 0.7566 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.447e-05/0.3898, allocations: 61.11 kB / 0.7566 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.3898, allocations: 77.11 kB / 0.7567 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.3898, allocations: 3.984 kB / 0.7567 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.231e-05/0.3899, allocations: 4 kB / 0.7567 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.3899, allocations: 7.953 kB / 0.7567 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-06/0.3899, allocations: 0 / 0.7567 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.801e-05/0.39, allocations: 83.31 kB / 0.7568 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.05e-07/0.39, allocations: 0 / 0.7568 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002727/0.3903, allocations: 19.94 kB / 0.7568 GB, free: 5.668 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 () * 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.0001916/0.3905, allocations: 115.2 kB / 0.7569 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001641/0.3907, allocations: 15.98 kB / 0.7569 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.64e-06/0.3907, allocations: 0 / 0.7569 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.3908, allocations: 16.09 kB / 0.757 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/0.3909, allocations: 0 / 0.757 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001744/0.3911, allocations: 63.89 kB / 0.757 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.3914, allocations: 0.6768 MB / 0.7577 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.596e-05/0.3915, allocations: 0 / 0.7577 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/0.3915, allocations: 7.438 kB / 0.7577 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of SimCode: time 1.291e-06/0.3915, allocations: 0 / 0.7577 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of Templates: time 0.002665/0.3942, allocations: 409 kB / 0.7581 GB, free: 4.316 MB / 0.6355 GB