Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.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.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.329/2.329, allocations: 253.2 MB / 260.6 MB, free: 7.445 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.001528/0.001527, allocations: 182.6 kB / 319.9 MB, free: 3.094 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.152/2.152, allocations: 205.6 MB / 0.5708 GB, free: 15.3 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.001995/0.001995, allocations: 97 kB / 0.6751 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.853e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1946, allocations: 106.2 MB / 0.8887 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.852/1.047, allocations: 131.9 MB / 1.017 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/1.047, allocations: 70.53 kB / 1.018 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004838/1.052, allocations: 1.12 MB / 1.019 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.764e-06/1.052, allocations: 2.625 kB / 1.019 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.643e-05/1.052, allocations: 4 kB / 1.019 GB, free: 4.449 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005859/1.052, allocations: 365.9 kB / 1.019 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/1.052, allocations: 16.02 kB / 1.019 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/1.053, allocations: 3.906 kB / 1.019 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/1.053, allocations: 202.4 kB / 1.019 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/1.053, allocations: 0 / 1.019 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/1.053, allocations: 4 kB / 1.019 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001408/1.053, allocations: 31.17 kB / 1.019 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/1.053, allocations: 52.94 kB / 1.019 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.053, allocations: 0 / 1.019 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/1.053, allocations: 0 / 1.019 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/1.053, allocations: 0 / 1.019 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007477/1.054, allocations: 318.8 kB / 1.02 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/1.054, allocations: 33.81 kB / 1.02 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.53e-05/1.054, allocations: 17.05 kB / 1.02 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.242e-05/1.054, allocations: 4 kB / 1.02 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/1.054, allocations: 38.59 kB / 1.02 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/1.054, allocations: 0 / 1.02 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002663/1.055, allocations: 60.84 kB / 1.02 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/1.055, allocations: 51.41 kB / 1.02 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/1.055, allocations: 112.1 kB / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/1.055, allocations: 25.7 kB / 1.02 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/1.055, allocations: 99.53 kB / 1.02 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/1.055, allocations: 11.47 kB / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/1.055, allocations: 0 / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.055, allocations: 318.8 kB / 1.02 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.187e-05/1.055, allocations: 7.625 kB / 1.02 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.307e-05/1.055, allocations: 15.73 kB / 1.02 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.338e-05/1.055, allocations: 7.5 kB / 1.02 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.055, allocations: 0 / 1.02 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002068/1.055, allocations: 68.58 kB / 1.02 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/1.055, allocations: 4 kB / 1.02 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.056, allocations: 0 / 1.02 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/1.056, allocations: 4 kB / 1.02 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/1.056, allocations: 19.98 kB / 1.02 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/1.056, allocations: 4.547 kB / 1.02 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/1.056, allocations: 23.25 kB / 1.02 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/1.056, allocations: 4 kB / 1.02 GB, free: 2.465 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.913e-05/1.056, allocations: 109 kB / 1.021 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/1.056, allocations: 4 kB / 1.021 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/1.056, allocations: 64.58 kB / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/1.056, allocations: 0 / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.056, allocations: 0 / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.056, allocations: 7.938 kB / 1.021 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/1.057, allocations: 157.1 kB / 1.021 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/1.057, allocations: 2.312 kB / 1.021 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/1.057, allocations: 23.98 kB / 1.021 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.057, allocations: 0 / 1.021 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/1.057, allocations: 0 / 1.021 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/1.057, allocations: 4 kB / 1.021 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.057, allocations: 0 / 1.021 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/1.057, allocations: 154.2 kB / 1.021 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/1.057, allocations: 85.02 kB / 1.021 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/1.057, allocations: 0 / 1.021 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/1.057, allocations: 19.98 kB / 1.021 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/1.057, allocations: 3.984 kB / 1.021 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/1.057, allocations: 4 kB / 1.021 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.861e-05/1.058, allocations: 88.41 kB / 1.021 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.058, allocations: 0 / 1.021 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003142/1.058, allocations: 8 kB / 1.021 GB, free: 1.688 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001634/1.058, allocations: 113 kB / 1.021 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001376/1.058, allocations: 26.25 kB / 1.021 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/1.058, allocations: 4 kB / 1.021 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.985e-05/1.058, allocations: 15.42 kB / 1.021 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/1.059, allocations: 13.3 kB / 1.021 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/1.059, allocations: 99.09 kB / 1.021 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/1.059, allocations: 0.6928 MB / 1.022 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.923e-05/1.059, allocations: 7.984 kB / 1.022 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/1.059, allocations: 15 kB / 1.022 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/1.059, allocations: 0 / 1.022 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of Templates: time 0.003433/1.063, allocations: 0.5564 MB / 1.023 GB, free: 132 kB / 0.6355 GB