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.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadModel(Buildings): time 4.019/4.019, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.883e-05/3.898e-05, allocations: 4.844 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1761, allocations: 98.73 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1967/0.3729, allocations: 126.1 MB / 0.7579 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.3732, allocations: 79.94 kB / 0.758 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02569/0.3989, allocations: 5.318 MB / 0.7632 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.918e-06/0.3989, allocations: 0 / 0.7632 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.177e-06/0.3989, allocations: 0 / 0.7632 GB, free: 14.19 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000438/0.3994, allocations: 354.3 kB / 0.7635 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3994, allocations: 8.031 kB / 0.7635 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.3995, allocations: 7.953 kB / 0.7635 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.3997, allocations: 171 kB / 0.7637 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3997, allocations: 0 / 0.7637 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.3997, allocations: 8 kB / 0.7637 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.3998, allocations: 41.58 kB / 0.7637 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.991e-06/0.3998, allocations: 0 / 0.7637 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.3999, allocations: 7.984 kB / 0.7637 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.337e-06/0.3999, allocations: 0 / 0.7637 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.191e-05/0.4, allocations: 15.95 kB / 0.7638 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.4004, allocations: 249 kB / 0.764 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.4006, allocations: 50.56 kB / 0.764 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/0.4007, allocations: 16.86 kB / 0.7641 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.4007, allocations: 7.938 kB / 0.7641 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.4007, allocations: 30.56 kB / 0.7641 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 4.212e-06/0.4008, allocations: 3.984 kB / 0.7641 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0001789/0.4009, allocations: 57.64 kB / 0.7641 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.401, allocations: 55.41 kB / 0.7642 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.407e-05/0.4011, allocations: 85 kB / 0.7643 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.4011, allocations: 33.7 kB / 0.7643 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.4012, allocations: 80.14 kB / 0.7644 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.4012, allocations: 15.73 kB / 0.7644 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-06/0.4013, allocations: 0 / 0.7644 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4014, allocations: 318.8 kB / 0.7647 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.54e-05/0.4015, allocations: 8 kB / 0.7647 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.129e-05/0.4015, allocations: 17.72 kB / 0.7647 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.689e-05/0.4016, allocations: 11.98 kB / 0.7647 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.378e-06/0.4016, allocations: 0 / 0.7647 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001356/0.4017, allocations: 57.62 kB / 0.7648 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.4017, allocations: 8 kB / 0.7648 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.021e-06/0.4018, allocations: 0 / 0.7648 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.4018, allocations: 0 / 0.7648 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.529e-05/0.4019, allocations: 15.98 kB / 0.7648 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.4019, allocations: 0 / 0.7648 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.425e-05/0.4019, allocations: 3.938 kB / 0.7648 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.4019, allocations: 4 kB / 0.7648 GB, free: 12.26 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.365e-05/0.402, allocations: 101 kB / 0.7649 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.4021, allocations: 7.906 kB / 0.7649 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.4023, allocations: 61.11 kB / 0.765 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.644e-06/0.4023, allocations: 4 kB / 0.765 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.4023, allocations: 7.953 kB / 0.765 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.926e-06/0.4023, allocations: 3.938 kB / 0.765 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.4025, allocations: 161.7 kB / 0.7652 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-06/0.4026, allocations: 0 / 0.7652 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.408e-05/0.4026, allocations: 12.12 kB / 0.7652 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.76e-06/0.4026, allocations: 0 / 0.7652 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.4026, allocations: 3.984 kB / 0.7652 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.483e-06/0.4027, allocations: 0 / 0.7652 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.765e-06/0.4027, allocations: 0 / 0.7652 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.4029, allocations: 151.4 kB / 0.7653 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.4029, allocations: 88.95 kB / 0.7654 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.403, allocations: 4 kB / 0.7654 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.4031, allocations: 0 / 0.7654 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.4031, allocations: 384 / 0.7654 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.81e-06/0.4031, allocations: 4 kB / 0.7654 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.112e-05/0.4032, allocations: 83.25 kB / 0.7655 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.3e-07/0.4032, allocations: 0 / 0.7655 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003631/0.4035, allocations: 35.89 kB / 0.7655 GB, free: 11.45 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002258/0.4038, allocations: 123.2 kB / 0.7656 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.4039, allocations: 23.94 kB / 0.7657 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.863e-06/0.4039, allocations: 0 / 0.7657 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.237e-05/0.404, allocations: 11.98 kB / 0.7657 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.4041, allocations: 4 kB / 0.7657 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002296/0.4044, allocations: 68.92 kB / 0.7657 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.4048, allocations: 0.681 MB / 0.7664 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.426e-05/0.4048, allocations: 7.938 kB / 0.7664 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.4048, allocations: 7.438 kB / 0.7664 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of SimCode: time 1.395e-06/0.4049, allocations: 0 / 0.7664 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of Templates: time 0.002939/0.4078, allocations: 493 kB / 0.7669 GB, free: 9.988 MB / 0.6511 GB