Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.697/1.697, allocations: 285.4 MB / 298 MB, free: 6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 180.8 kB / 366.4 MB, free: 2.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.1 MB / 0.6248 GB, free: 7.746 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008555/0.0008555, allocations: 94.36 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.015e-05/4.018e-05, allocations: 4 kB / 0.8583 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8294/0.8294, allocations: 115.3 MB / 0.9709 GB, free: 77.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/1.032, allocations: 138.1 MB / 1.106 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/1.032, allocations: 71.91 kB / 1.106 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003618/1.036, allocations: 1.123 MB / 1.107 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.904e-06/1.036, allocations: 0 / 1.107 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.318e-05/1.036, allocations: 4.672 kB / 1.107 GB, free: 12.55 MB / 0.7136 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.000515/1.037, allocations: 375.5 kB / 1.107 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/1.037, allocations: 11.12 kB / 1.107 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/1.037, allocations: 12.5 kB / 1.107 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/1.037, allocations: 184.2 kB / 1.107 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/1.037, allocations: 8 kB / 1.107 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/1.037, allocations: 0 / 1.107 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/1.037, allocations: 69.61 kB / 1.108 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.037, allocations: 0 / 1.108 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/1.037, allocations: 1.156 kB / 1.108 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/1.037, allocations: 0 / 1.108 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.189e-05/1.037, allocations: 37.28 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006073/1.038, allocations: 341.2 kB / 1.108 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.629e-05/1.038, allocations: 34.58 kB / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.438e-05/1.038, allocations: 18.05 kB / 1.108 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.836e-05/1.038, allocations: 4.078 kB / 1.108 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/1.038, allocations: 35.28 kB / 1.108 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.864e-06/1.038, allocations: 7.719 kB / 1.108 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002275/1.039, allocations: 57.59 kB / 1.108 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/1.039, allocations: 55.36 kB / 1.108 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/1.039, allocations: 107.7 kB / 1.108 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/1.039, allocations: 25.7 kB / 1.108 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/1.039, allocations: 92.12 kB / 1.108 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/1.039, allocations: 11.75 kB / 1.108 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/1.039, allocations: 0 / 1.108 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001594/1.039, allocations: 328 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.406e-05/1.039, allocations: 8 kB / 1.109 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.904e-05/1.039, allocations: 15.94 kB / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.278e-05/1.039, allocations: 16.11 kB / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.039, allocations: 4 kB / 1.109 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001112/1.039, allocations: 57.62 kB / 1.109 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/1.039, allocations: 8 kB / 1.109 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.039, allocations: 0 / 1.109 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/1.039, allocations: 4 kB / 1.109 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/1.039, allocations: 15.98 kB / 1.109 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/1.039, allocations: 4 kB / 1.109 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/1.04, allocations: 23.94 kB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/1.04, allocations: 0 / 1.109 GB, free: 10.45 MB / 0.7136 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 0.0001101/1.04, allocations: 105 kB / 1.109 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/1.04, allocations: 7.906 kB / 1.109 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/1.04, allocations: 69.64 kB / 1.109 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/1.04, allocations: 0 / 1.109 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.04, allocations: 0 / 1.109 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.04, allocations: 5.969 kB / 1.109 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/1.04, allocations: 181.6 kB / 1.109 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.04, allocations: 4 kB / 1.109 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/1.04, allocations: 19.98 kB / 1.109 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/1.04, allocations: 0 / 1.109 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/1.04, allocations: 0.8125 kB / 1.109 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/1.04, allocations: 0 / 1.109 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/1.04, allocations: 0 / 1.109 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/1.041, allocations: 167.4 kB / 1.109 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/1.041, allocations: 81.05 kB / 1.109 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/1.041, allocations: 4 kB / 1.109 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/1.041, allocations: 18.17 kB / 1.109 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/1.041, allocations: 3.984 kB / 1.109 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/1.041, allocations: 0 / 1.109 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.467e-05/1.041, allocations: 91.28 kB / 1.11 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/1.041, allocations: 4 kB / 1.11 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002117/1.041, allocations: 11.94 kB / 1.11 GB, free: 9.59 MB / 0.7136 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.0002107/1.041, allocations: 107.2 kB / 1.11 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001246/1.042, allocations: 28 kB / 1.11 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.042, allocations: 0 / 1.11 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.64e-05/1.042, allocations: 23.92 kB / 1.11 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/1.042, allocations: 9.734 kB / 1.11 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/1.042, allocations: 95.44 kB / 1.11 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/1.043, allocations: 0.6887 MB / 1.11 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.883e-05/1.043, allocations: 7.984 kB / 1.11 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/1.043, allocations: 11.44 kB / 1.11 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/1.043, allocations: 0 / 1.11 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of Templates: time 0.003656/1.046, allocations: 0.6129 MB / 1.111 GB, free: 7.984 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)