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.Functions.Examples.TrapezoidalIntegration.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.434/4.434, allocations: 433.4 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.098e-05/3.107e-05, allocations: 11.94 kB / 0.5325 GB, free: 1.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5049/0.5049, allocations: 98.72 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2526/0.7576, allocations: 123 MB / 0.7491 GB, free: 4.52 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003933/0.7581, allocations: 79.83 kB / 0.7492 GB, free: 4.441 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.001965/0.7601, allocations: 0.5641 MB / 0.7497 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.344e-06/0.7601, allocations: 0 / 0.7497 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.274e-06/0.7601, allocations: 0 / 0.7497 GB, free: 3.875 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.0003223/0.7604, allocations: 344.3 kB / 0.75 GB, free: 3.488 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.7605, allocations: 8.031 kB / 0.7501 GB, free: 3.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.7605, allocations: 4 kB / 0.7501 GB, free: 3.477 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.7607, allocations: 167 kB / 0.7502 GB, free: 3.273 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.681e-06/0.7607, allocations: 0 / 0.7502 GB, free: 3.273 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.7607, allocations: 0 / 0.7502 GB, free: 3.273 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.028e-05/0.7608, allocations: 23.98 kB / 0.7502 GB, free: 3.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.7609, allocations: 53.69 kB / 0.7503 GB, free: 3.191 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.761, allocations: 0 / 0.7503 GB, free: 3.191 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.626e-06/0.761, allocations: 3.938 kB / 0.7503 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.761, allocations: 7.984 kB / 0.7503 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.7614, allocations: 241.4 kB / 0.7505 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.985e-05/0.7614, allocations: 18.58 kB / 0.7506 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.906e-05/0.7615, allocations: 8.859 kB / 0.7506 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-06/0.7615, allocations: 0 / 0.7506 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.7615, allocations: 38.61 kB / 0.7506 GB, free: 2.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.875e-06/0.7615, allocations: 0 / 0.7506 GB, free: 2.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001798/0.7617, allocations: 37.59 kB / 0.7506 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.7618, allocations: 81.11 kB / 0.7507 GB, free: 2.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.7619, allocations: 108.9 kB / 0.7508 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.7619, allocations: 25.7 kB / 0.7508 GB, free: 2.535 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.762, allocations: 103.8 kB / 0.7509 GB, free: 2.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.762, allocations: 7.984 kB / 0.7509 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.44e-06/0.762, allocations: 4 kB / 0.7509 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.7622, allocations: 310.8 kB / 0.7512 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.295e-05/0.7622, allocations: 7.938 kB / 0.7513 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.327e-05/0.7623, allocations: 62.86 kB / 0.7513 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.552e-05/0.7624, allocations: 19.92 kB / 0.7513 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.938e-06/0.7624, allocations: 0 / 0.7513 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001964/0.7626, allocations: 85.55 kB / 0.7514 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/0.7627, allocations: 29.7 kB / 0.7514 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.7627, allocations: 4 kB / 0.7514 GB, free: 1.863 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.7627, allocations: 0 / 0.7514 GB, free: 1.863 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.824e-05/0.7628, allocations: 12 kB / 0.7515 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.7628, allocations: 3.953 kB / 0.7515 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.484e-05/0.7629, allocations: 19.83 kB / 0.7515 GB, free: 1.828 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.763, allocations: 4 kB / 0.7515 GB, free: 1.824 MB / 0.6198 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 () * 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.0001137/0.7631, allocations: 142.9 kB / 0.7516 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.7631, allocations: 0 / 0.7516 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.385e-05/0.7632, allocations: 7.906 kB / 0.7516 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.7632, allocations: 4 kB / 0.7516 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.66e-06/0.7632, allocations: 0 / 0.7516 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.7632, allocations: 3.953 kB / 0.7516 GB, free: 1.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.7634, allocations: 130.3 kB / 0.7518 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.885e-06/0.7634, allocations: 0 / 0.7518 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.389e-06/0.7634, allocations: 0 / 0.7518 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.762e-06/0.7634, allocations: 0 / 0.7518 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.7634, allocations: 12 kB / 0.7518 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.862e-06/0.7634, allocations: 0 / 0.7518 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.643e-06/0.7634, allocations: 4 kB / 0.7518 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.7636, allocations: 139.3 kB / 0.7519 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.7637, allocations: 77.11 kB / 0.752 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.7637, allocations: 4 kB / 0.752 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.7638, allocations: 0 / 0.752 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.7638, allocations: 16 kB / 0.752 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.7639, allocations: 4 kB / 0.752 GB, free: 1.211 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.621e-05/0.7639, allocations: 87.73 kB / 0.7521 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.61e-07/0.7639, allocations: 0 / 0.7521 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003375/0.7643, allocations: 8 kB / 0.7521 GB, free: 1.117 MB / 0.6198 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 (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.0001939/0.7645, allocations: 111.2 kB / 0.7522 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00015/0.7647, allocations: 79.72 kB / 0.7523 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.782e-06/0.7647, allocations: 4.125 kB / 0.7523 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.845e-05/0.7647, allocations: 55.41 kB / 0.7523 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.7649, allocations: 8.188 kB / 0.7523 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001955/0.7651, allocations: 63.92 kB / 0.7524 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.7655, allocations: 0.6807 MB / 0.7531 GB, free: 36 kB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.895e-05/0.7656, allocations: 12.17 kB / 0.7531 GB, free: 24 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.287e-05/0.7656, allocations: 11.5 kB / 0.7531 GB, free: 12 kB / 0.6198 GB Notification: Performance of SimCode: time 1.337e-06/0.7656, allocations: 0 / 0.7531 GB, free: 12 kB / 0.6198 GB Notification: Performance of Templates: time 0.002895/0.7685, allocations: 498.5 kB / 0.7536 GB, free: 15.53 MB / 0.6355 GB