Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.Average.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.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadModel(Buildings): time 3.934/3.934, allocations: 432.7 MB / 445.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.831e-05/2.848e-05, allocations: 5.031 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1875, allocations: 98.72 MB / 0.6347 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1999/0.3874, allocations: 124.6 MB / 0.7564 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.3877, allocations: 67.97 kB / 0.7565 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004221/0.392, allocations: 1.106 MB / 0.7576 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.534e-06/0.392, allocations: 0 / 0.7576 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.49e-06/0.392, allocations: 0 / 0.7576 GB, free: 3.953 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004956/0.3925, allocations: 372.6 kB / 0.7579 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3926, allocations: 8.031 kB / 0.7579 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.3926, allocations: 15.89 kB / 0.7579 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.3928, allocations: 186.8 kB / 0.7581 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.3929, allocations: 8 kB / 0.7581 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.3929, allocations: 0 / 0.7581 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.3931, allocations: 69.61 kB / 0.7582 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.038e-06/0.3931, allocations: 0 / 0.7582 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3931, allocations: 0 / 0.7582 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.296e-06/0.3931, allocations: 7.938 kB / 0.7582 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.3933, allocations: 36 kB / 0.7582 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006353/0.3939, allocations: 340.6 kB / 0.7586 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.394, allocations: 34.58 kB / 0.7586 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.3941, allocations: 16.86 kB / 0.7586 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.3941, allocations: 0 / 0.7586 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.3942, allocations: 34.66 kB / 0.7586 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.745e-06/0.3942, allocations: 0 / 0.7586 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002063/0.3944, allocations: 61.67 kB / 0.7587 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.3945, allocations: 59.39 kB / 0.7588 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.3946, allocations: 104.9 kB / 0.7589 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.3946, allocations: 29.7 kB / 0.7589 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.3947, allocations: 104 kB / 0.759 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.3947, allocations: 3.906 kB / 0.759 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.816e-06/0.3947, allocations: 7.938 kB / 0.759 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3949, allocations: 314.8 kB / 0.7593 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.605e-05/0.395, allocations: 11.98 kB / 0.7593 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.692e-05/0.395, allocations: 16 kB / 0.7593 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.387e-05/0.3951, allocations: 12 kB / 0.7593 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.158e-06/0.3951, allocations: 0 / 0.7593 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001499/0.3952, allocations: 61.53 kB / 0.7594 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3953, allocations: 9.719 kB / 0.7594 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.76e-06/0.3953, allocations: 3.984 kB / 0.7594 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3953, allocations: 0 / 0.7594 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.3955, allocations: 23.94 kB / 0.7594 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.649e-06/0.3955, allocations: 4 kB / 0.7594 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3956, allocations: 15.98 kB / 0.7595 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.3956, allocations: 0 / 0.7595 GB, free: 1.812 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 (3): * Single equations (assignments): 3 * 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.161e-05/0.3957, allocations: 101 kB / 0.7595 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.3958, allocations: 4 kB / 0.7596 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.396, allocations: 69.64 kB / 0.7596 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.396, allocations: 12.22 kB / 0.7596 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.045e-06/0.396, allocations: 3.953 kB / 0.7596 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.384e-06/0.396, allocations: 0 / 0.7596 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.3963, allocations: 185.5 kB / 0.7598 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.956e-06/0.3963, allocations: 0 / 0.7598 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.3964, allocations: 19.98 kB / 0.7598 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.178e-06/0.3965, allocations: 0 / 0.7598 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.015e-06/0.3965, allocations: 0 / 0.7598 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.058e-06/0.3965, allocations: 0 / 0.7598 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.638e-06/0.3965, allocations: 4 kB / 0.7598 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.3967, allocations: 159.4 kB / 0.76 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.3968, allocations: 89.02 kB / 0.7601 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.3968, allocations: 0 / 0.7601 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.397, allocations: 15.98 kB / 0.7601 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.3971, allocations: 11.92 kB / 0.7601 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.3971, allocations: 4 kB / 0.7601 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.076e-05/0.3972, allocations: 91.22 kB / 0.7602 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.09e-07/0.3972, allocations: 0 / 0.7602 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003065/0.3975, allocations: 15.89 kB / 0.7602 GB, free: 0.9414 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 (3): * Single equations (assignments): 3 * 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.0001555/0.3976, allocations: 106.3 kB / 0.7603 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.3978, allocations: 35.98 kB / 0.7603 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.357e-06/0.3978, allocations: 0 / 0.7603 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.141e-05/0.3979, allocations: 20 kB / 0.7604 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.3981, allocations: 3.984 kB / 0.7604 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.3984, allocations: 98.8 kB / 0.7605 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.3988, allocations: 0.6887 MB / 0.7611 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.79e-05/0.3989, allocations: 11.98 kB / 0.7611 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.3989, allocations: 15.44 kB / 0.7612 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of SimCode: time 1.353e-06/0.3989, allocations: 0 / 0.7612 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of Templates: time 0.003191/0.4021, allocations: 0.6077 MB / 0.7617 GB, free: 15.3 MB / 0.6511 GB