Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01807/0.01807, allocations: 218.8 kB / 15.18 MB, free: 6.016 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.001777/0.001778, allocations: 182.4 kB / 16.06 MB, free: 5.879 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.026/4.026, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.293/4.293, allocations: 472.3 MB / 0.9017 GB, free: 3.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004818, allocations: 12 kB / 1.008 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6608/0.6613, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006346/0.662, allocations: 327.5 kB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000172/0.6622, allocations: 34.84 kB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.445e-05/0.6622, allocations: 3.938 kB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.6623, allocations: 1.469 kB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.006e-05/0.6623, allocations: 2.406 kB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.6625, allocations: 10.06 kB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.762e-05/0.6625, allocations: 2.688 kB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.6626, allocations: 0.9375 kB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 1.923e-05/0.6626, allocations: 7.469 kB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.525e-05/0.6626, allocations: 7.344 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.6626, allocations: 0 / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.436e-05/0.6627, allocations: 16.92 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.6628, allocations: 2.312 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.6628, allocations: 27.44 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 6.364e-05/0.6629, allocations: 12.3 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.22e-06/0.6629, allocations: 3.5 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.508e-06/0.6629, allocations: 0 / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.18e-06/0.6629, allocations: 4.781 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000215/0.6631, allocations: 346.5 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.6632, allocations: 8.938 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.6632, allocations: 1.438 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.567e-05/0.6633, allocations: 169.8 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.6633, allocations: 0.625 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.6633, allocations: 4.906 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.6635, allocations: 62 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.6635, allocations: 0 / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.673e-06/0.6635, allocations: 1.031 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.6635, allocations: 4.531 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.06e-05/0.6636, allocations: 24.2 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.6639, allocations: 268 kB / 1.105 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.105e-05/0.664, allocations: 25.45 kB / 1.105 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.664, allocations: 9.156 kB / 1.105 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.086e-06/0.664, allocations: 0 / 1.105 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.664, allocations: 34.5 kB / 1.105 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.782e-06/0.6641, allocations: 0 / 1.105 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001714/0.6642, allocations: 76.09 kB / 1.105 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.6643, allocations: 77.11 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/0.6644, allocations: 121.2 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.6644, allocations: 35.33 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.6644, allocations: 98.67 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.143e-05/0.6645, allocations: 6.188 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-06/0.6645, allocations: 5.25 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.983e-05/0.6645, allocations: 313.2 kB / 1.106 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.098e-05/0.6646, allocations: 8.344 kB / 1.106 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.144e-05/0.6646, allocations: 59.89 kB / 1.106 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.809e-05/0.6647, allocations: 52.27 kB / 1.106 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.622e-06/0.6647, allocations: 1.062 kB / 1.106 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001794/0.6649, allocations: 120 kB / 1.106 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.6649, allocations: 31.8 kB / 1.106 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.942e-06/0.665, allocations: 10.78 kB / 1.106 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.665, allocations: 6.234 kB / 1.106 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.589e-05/0.6651, allocations: 15.95 kB / 1.106 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.896e-06/0.6651, allocations: 3.281 kB / 1.106 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.037e-05/0.6652, allocations: 4.406 kB / 1.106 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.6652, allocations: 5.156 kB / 1.106 GB, free: 210.7 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 7.516e-05/0.6653, allocations: 149.8 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.6653, allocations: 2.016 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.527e-05/0.6654, allocations: 10.28 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.39e-06/0.6654, allocations: 3.953 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.026e-06/0.6654, allocations: 10.69 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.974e-06/0.6654, allocations: 0 / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.6655, allocations: 152 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6655, allocations: 0 / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.302e-06/0.6656, allocations: 2.094 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.583e-06/0.6656, allocations: 3.5 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.129e-06/0.6656, allocations: 0 / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.892e-06/0.6656, allocations: 9.828 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.34e-06/0.6656, allocations: 3.953 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.6657, allocations: 160.8 kB / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.6658, allocations: 79.22 kB / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.6658, allocations: 6.031 kB / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.6659, allocations: 0 / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.673e-05/0.6659, allocations: 2.562 kB / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.6659, allocations: 5.391 kB / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.897e-05/0.666, allocations: 91.47 kB / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.62e-07/0.666, allocations: 0 / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003344/0.6663, allocations: 8.938 kB / 1.107 GB, free: 210 MB / 0.7292 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000184/0.6665, allocations: 120.9 kB / 1.107 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001532/0.6667, allocations: 85.3 kB / 1.107 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6667, allocations: 0 / 1.107 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.496e-05/0.6667, allocations: 53.75 kB / 1.107 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.667, allocations: 7.969 kB / 1.107 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002154/0.6672, allocations: 110.6 kB / 1.107 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.6674, allocations: 0.6783 MB / 1.108 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.963e-05/0.6675, allocations: 12.97 kB / 1.108 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.291e-05/0.6675, allocations: 11.84 kB / 1.108 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.419e-06/0.6675, allocations: 0 / 1.108 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.002959/0.6705, allocations: 0.4913 MB / 1.109 GB, free: 208.9 MB / 0.7292 GB