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.288/2.288, allocations: 251.1 MB / 266.1 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002127/0.002128, allocations: 178.1 kB / 325.6 MB, free: 2.785 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.501/2.501, allocations: 205.4 MB / 0.5766 GB, free: 20.71 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.001907/0.001907, allocations: 106.2 kB / 0.6811 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006288/0.000629, allocations: 12.81 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2329, allocations: 106.3 MB / 0.8989 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2256/0.4586, allocations: 131.7 MB / 1.028 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.4589, allocations: 79.95 kB / 1.028 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004911/0.4638, allocations: 1.113 MB / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4639, allocations: 0 / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.4639, allocations: 4 kB / 1.029 GB, free: 12.3 MB / 0.6823 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.0006679/0.4646, allocations: 383.1 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.4646, allocations: 8.031 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.4647, allocations: 7.906 kB / 1.029 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.4649, allocations: 190.8 kB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.465, allocations: 0 / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.465, allocations: 4 kB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/0.4654, allocations: 101.6 kB / 1.029 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4655, allocations: 0 / 1.029 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.4655, allocations: 4 kB / 1.029 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.4655, allocations: 3.984 kB / 1.029 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000584/0.4661, allocations: 99.86 kB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008297/0.4669, allocations: 344.7 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.4673, allocations: 70.58 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.034e-05/0.4674, allocations: 8.078 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.4674, allocations: 30.56 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 2.645e-06/0.4674, allocations: 0 / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0009863/0.4684, allocations: 173.4 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.4685, allocations: 59.41 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.4686, allocations: 108.8 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.4687, allocations: 25.7 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.4687, allocations: 99.92 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.4688, allocations: 23.83 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.4688, allocations: 0 / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.469, allocations: 310.8 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/0.4693, allocations: 43.95 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.4696, allocations: 43.97 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.4699, allocations: 51.95 kB / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4699, allocations: 0 / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006575/0.4706, allocations: 125.6 kB / 1.031 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.4706, allocations: 4 kB / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.4706, allocations: 0 / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.4707, allocations: 3.938 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.4709, allocations: 19.98 kB / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.4709, allocations: 3.953 kB / 1.031 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.4711, allocations: 23.89 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.4711, allocations: 4 kB / 1.031 GB, free: 9.762 MB / 0.6823 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 0.0001356/0.4713, allocations: 121.8 kB / 1.031 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.4713, allocations: 0 / 1.031 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000711/0.4721, allocations: 141.5 kB / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4721, allocations: 0 / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.4721, allocations: 3.984 kB / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.4721, allocations: 7.953 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.4724, allocations: 173.6 kB / 1.031 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-06/0.4724, allocations: 0 / 1.031 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.4726, allocations: 19.98 kB / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.4726, allocations: 0 / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.4726, allocations: 4 kB / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.4726, allocations: 0 / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4727, allocations: 0 / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007127/0.4734, allocations: 235.6 kB / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.4734, allocations: 77.11 kB / 1.032 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.4735, allocations: 48 / 1.032 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.4737, allocations: 19.97 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.4737, allocations: 11.98 kB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.4738, allocations: 0 / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.888e-05/0.4739, allocations: 95.27 kB / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4739, allocations: 0 / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003005/0.4742, allocations: 15.84 kB / 1.032 GB, free: 8.746 MB / 0.6823 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.000178/0.4744, allocations: 103.2 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006367/0.475, allocations: 99.84 kB / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.475, allocations: 0 / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000304/0.4754, allocations: 59.91 kB / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.4756, allocations: 7.922 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.4761, allocations: 156.9 kB / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.4764, allocations: 0.6965 MB / 1.033 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.416e-05/0.4765, allocations: 7.984 kB / 1.033 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.4766, allocations: 7.438 kB / 1.033 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of SimCode: time 8.32e-07/0.4766, allocations: 0 / 1.033 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of Templates: time 0.003693/0.4803, allocations: 0.598 MB / 1.034 GB, free: 6.957 MB / 0.6823 GB