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.683/1.683, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001193/0.001193, allocations: 176.9 kB / 361.4 MB, free: 6.867 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.691/1.691, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.000873/0.0008731, allocations: 98.53 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.5e-05/2.523e-05, allocations: 4 kB / 0.8517 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6871/0.6872, allocations: 115.3 MB / 0.9644 GB, free: 78.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.8853, allocations: 137.4 MB / 1.099 GB, free: 2.387 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.8856, allocations: 76.81 kB / 1.099 GB, free: 2.316 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003313/0.8889, allocations: 1.118 MB / 1.1 GB, free: 1.223 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8889, allocations: 1.406 kB / 1.1 GB, free: 1.223 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.889, allocations: 4 kB / 1.1 GB, free: 1.219 MB / 0.698 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.000429/0.8894, allocations: 368.4 kB / 1.1 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.8894, allocations: 8.688 kB / 1.1 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.8895, allocations: 8.938 kB / 1.1 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.8897, allocations: 191.4 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.8897, allocations: 2.875 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.8897, allocations: 4.594 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.794e-05/0.8898, allocations: 24.72 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.8899, allocations: 61.61 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.89, allocations: 0.6875 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.89, allocations: 0.9062 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.89, allocations: 4 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.8905, allocations: 316.6 kB / 1.101 GB, free: 140 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.383e-05/0.8906, allocations: 35.58 kB / 1.101 GB, free: 96 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.8906, allocations: 17.52 kB / 1.101 GB, free: 76 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/0.8907, allocations: 5.172 kB / 1.101 GB, free: 72 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.8907, allocations: 30.56 kB / 1.101 GB, free: 32 kB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.8907, allocations: 0.6562 kB / 1.101 GB, free: 32 kB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002721/0.891, allocations: 62.19 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.891, allocations: 51.41 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.762e-05/0.8911, allocations: 105.9 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.8911, allocations: 29.8 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.8912, allocations: 92.08 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.8912, allocations: 15.75 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-06/0.8912, allocations: 0 / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.8913, allocations: 322.8 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/0.8914, allocations: 12 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.119e-05/0.8914, allocations: 11.56 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.654e-05/0.8915, allocations: 11.98 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.8915, allocations: 3.938 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001025/0.8916, allocations: 53.69 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.8916, allocations: 8.75 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.8916, allocations: 0 / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.8916, allocations: 5.5 kB / 1.102 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.8918, allocations: 23.97 kB / 1.102 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.8918, allocations: 0 / 1.102 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.658e-05/0.8919, allocations: 15.98 kB / 1.102 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.8919, allocations: 0 / 1.102 GB, free: 15.18 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 7.746e-05/0.892, allocations: 120.9 kB / 1.102 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.892, allocations: 3.906 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/0.8922, allocations: 66.02 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.8922, allocations: 3.984 kB / 1.102 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.8922, allocations: 0 / 1.102 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.8923, allocations: 0 / 1.102 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.8924, allocations: 154.2 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8924, allocations: 3.188 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.8925, allocations: 27.97 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.8926, allocations: 1.172 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.8926, allocations: 0 / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8926, allocations: 1.312 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.8926, allocations: 0 / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.8928, allocations: 163.3 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.8928, allocations: 81.09 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.8929, allocations: 4 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.893, allocations: 15.98 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.893, allocations: 4 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.8931, allocations: 3.984 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.998e-05/0.8931, allocations: 90.02 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8931, allocations: 0 / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002181/0.8933, allocations: 12 kB / 1.102 GB, free: 14.36 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.0001827/0.8935, allocations: 114.9 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.8937, allocations: 29.72 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8937, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.254e-05/0.8937, allocations: 22.84 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.8939, allocations: 5.484 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.8942, allocations: 94.39 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.8945, allocations: 0.6963 MB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.702e-05/0.8946, allocations: 7.984 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.8946, allocations: 7.438 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.8946, allocations: 0 / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of Templates: time 0.002729/0.8974, allocations: 0.5553 MB / 1.104 GB, free: 12.81 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)