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_m_flow.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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadModel(Buildings): time 4.152/4.152, allocations: 433.3 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.251e-05/2.266e-05, allocations: 4 kB / 0.5325 GB, free: 1.863 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4957/0.4958, allocations: 98.72 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.691, allocations: 124.2 MB / 0.7502 GB, free: 3.332 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.6913, allocations: 75.95 kB / 0.7503 GB, free: 3.258 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.009658/0.701, allocations: 2.257 MB / 0.7525 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.96e-06/0.701, allocations: 4 kB / 0.7525 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.915e-06/0.7011, allocations: 0 / 0.7525 GB, free: 0.9922 MB / 0.6198 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.0003289/0.7014, allocations: 330.5 kB / 0.7528 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.7015, allocations: 16.02 kB / 0.7528 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.7015, allocations: 3.953 kB / 0.7528 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.7016, allocations: 163.1 kB / 0.753 GB, free: 416 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.7017, allocations: 0 / 0.753 GB, free: 416 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.7017, allocations: 0 / 0.753 GB, free: 416 kB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.417e-05/0.7017, allocations: 4 kB / 0.753 GB, free: 412 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.525e-05/0.7018, allocations: 37.64 kB / 0.753 GB, free: 368 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.7018, allocations: 3.984 kB / 0.753 GB, free: 364 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.7019, allocations: 4 kB / 0.753 GB, free: 360 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.7019, allocations: 0 / 0.753 GB, free: 360 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.702, allocations: 138.2 kB / 0.7532 GB, free: 184 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.068e-05/0.7021, allocations: 22.52 kB / 0.7532 GB, free: 152 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.12e-05/0.7021, allocations: 4.859 kB / 0.7532 GB, free: 144 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.7022, allocations: 8.062 kB / 0.7532 GB, free: 136 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.7022, allocations: 34.56 kB / 0.7532 GB, free: 92 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.955e-06/0.7022, allocations: 0 / 0.7532 GB, free: 92 kB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001283/0.7024, allocations: 45.56 kB / 0.7533 GB, free: 40 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.7024, allocations: 51.41 kB / 0.7533 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.282e-05/0.7025, allocations: 85 kB / 0.7534 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.7026, allocations: 25.7 kB / 0.7534 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.7026, allocations: 88.3 kB / 0.7535 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.7026, allocations: 7.906 kB / 0.7535 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-06/0.7027, allocations: 0 / 0.7535 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.7028, allocations: 318.8 kB / 0.7538 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.146e-05/0.7028, allocations: 0 / 0.7538 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.082e-05/0.7029, allocations: 6.141 kB / 0.7538 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.689e-05/0.7029, allocations: 0 / 0.7538 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.07e-06/0.7029, allocations: 4 kB / 0.7538 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.875e-05/0.703, allocations: 41.77 kB / 0.7539 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.703, allocations: 4 kB / 0.7539 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.497e-06/0.703, allocations: 0 / 0.7539 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.7031, allocations: 0 / 0.7539 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.7032, allocations: 15.92 kB / 0.7539 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004539/0.7037, allocations: 0.582 MB / 0.7545 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.785e-05/0.7037, allocations: 3.953 kB / 0.7545 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.7038, allocations: 4.156 kB / 0.7545 GB, free: 14.75 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 8.451e-05/0.7039, allocations: 105 kB / 0.7546 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.7039, allocations: 0 / 0.7546 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.704, allocations: 45.44 kB / 0.7546 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.415e-06/0.704, allocations: 0 / 0.7546 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.396e-06/0.704, allocations: 0 / 0.7546 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.829e-06/0.7041, allocations: 7.938 kB / 0.7546 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.7042, allocations: 130.2 kB / 0.7547 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7042, allocations: 0 / 0.7547 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.753e-05/0.7043, allocations: 16.02 kB / 0.7548 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.809e-06/0.7043, allocations: 0 / 0.7548 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-06/0.7043, allocations: 0 / 0.7548 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000433/0.7048, allocations: 0.586 MB / 0.7553 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.514e-06/0.7048, allocations: 3.953 kB / 0.7553 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.503e-05/0.7049, allocations: 65.25 kB / 0.7554 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.705, allocations: 81.02 kB / 0.7555 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.705, allocations: 3.938 kB / 0.7555 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.999e-05/0.705, allocations: 4 kB / 0.7555 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.7051, allocations: 7.891 kB / 0.7555 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-06/0.7051, allocations: 0 / 0.7555 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.552e-05/0.7051, allocations: 75.28 kB / 0.7556 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.65e-07/0.7051, allocations: 4 kB / 0.7556 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002597/0.7054, allocations: 4.125 kB / 0.7556 GB, free: 13.52 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.0001941/0.7056, allocations: 124.6 kB / 0.7557 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001706/0.7058, allocations: 19.98 kB / 0.7557 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.7058, allocations: 0 / 0.7557 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.9e-05/0.7059, allocations: 8 kB / 0.7557 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.7061, allocations: 0 / 0.7557 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001755/0.7062, allocations: 60.11 kB / 0.7558 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.7066, allocations: 0.6768 MB / 0.7564 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.729e-05/0.7066, allocations: 0 / 0.7564 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.589e-05/0.7066, allocations: 7.438 kB / 0.7564 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of SimCode: time 1.385e-06/0.7067, allocations: 0 / 0.7564 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of Templates: time 0.002675/0.7093, allocations: 423.2 kB / 0.7568 GB, free: 12.15 MB / 0.6355 GB