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.008985/0.008986, allocations: 110.2 kB / 15.05 MB, free: 5.98 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.001203/0.001203, allocations: 183.7 kB / 15.94 MB, free: 5.941 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 2.034/2.034, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.134/2.134, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004741, allocations: 15.98 kB / 0.587 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5416/0.5421, allocations: 98.71 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1856/0.7277, allocations: 123.8 MB / 0.8042 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.728, allocations: 71.95 kB / 0.8043 GB, free: 2.426 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.001601/0.7296, allocations: 0.5564 MB / 0.8049 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.385e-06/0.7296, allocations: 0 / 0.8049 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.7297, allocations: 0 / 0.8049 GB, free: 1.867 MB / 0.6198 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.0003169/0.73, allocations: 353 kB / 0.8052 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.73, allocations: 12.03 kB / 0.8052 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.7301, allocations: 0 / 0.8052 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.7302, allocations: 167 kB / 0.8054 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.7302, allocations: 0 / 0.8054 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.7302, allocations: 4 kB / 0.8054 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.7304, allocations: 53.67 kB / 0.8054 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.995e-06/0.7304, allocations: 3.938 kB / 0.8054 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.7304, allocations: 11.92 kB / 0.8054 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.7305, allocations: 8 kB / 0.8054 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.961e-05/0.7305, allocations: 19.98 kB / 0.8055 GB, free: 1.148 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.7309, allocations: 268.8 kB / 0.8057 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.847e-05/0.731, allocations: 22.58 kB / 0.8057 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.818e-06/0.731, allocations: 0 / 0.8057 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.731, allocations: 34.56 kB / 0.8058 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.887e-06/0.7311, allocations: 3.938 kB / 0.8058 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001859/0.7313, allocations: 71.41 kB / 0.8058 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.7313, allocations: 77.11 kB / 0.8059 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.973e-05/0.7314, allocations: 112.8 kB / 0.806 GB, free: 476 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.7315, allocations: 29.7 kB / 0.8061 GB, free: 440 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.7315, allocations: 99.8 kB / 0.8062 GB, free: 336 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.246e-06/0.7316, allocations: 0 / 0.8062 GB, free: 336 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.802e-06/0.7316, allocations: 4 kB / 0.8062 GB, free: 332 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.7317, allocations: 319 kB / 0.8065 GB, free: 4 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.258e-05/0.7318, allocations: 8.047 kB / 0.8065 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.57e-05/0.7319, allocations: 63.06 kB / 0.8065 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.135e-05/0.732, allocations: 49.69 kB / 0.8066 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.739e-06/0.732, allocations: 0 / 0.8066 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000208/0.7322, allocations: 119.2 kB / 0.8067 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.7323, allocations: 29.95 kB / 0.8067 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.906e-06/0.7323, allocations: 8.156 kB / 0.8067 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.7323, allocations: 0 / 0.8067 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.433e-05/0.7324, allocations: 19.94 kB / 0.8067 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.7324, allocations: 7.984 kB / 0.8068 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.251e-05/0.7325, allocations: 11.84 kB / 0.8068 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.7325, allocations: 4 kB / 0.8068 GB, free: 15.64 MB / 0.6355 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 0.0001227/0.7326, allocations: 147.5 kB / 0.8069 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.7327, allocations: 4 kB / 0.8069 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.646e-05/0.7327, allocations: 3.531 kB / 0.8069 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.419e-06/0.7327, allocations: 4 kB / 0.8069 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.879e-06/0.7327, allocations: 7.953 kB / 0.8069 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.711e-06/0.7328, allocations: 0 / 0.8069 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.733, allocations: 153.7 kB / 0.8071 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-06/0.733, allocations: 3.938 kB / 0.8071 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.046e-06/0.733, allocations: 0 / 0.8071 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.441e-06/0.733, allocations: 0 / 0.8071 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.682e-06/0.733, allocations: 0 / 0.8071 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.798e-06/0.733, allocations: 0 / 0.8071 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.505e-06/0.733, allocations: 0 / 0.8071 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.7332, allocations: 177 kB / 0.8072 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.7333, allocations: 81.11 kB / 0.8073 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.7333, allocations: 0 / 0.8073 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.7334, allocations: 0 / 0.8073 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.7334, allocations: 0 / 0.8073 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.711e-06/0.7334, allocations: 7.984 kB / 0.8073 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.566e-05/0.7335, allocations: 87.28 kB / 0.8074 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.74e-07/0.7335, allocations: 4.031 kB / 0.8074 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003256/0.7338, allocations: 11.95 kB / 0.8074 GB, free: 14.85 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 (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.0001689/0.734, allocations: 111.2 kB / 0.8075 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001496/0.7342, allocations: 83.33 kB / 0.8076 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.573e-06/0.7342, allocations: 3.938 kB / 0.8076 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.082e-05/0.7343, allocations: 55.91 kB / 0.8077 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.7344, allocations: 12 kB / 0.8077 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002309/0.7347, allocations: 108.1 kB / 0.8078 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.735, allocations: 0.6809 MB / 0.8085 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.165e-05/0.7351, allocations: 12.17 kB / 0.8085 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.284e-05/0.7351, allocations: 11.38 kB / 0.8085 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of SimCode: time 1.322e-06/0.7351, allocations: 4 kB / 0.8085 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of Templates: time 0.002884/0.738, allocations: 490.7 kB / 0.8089 GB, free: 13.21 MB / 0.6355 GB