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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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 3.92/3.92, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 6.485e-05/6.496e-05, allocations: 6.703 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1818, allocations: 98.72 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.195/0.3768, allocations: 123.7 MB / 0.7555 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.3771, allocations: 71.95 kB / 0.7556 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001646/0.3788, allocations: 0.5515 MB / 0.7561 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.327e-06/0.3788, allocations: 0 / 0.7561 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.3788, allocations: 4 kB / 0.7562 GB, free: 5.391 MB / 0.6355 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.0003283/0.3792, allocations: 356 kB / 0.7565 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3792, allocations: 8.031 kB / 0.7565 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.3793, allocations: 4 kB / 0.7565 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.3794, allocations: 163 kB / 0.7567 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.3794, allocations: 0 / 0.7567 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.3794, allocations: 3.938 kB / 0.7567 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.3796, allocations: 57.67 kB / 0.7567 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3796, allocations: 3.984 kB / 0.7567 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3797, allocations: 0 / 0.7567 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.3797, allocations: 8 kB / 0.7567 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.321e-05/0.3798, allocations: 27.94 kB / 0.7568 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.3802, allocations: 260.8 kB / 0.757 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.727e-05/0.3803, allocations: 14.58 kB / 0.757 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/0.3803, allocations: 12.92 kB / 0.757 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.922e-06/0.3803, allocations: 0 / 0.757 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.47e-05/0.3804, allocations: 34.55 kB / 0.7571 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.943e-06/0.3804, allocations: 4 kB / 0.7571 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001951/0.3806, allocations: 71.28 kB / 0.7571 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.3806, allocations: 77.11 kB / 0.7572 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.3808, allocations: 116.8 kB / 0.7573 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.3808, allocations: 25.7 kB / 0.7573 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/0.3809, allocations: 99.86 kB / 0.7574 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.3809, allocations: 7.984 kB / 0.7574 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.3809, allocations: 0 / 0.7574 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3811, allocations: 318.9 kB / 0.7578 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.14e-05/0.3811, allocations: 8 kB / 0.7578 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.3e-05/0.3812, allocations: 67.22 kB / 0.7578 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.544e-05/0.3813, allocations: 53.62 kB / 0.7579 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.678e-06/0.3813, allocations: 0 / 0.7579 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002161/0.3816, allocations: 115.2 kB / 0.758 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.3816, allocations: 33.95 kB / 0.758 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3816, allocations: 4 kB / 0.758 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3817, allocations: 7.953 kB / 0.758 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.733e-05/0.3818, allocations: 11.98 kB / 0.758 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.877e-06/0.3818, allocations: 4 kB / 0.758 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.278e-05/0.3819, allocations: 11.84 kB / 0.7581 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.3819, allocations: 4 kB / 0.7581 GB, free: 3.164 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 () * 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.0001151/0.382, allocations: 138.6 kB / 0.7582 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.3821, allocations: 4 kB / 0.7582 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.326e-05/0.3821, allocations: 7.656 kB / 0.7582 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.3821, allocations: 0 / 0.7582 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.3821, allocations: 3.953 kB / 0.7582 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3821, allocations: 0 / 0.7582 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.3823, allocations: 153.7 kB / 0.7584 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-06/0.3824, allocations: 0 / 0.7584 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-06/0.3824, allocations: 4 kB / 0.7584 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.891e-06/0.3824, allocations: 3.984 kB / 0.7584 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.814e-06/0.3824, allocations: 3.938 kB / 0.7584 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.905e-06/0.3824, allocations: 0 / 0.7584 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.007e-06/0.3824, allocations: 0 / 0.7584 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.3826, allocations: 169.1 kB / 0.7585 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.3827, allocations: 81.09 kB / 0.7586 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.3827, allocations: 4 kB / 0.7586 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.171e-05/0.3828, allocations: 4 kB / 0.7586 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.3828, allocations: 3.938 kB / 0.7586 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.817e-06/0.3828, allocations: 7.938 kB / 0.7586 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.506e-05/0.3829, allocations: 99.25 kB / 0.7587 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.74e-07/0.3829, allocations: 0 / 0.7587 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003345/0.3833, allocations: 8 kB / 0.7587 GB, free: 2.383 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 () * 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.0001995/0.3835, allocations: 111.2 kB / 0.7588 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.3837, allocations: 83.33 kB / 0.7589 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.173e-06/0.3837, allocations: 0 / 0.7589 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.152e-05/0.3837, allocations: 55.91 kB / 0.759 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.3839, allocations: 12.06 kB / 0.759 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000199/0.3841, allocations: 56.98 kB / 0.759 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.3845, allocations: 0.6809 MB / 0.7597 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.268e-05/0.3846, allocations: 20.09 kB / 0.7597 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.335e-05/0.3846, allocations: 7.438 kB / 0.7597 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of SimCode: time 1.587e-06/0.3846, allocations: 0 / 0.7597 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of Templates: time 0.002966/0.3876, allocations: 0.4889 MB / 0.7602 GB, free: 0.7852 MB / 0.6355 GB