Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 83.69 kB / 21.74 MB, free: 2.508 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 169.3 kB / 25.18 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.026/1.026, allocations: 177.1 MB / 205.6 MB, free: 5.367 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.951/1.951, allocations: 389.5 MB / 0.6364 GB, free: 12.21 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.7755 GB, free: 6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.627e-05, allocations: 6.312 kB / 0.7755 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.003205/0.003232, allocations: 1.625 MB / 0.7771 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000371/0.003603, allocations: 131.5 kB / 0.7773 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.003661, allocations: 0 / 0.7773 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.00382, allocations: 12.75 kB / 0.7773 GB, free: 4.238 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.659e-05/0.003857, allocations: 7.922 kB / 0.7773 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.004098, allocations: 27.91 kB / 0.7773 GB, free: 4.207 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.004209, allocations: 53.05 kB / 0.7774 GB, free: 4.164 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.728e-05/0.004306, allocations: 23.09 kB / 0.7774 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.85e-05/0.004385, allocations: 36.78 kB / 0.7774 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/0.00445, allocations: 19.97 kB / 0.7774 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.004469, allocations: 4 kB / 0.7774 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.196e-05/0.004551, allocations: 15.98 kB / 0.7774 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/0.004596, allocations: 19.92 kB / 0.7775 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.004629, allocations: 15.92 kB / 0.7775 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.004761, allocations: 48.66 kB / 0.7775 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004763, allocations: 3.938 kB / 0.7775 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004764, allocations: 1.719 kB / 0.7775 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.004768, allocations: 0 / 0.7775 GB, free: 3.984 MB / 0.7292 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.0003665/0.005134, allocations: 268.7 kB / 0.7778 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.00517, allocations: 9.344 kB / 0.7778 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.005207, allocations: 13.73 kB / 0.7778 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.00535, allocations: 125.7 kB / 0.7779 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.005359, allocations: 0.875 kB / 0.7779 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.005373, allocations: 5.125 kB / 0.7779 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.005533, allocations: 80.64 kB / 0.778 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.005541, allocations: 192 / 0.778 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.005549, allocations: 384 / 0.778 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.005556, allocations: 384 / 0.778 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.641e-05/0.005592, allocations: 19.86 kB / 0.778 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.005912, allocations: 193.8 kB / 0.7782 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.557e-05/0.005977, allocations: 26.61 kB / 0.7782 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.005998, allocations: 11.61 kB / 0.7783 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.006026, allocations: 0 / 0.7783 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.006052, allocations: 46.56 kB / 0.7783 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.006054, allocations: 0 / 0.7783 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001381/0.006192, allocations: 49.81 kB / 0.7783 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.006246, allocations: 55.34 kB / 0.7784 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/0.006316, allocations: 114.7 kB / 0.7785 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.006329, allocations: 27.73 kB / 0.7785 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.006365, allocations: 92.08 kB / 0.7786 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.006385, allocations: 7.938 kB / 0.7786 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.006418, allocations: 17.72 kB / 0.7786 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.758e-05/0.006506, allocations: 314.8 kB / 0.7789 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.006521, allocations: 5.109 kB / 0.779 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.494e-05/0.006536, allocations: 7.984 kB / 0.779 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.943e-05/0.006576, allocations: 19.66 kB / 0.779 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.006577, allocations: 0.8125 kB / 0.779 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.86e-05/0.006646, allocations: 45.62 kB / 0.779 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.006659, allocations: 8.469 kB / 0.779 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.006663, allocations: 0 / 0.779 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.006672, allocations: 0.9375 kB / 0.779 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.00675, allocations: 8 kB / 0.779 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.006754, allocations: 4.594 kB / 0.779 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.216e-05/0.006787, allocations: 8.859 kB / 0.7791 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.006802, allocations: 0 / 0.7791 GB, free: 2.277 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.408e-05/0.006866, allocations: 118 kB / 0.7792 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.006892, allocations: 7.938 kB / 0.7792 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.059e-05/0.006982, allocations: 49.67 kB / 0.7792 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.006984, allocations: 0 / 0.7792 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.006988, allocations: 8.656 kB / 0.7792 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.00699, allocations: 0.6875 kB / 0.7792 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.007111, allocations: 77.83 kB / 0.7793 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.007112, allocations: 0.7188 kB / 0.7793 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.132e-05/0.007163, allocations: 15.92 kB / 0.7793 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.007166, allocations: 1.062 kB / 0.7793 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.007171, allocations: 0 / 0.7793 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.007174, allocations: 7.875 kB / 0.7793 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.007176, allocations: 4.875 kB / 0.7793 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.693e-05/0.007273, allocations: 135.5 kB / 0.7795 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.007282, allocations: 4.625 kB / 0.7795 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.007292, allocations: 0 / 0.7795 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.296e-05/0.007355, allocations: 12.62 kB / 0.7795 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.007389, allocations: 9.734 kB / 0.7795 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.007395, allocations: 0 / 0.7795 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.067e-05/0.007416, allocations: 16.84 kB / 0.7795 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.007416, allocations: 0 / 0.7795 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002107/0.007626, allocations: 8 kB / 0.7795 GB, free: 1.766 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001066/0.007733, allocations: 89.94 kB / 0.7796 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.791e-05/0.007821, allocations: 63.58 kB / 0.7797 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.007828, allocations: 4 kB / 0.7797 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.209e-05/0.00785, allocations: 9.719 kB / 0.7797 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.008024, allocations: 7.953 kB / 0.7797 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.008338, allocations: 188.5 kB / 0.7799 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.821e-05/0.008406, allocations: 76.36 kB / 0.7799 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.008471, allocations: 56.31 kB / 0.78 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of SimCode: time 8.92e-07/0.008472, allocations: 0 / 0.78 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of Templates: time 0.002103/0.01057, allocations: 0.956 MB / 0.7809 GB, free: 304 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.Average.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.Average > Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.792736143805087]