Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.255/2.255, allocations: 253.2 MB / 260.6 MB, free: 7.43 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00142/0.00142, allocations: 169 kB / 319.9 MB, free: 3.043 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.158/2.158, allocations: 205.5 MB / 0.5708 GB, free: 15.28 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 89.17 kB / 0.6751 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.309e-05/2.316e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1986, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8706/1.069, allocations: 130.9 MB / 1.017 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/1.07, allocations: 75.69 kB / 1.017 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001672/1.071, allocations: 0.5567 MB / 1.017 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/1.071, allocations: 0 / 1.017 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.04e-06/1.071, allocations: 0 / 1.017 GB, free: 5.836 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.0002994/1.072, allocations: 344 kB / 1.017 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.072, allocations: 16.03 kB / 1.017 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/1.072, allocations: 0 / 1.017 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/1.072, allocations: 167 kB / 1.018 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/1.072, allocations: 0 / 1.018 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/1.072, allocations: 4 kB / 1.018 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.256e-05/1.072, allocations: 21.73 kB / 1.018 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/1.072, allocations: 52.38 kB / 1.018 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/1.072, allocations: 3.938 kB / 1.018 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/1.072, allocations: 2.625 kB / 1.018 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/1.072, allocations: 11.98 kB / 1.018 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/1.073, allocations: 242.2 kB / 1.018 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.549e-05/1.073, allocations: 14.58 kB / 1.018 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/1.073, allocations: 12.67 kB / 1.018 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/1.073, allocations: 0 / 1.018 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/1.073, allocations: 30.56 kB / 1.018 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 3.747e-06/1.073, allocations: 4 kB / 1.018 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001898/1.073, allocations: 45.58 kB / 1.018 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/1.073, allocations: 77.11 kB / 1.018 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.574e-05/1.073, allocations: 108.7 kB / 1.018 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/1.073, allocations: 25.7 kB / 1.018 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/1.073, allocations: 99.42 kB / 1.018 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.567e-06/1.073, allocations: 4 kB / 1.018 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-06/1.073, allocations: 0 / 1.018 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.073, allocations: 321.8 kB / 1.019 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.884e-05/1.073, allocations: 10.69 kB / 1.019 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.797e-05/1.073, allocations: 54.55 kB / 1.019 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.216e-05/1.074, allocations: 27.61 kB / 1.019 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/1.074, allocations: 0 / 1.019 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001906/1.074, allocations: 76.92 kB / 1.019 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/1.074, allocations: 30.8 kB / 1.019 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.074, allocations: 4 kB / 1.019 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/1.074, allocations: 8.25 kB / 1.019 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.346e-05/1.074, allocations: 11.94 kB / 1.019 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/1.074, allocations: 8.109 kB / 1.019 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.462e-05/1.074, allocations: 11.84 kB / 1.019 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/1.074, allocations: 7.984 kB / 1.019 GB, free: 3.828 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 9.309e-05/1.074, allocations: 142.1 kB / 1.019 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/1.074, allocations: 0 / 1.019 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/1.074, allocations: 15.91 kB / 1.019 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/1.074, allocations: 0 / 1.019 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.074, allocations: 4 kB / 1.019 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.074, allocations: 3.953 kB / 1.019 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/1.075, allocations: 137.7 kB / 1.019 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.075, allocations: 0 / 1.019 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/1.075, allocations: 0 / 1.019 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.075, allocations: 0 / 1.019 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/1.075, allocations: 4 kB / 1.019 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/1.075, allocations: 3.984 kB / 1.019 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.075, allocations: 0 / 1.019 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/1.075, allocations: 153.3 kB / 1.019 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.259e-05/1.075, allocations: 77.11 kB / 1.019 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/1.075, allocations: 0 / 1.019 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.866e-05/1.075, allocations: 0 / 1.019 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.208e-05/1.075, allocations: 4 kB / 1.019 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/1.075, allocations: 3.984 kB / 1.019 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.414e-05/1.075, allocations: 86.91 kB / 1.02 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.075, allocations: 0 / 1.02 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003414/1.075, allocations: 12.03 kB / 1.02 GB, free: 3.125 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.0001978/1.076, allocations: 111.2 kB / 1.02 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001495/1.076, allocations: 75.22 kB / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.076, allocations: 0 / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.287e-05/1.076, allocations: 55.41 kB / 1.02 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/1.076, allocations: 9.406 kB / 1.02 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002078/1.076, allocations: 79.55 kB / 1.02 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/1.077, allocations: 0.6846 MB / 1.021 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.808e-05/1.077, allocations: 12.17 kB / 1.021 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.445e-05/1.077, allocations: 7.438 kB / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/1.077, allocations: 0 / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of Templates: time 0.003544/1.08, allocations: 498.2 kB / 1.021 GB, free: 1.547 MB / 0.6355 GB