Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.121/5.121, allocations: 0.5623 GB / 0.5775 GB, free: 66.96 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00371/0.003709, allocations: 364.1 kB / 0.6446 GB, free: 21.41 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.499/4.499, allocations: 410.7 MB / 1.113 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001924/0.001924, allocations: 176.2 kB / 1.226 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005304/0.0005306, allocations: 12.59 kB / 1.349 GB, free: 321.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2214, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/0.4242, allocations: 138 MB / 1.596 GB, free: 82.53 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.4245, allocations: 71.95 kB / 1.596 GB, free: 82.46 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.004539/0.429, allocations: 1.129 MB / 1.597 GB, free: 81.34 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4291, allocations: 0 / 1.597 GB, free: 81.34 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.4291, allocations: 4 kB / 1.597 GB, free: 81.34 MB / 0.8073 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.0005852/0.4297, allocations: 390 kB / 1.598 GB, free: 80.91 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.4298, allocations: 8.75 kB / 1.598 GB, free: 80.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.4298, allocations: 8 kB / 1.598 GB, free: 80.9 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.43, allocations: 182.9 kB / 1.598 GB, free: 80.68 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.43, allocations: 5.188 kB / 1.598 GB, free: 80.68 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.4301, allocations: 4 kB / 1.598 GB, free: 80.67 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004364/0.4305, allocations: 100.5 kB / 1.598 GB, free: 80.57 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.4305, allocations: 0 / 1.598 GB, free: 80.57 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.4306, allocations: 0 / 1.598 GB, free: 80.57 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.4306, allocations: 0 / 1.598 GB, free: 80.57 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005383/0.4311, allocations: 101.9 kB / 1.598 GB, free: 80.48 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000701/0.4318, allocations: 349.2 kB / 1.598 GB, free: 80.09 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.4322, allocations: 67.09 kB / 1.598 GB, free: 80.02 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.4325, allocations: 56.03 kB / 1.598 GB, free: 79.96 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.4325, allocations: 8.031 kB / 1.599 GB, free: 79.95 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.4326, allocations: 31.66 kB / 1.599 GB, free: 79.91 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.4326, allocations: 0 / 1.599 GB, free: 79.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.000911/0.4335, allocations: 171.1 kB / 1.599 GB, free: 79.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.4335, allocations: 55.94 kB / 1.599 GB, free: 79.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.913e-05/0.4336, allocations: 120.3 kB / 1.599 GB, free: 79.55 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.4337, allocations: 25.7 kB / 1.599 GB, free: 79.52 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.4337, allocations: 96.83 kB / 1.599 GB, free: 79.43 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.4337, allocations: 11.83 kB / 1.599 GB, free: 79.41 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.4338, allocations: 1.719 kB / 1.599 GB, free: 79.41 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.299e-05/0.4338, allocations: 318.8 kB / 1.599 GB, free: 79.09 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.4341, allocations: 47.48 kB / 1.599 GB, free: 79.05 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.4344, allocations: 44.44 kB / 1.599 GB, free: 79.01 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.4347, allocations: 46.39 kB / 1.599 GB, free: 78.96 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.4347, allocations: 2 kB / 1.599 GB, free: 78.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005782/0.4353, allocations: 129.2 kB / 1.6 GB, free: 78.84 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4353, allocations: 4 kB / 1.6 GB, free: 78.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4353, allocations: 0 / 1.6 GB, free: 78.83 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.4353, allocations: 3.984 kB / 1.6 GB, free: 78.83 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.4356, allocations: 25.64 kB / 1.6 GB, free: 78.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.4356, allocations: 3.953 kB / 1.6 GB, free: 78.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.4357, allocations: 19.45 kB / 1.6 GB, free: 78.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.4358, allocations: 4 kB / 1.6 GB, free: 78.78 MB / 0.8073 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 () * Number of clocked 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 9.031e-05/0.4359, allocations: 117.8 kB / 1.6 GB, free: 78.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.4359, allocations: 3.906 kB / 1.6 GB, free: 78.65 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006271/0.4366, allocations: 137.9 kB / 1.6 GB, free: 78.51 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4366, allocations: 0 / 1.6 GB, free: 78.51 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4366, allocations: 1 kB / 1.6 GB, free: 78.51 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.4366, allocations: 3.953 kB / 1.6 GB, free: 78.51 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.4368, allocations: 173.6 kB / 1.6 GB, free: 78.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4368, allocations: 1.188 kB / 1.6 GB, free: 78.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.437, allocations: 25.53 kB / 1.6 GB, free: 78.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.437, allocations: 0 / 1.6 GB, free: 78.27 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.4371, allocations: 4 kB / 1.6 GB, free: 78.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4371, allocations: 5.094 kB / 1.6 GB, free: 78.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4371, allocations: 0 / 1.6 GB, free: 78.26 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006044/0.4377, allocations: 229.9 kB / 1.6 GB, free: 78.02 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.4377, allocations: 85.58 kB / 1.6 GB, free: 77.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.4378, allocations: 4 kB / 1.6 GB, free: 77.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.438, allocations: 21.52 kB / 1.6 GB, free: 77.9 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.438, allocations: 8.609 kB / 1.6 GB, free: 77.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.4381, allocations: 0 / 1.6 GB, free: 77.89 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.914e-05/0.4381, allocations: 91.89 kB / 1.6 GB, free: 77.8 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.8e-07/0.4381, allocations: 0.5312 kB / 1.6 GB, free: 77.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002949/0.4385, allocations: 9.188 kB / 1.6 GB, free: 77.79 MB / 0.8073 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 (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.000154/0.4386, allocations: 110.9 kB / 1.601 GB, free: 77.68 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005863/0.4392, allocations: 98.81 kB / 1.601 GB, free: 77.59 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.4392, allocations: 0 / 1.601 GB, free: 77.59 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.4395, allocations: 52.66 kB / 1.601 GB, free: 77.54 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.4399, allocations: 5.969 kB / 1.601 GB, free: 77.54 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000434/0.4403, allocations: 171.1 kB / 1.601 GB, free: 77.34 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.4405, allocations: 0.6898 MB / 1.602 GB, free: 76.62 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.551e-05/0.4406, allocations: 8.766 kB / 1.602 GB, free: 76.62 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.4406, allocations: 8.031 kB / 1.602 GB, free: 76.61 MB / 0.8073 GB Notification: Performance of SimCode: time 1.062e-06/0.4406, allocations: 4 kB / 1.602 GB, free: 76.61 MB / 0.8073 GB Notification: Performance of Templates: time 0.003503/0.4441, allocations: 0.6038 MB / 1.602 GB, free: 76.04 MB / 0.8073 GB