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.004295/0.004295, allocations: 233.9 kB / 15.8 MB, free: 6.32 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.001171/0.001171, allocations: 181.3 kB / 16.69 MB, free: 5.473 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 4.009/4.009, allocations: 389.1 MB / 406.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.714/4.714, allocations: 472.3 MB / 0.9024 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005362/0.0005364, allocations: 12.22 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1968, allocations: 98.73 MB / 1.105 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002426/0.1993, allocations: 1.226 MB / 1.106 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004309/0.1998, allocations: 108.5 kB / 1.106 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.152e-05/0.1998, allocations: 0 / 1.106 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.2, allocations: 7.922 kB / 1.106 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.222e-05/0.2001, allocations: 3.938 kB / 1.106 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.2003, allocations: 23.97 kB / 1.106 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.2005, allocations: 59.02 kB / 1.106 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.2006, allocations: 16.94 kB / 1.106 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.563e-05/0.2007, allocations: 15.97 kB / 1.106 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.62e-05/0.2008, allocations: 19.86 kB / 1.106 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.2008, allocations: 5.875 kB / 1.106 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.178e-05/0.2009, allocations: 8 kB / 1.106 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.888e-05/0.201, allocations: 7.984 kB / 1.106 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.201, allocations: 37.64 kB / 1.106 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.2011, allocations: 39.91 kB / 1.106 GB, free: 40.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2012, allocations: 3.344 kB / 1.106 GB, free: 40.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2012, allocations: 0 / 1.106 GB, free: 40.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2012, allocations: 0 / 1.106 GB, free: 40.52 MB / 0.6042 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.0007032/0.2019, allocations: 382.5 kB / 1.107 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.202, allocations: 12.02 kB / 1.107 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.202, allocations: 11.86 kB / 1.107 GB, free: 40.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.2022, allocations: 179 kB / 1.107 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.2023, allocations: 3.938 kB / 1.107 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.2023, allocations: 8 kB / 1.107 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/0.2028, allocations: 93.08 kB / 1.107 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2028, allocations: 0.6094 kB / 1.107 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.2029, allocations: 4 kB / 1.107 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.2029, allocations: 3.953 kB / 1.107 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000722/0.2036, allocations: 103.5 kB / 1.107 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008448/0.2045, allocations: 337.2 kB / 1.107 GB, free: 39.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.2049, allocations: 76 kB / 1.107 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/0.2053, allocations: 54.72 kB / 1.107 GB, free: 39.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.637e-05/0.2054, allocations: 4.031 kB / 1.107 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.2054, allocations: 33.81 kB / 1.107 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.735e-06/0.2054, allocations: 3.938 kB / 1.107 GB, free: 39.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.001183/0.2066, allocations: 175.3 kB / 1.108 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.2067, allocations: 51.41 kB / 1.108 GB, free: 38.87 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.2068, allocations: 117.8 kB / 1.108 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.2068, allocations: 25.7 kB / 1.108 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.2069, allocations: 104 kB / 1.108 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.2069, allocations: 8.594 kB / 1.108 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-06/0.2069, allocations: 4 kB / 1.108 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.902e-05/0.207, allocations: 322.3 kB / 1.108 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.2074, allocations: 39.97 kB / 1.108 GB, free: 38.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003505/0.2078, allocations: 51.92 kB / 1.108 GB, free: 38.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.2082, allocations: 39.97 kB / 1.108 GB, free: 38.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2082, allocations: 2.75 kB / 1.108 GB, free: 38.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007843/0.209, allocations: 128.4 kB / 1.108 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.209, allocations: 4 kB / 1.108 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.209, allocations: 0 / 1.108 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2091, allocations: 2.781 kB / 1.108 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.2093, allocations: 23.97 kB / 1.108 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.2094, allocations: 0 / 1.108 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.2096, allocations: 22.98 kB / 1.108 GB, free: 37.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.2096, allocations: 4 kB / 1.108 GB, free: 37.97 MB / 0.6042 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 9.637e-05/0.2097, allocations: 109.8 kB / 1.109 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.839e-05/0.2098, allocations: 11.86 kB / 1.109 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008186/0.2106, allocations: 143.4 kB / 1.109 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.2107, allocations: 0 / 1.109 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2107, allocations: 0 / 1.109 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.2107, allocations: 81.02 kB / 1.109 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.2108, allocations: 2.5 kB / 1.109 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.211, allocations: 19.98 kB / 1.109 GB, free: 37.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.2111, allocations: 7.984 kB / 1.109 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009305/0.212, allocations: 223.8 kB / 1.109 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000818/0.2129, allocations: 297.1 kB / 1.109 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003749/0.2133, allocations: 50.44 kB / 1.109 GB, free: 37 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.663e-05/0.2134, allocations: 90.47 kB / 1.109 GB, free: 36.92 MB / 0.6042 GB Notification: Performance of Backend: time 7.52e-07/0.2134, allocations: 3.938 kB / 1.109 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.2144, allocations: 137.3 kB / 1.11 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0006206/0.215, allocations: 0.5881 MB / 1.11 GB, free: 36.14 MB / 0.6042 GB Notification: Performance of Templates: time 0.004343/0.2194, allocations: 0.7993 MB / 1.111 GB, free: 35.39 MB / 0.6042 GB