Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.Average.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008811/0.008811, allocations: 110.3 kB / 15.05 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00107/0.00107, allocations: 189.3 kB / 15.95 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.939/1.939, allocations: 194.5 MB / 211.2 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.27/2.27, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.0004591, allocations: 12 kB / 0.5869 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.605/0.6055, allocations: 98.71 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2032/0.8088, allocations: 124.7 MB / 0.8051 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.8091, allocations: 75.95 kB / 0.8052 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004229/0.8133, allocations: 1.103 MB / 0.8063 GB, free: 440 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.308e-06/0.8133, allocations: 0 / 0.8063 GB, free: 440 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.437e-06/0.8134, allocations: 0 / 0.8063 GB, free: 440 kB / 0.6198 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.0005305/0.8139, allocations: 379.2 kB / 0.8066 GB, free: 12 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.814, allocations: 8.031 kB / 0.8066 GB, free: 4 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.36e-05/0.814, allocations: 12.08 kB / 0.8067 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.8143, allocations: 186.7 kB / 0.8068 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.8143, allocations: 8 kB / 0.8068 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.8143, allocations: 4 kB / 0.8068 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.8146, allocations: 97.58 kB / 0.8069 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.527e-06/0.8147, allocations: 0 / 0.8069 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.8147, allocations: 0 / 0.8069 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.141e-06/0.8147, allocations: 7.938 kB / 0.8069 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003929/0.8151, allocations: 99.91 kB / 0.807 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006523/0.8158, allocations: 340.7 kB / 0.8074 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.8161, allocations: 74.53 kB / 0.8074 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.8161, allocations: 3.984 kB / 0.8074 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.8162, allocations: 30.56 kB / 0.8075 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.138e-06/0.8162, allocations: 0 / 0.8075 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0007078/0.8169, allocations: 185.6 kB / 0.8077 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.8169, allocations: 51.41 kB / 0.8077 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.8171, allocations: 108.9 kB / 0.8078 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.8171, allocations: 25.7 kB / 0.8078 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.654e-05/0.8172, allocations: 104 kB / 0.8079 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.8172, allocations: 7.906 kB / 0.8079 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-06/0.8172, allocations: 0 / 0.8079 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.8174, allocations: 318.8 kB / 0.8082 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.8176, allocations: 43.95 kB / 0.8083 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.8178, allocations: 47.95 kB / 0.8083 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.818, allocations: 43.97 kB / 0.8084 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.312e-06/0.818, allocations: 0 / 0.8084 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004531/0.8185, allocations: 137.5 kB / 0.8085 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.8185, allocations: 5.406 kB / 0.8085 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.957e-06/0.8185, allocations: 0 / 0.8085 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.8185, allocations: 0 / 0.8085 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.8187, allocations: 23.94 kB / 0.8085 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.8187, allocations: 0 / 0.8085 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.8189, allocations: 23.97 kB / 0.8085 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.8189, allocations: 0 / 0.8085 GB, free: 13.89 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 () * Number of clocked 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 0.0001204/0.819, allocations: 113.8 kB / 0.8087 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.8191, allocations: 4 kB / 0.8087 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005093/0.8196, allocations: 137.4 kB / 0.8088 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.161e-06/0.8196, allocations: 4 kB / 0.8088 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.8196, allocations: 3.953 kB / 0.8088 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.159e-06/0.8196, allocations: 3.938 kB / 0.8088 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.8199, allocations: 177.6 kB / 0.809 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.148e-06/0.8199, allocations: 0 / 0.809 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.8201, allocations: 23.98 kB / 0.809 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.4e-06/0.8201, allocations: 0 / 0.809 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.233e-06/0.8201, allocations: 0 / 0.809 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.156e-06/0.8201, allocations: 0 / 0.809 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.859e-06/0.8201, allocations: 0 / 0.809 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005036/0.8206, allocations: 231.3 kB / 0.8092 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.8207, allocations: 85.02 kB / 0.8093 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.8207, allocations: 0 / 0.8093 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.8209, allocations: 23.91 kB / 0.8093 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.8209, allocations: 432 / 0.8093 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.821, allocations: 4 kB / 0.8093 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.57e-05/0.8211, allocations: 91.27 kB / 0.8094 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.99e-07/0.8211, allocations: 4 kB / 0.8094 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003287/0.8214, allocations: 19.89 kB / 0.8094 GB, free: 12.88 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 () * Number of clocked 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.000162/0.8216, allocations: 107.2 kB / 0.8095 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004476/0.822, allocations: 95.92 kB / 0.8096 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.102e-06/0.8221, allocations: 3.938 kB / 0.8096 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.8223, allocations: 56.03 kB / 0.8097 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.8225, allocations: 12.7 kB / 0.8097 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.8229, allocations: 160.8 kB / 0.8099 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.8233, allocations: 0.6926 MB / 0.8105 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.224e-05/0.8234, allocations: 11.98 kB / 0.8105 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.8234, allocations: 11.44 kB / 0.8106 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of SimCode: time 1.567e-06/0.8235, allocations: 0 / 0.8106 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of Templates: time 0.003315/0.8268, allocations: 0.5945 MB / 0.8111 GB, free: 11.08 MB / 0.6355 GB