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.188/2.188, allocations: 252.6 MB / 265.2 MB, free: 5.762 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.002147/0.002147, allocations: 179.9 kB / 324.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.4 MB / 0.5754 GB, free: 10.47 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.001076/0.001076, allocations: 91.78 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.469e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1869, allocations: 106.2 MB / 0.8949 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8244/1.011, allocations: 131.6 MB / 1.023 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/1.012, allocations: 71.77 kB / 1.023 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00484/1.017, allocations: 1.132 MB / 1.025 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.332e-06/1.017, allocations: 0 / 1.025 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.069e-05/1.017, allocations: 0 / 1.025 GB, free: 1.809 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.0005853/1.017, allocations: 369.6 kB / 1.025 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.017, allocations: 8.031 kB / 1.025 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/1.017, allocations: 11.89 kB / 1.025 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/1.018, allocations: 198.6 kB / 1.025 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/1.018, allocations: 4 kB / 1.025 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/1.018, allocations: 0 / 1.025 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/1.018, allocations: 62.56 kB / 1.025 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/1.018, allocations: 0 / 1.025 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/1.018, allocations: 0 / 1.025 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/1.018, allocations: 0 / 1.025 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/1.018, allocations: 37.67 kB / 1.025 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007375/1.019, allocations: 336.6 kB / 1.026 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/1.019, allocations: 45.72 kB / 1.026 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.844e-05/1.019, allocations: 16.48 kB / 1.026 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/1.019, allocations: 0 / 1.026 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/1.019, allocations: 34.56 kB / 1.026 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/1.019, allocations: 0 / 1.026 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002218/1.019, allocations: 60.11 kB / 1.026 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/1.019, allocations: 51.41 kB / 1.026 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/1.02, allocations: 113.2 kB / 1.026 GB, free: 388 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/1.02, allocations: 25.7 kB / 1.026 GB, free: 356 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/1.02, allocations: 101 kB / 1.026 GB, free: 260 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/1.02, allocations: 19.75 kB / 1.026 GB, free: 240 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-06/1.02, allocations: 4 kB / 1.026 GB, free: 236 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001691/1.02, allocations: 314.4 kB / 1.026 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.924e-05/1.02, allocations: 11.12 kB / 1.026 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.603e-05/1.02, allocations: 11.73 kB / 1.026 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.625e-05/1.02, allocations: 15.69 kB / 1.026 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.02, allocations: 0 / 1.026 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001559/1.02, allocations: 60.53 kB / 1.026 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/1.02, allocations: 8 kB / 1.026 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.02, allocations: 0 / 1.026 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/1.02, allocations: 0 / 1.026 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/1.021, allocations: 31.86 kB / 1.026 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.021, allocations: 0 / 1.026 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/1.021, allocations: 19.98 kB / 1.026 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/1.021, allocations: 0 / 1.026 GB, free: 15.78 MB / 0.6511 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 8.324e-05/1.021, allocations: 104.9 kB / 1.027 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/1.021, allocations: 4 kB / 1.027 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/1.021, allocations: 67.33 kB / 1.027 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.021, allocations: 4.234 kB / 1.027 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/1.021, allocations: 3.953 kB / 1.027 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.021, allocations: 7.984 kB / 1.027 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/1.021, allocations: 179.2 kB / 1.027 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.021, allocations: 0 / 1.027 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/1.022, allocations: 23.97 kB / 1.027 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/1.022, allocations: 0 / 1.027 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/1.022, allocations: 0 / 1.027 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/1.022, allocations: 0 / 1.027 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/1.022, allocations: 8 kB / 1.027 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/1.022, allocations: 158.5 kB / 1.027 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/1.022, allocations: 85.02 kB / 1.027 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/1.022, allocations: 0 / 1.027 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/1.022, allocations: 19.97 kB / 1.027 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/1.022, allocations: 0 / 1.027 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/1.022, allocations: 8 kB / 1.027 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.898e-05/1.022, allocations: 95.86 kB / 1.027 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.6e-07/1.022, allocations: 0 / 1.027 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002896/1.023, allocations: 11.95 kB / 1.027 GB, free: 14.95 MB / 0.6511 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.0001687/1.023, allocations: 101.1 kB / 1.027 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001494/1.023, allocations: 35.05 kB / 1.027 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.023, allocations: 0 / 1.027 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.523e-05/1.023, allocations: 18.69 kB / 1.027 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/1.023, allocations: 15.88 kB / 1.027 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/1.024, allocations: 95.03 kB / 1.027 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/1.024, allocations: 0.6926 MB / 1.028 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.329e-05/1.024, allocations: 7.984 kB / 1.028 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/1.024, allocations: 11.44 kB / 1.028 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of SimCode: time 7.62e-07/1.024, allocations: 0 / 1.028 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of Templates: time 0.003632/1.028, allocations: 0.5983 MB / 1.029 GB, free: 13.36 MB / 0.6511 GB