Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.685/1.685, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001001/0.001001, allocations: 168.9 kB / 366.7 MB, free: 1.652 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.298/1.298, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0008654/0.0008655, allocations: 92.02 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.638e-05/1.64e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6739/0.674, allocations: 116.3 MB / 0.9733 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2057/0.8797, allocations: 138.4 MB / 1.108 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.88, allocations: 72.81 kB / 1.108 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004087/0.8841, allocations: 1.118 MB / 1.11 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8842, allocations: 0 / 1.11 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.8842, allocations: 4 kB / 1.11 GB, free: 10.64 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.0006165/0.8848, allocations: 369.1 kB / 1.11 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.8849, allocations: 9.25 kB / 1.11 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.8849, allocations: 7.906 kB / 1.11 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.8852, allocations: 186.9 kB / 1.11 GB, free: 10 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.8852, allocations: 9.453 kB / 1.11 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.8853, allocations: 2.953 kB / 1.11 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001532/0.8854, allocations: 33.2 kB / 1.11 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.8856, allocations: 57.62 kB / 1.11 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.8856, allocations: 1.688 kB / 1.11 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.8857, allocations: 0 / 1.11 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.8857, allocations: 0 / 1.11 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007834/0.8865, allocations: 313.2 kB / 1.111 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.8866, allocations: 39.78 kB / 1.111 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.8867, allocations: 20.86 kB / 1.111 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.8867, allocations: 0 / 1.111 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.8868, allocations: 38.75 kB / 1.111 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8868, allocations: 0.9062 kB / 1.111 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002781/0.8871, allocations: 57.69 kB / 1.111 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.8871, allocations: 52.5 kB / 1.111 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.8872, allocations: 106.8 kB / 1.111 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.8873, allocations: 25.7 kB / 1.111 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/0.8873, allocations: 93.38 kB / 1.111 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.8874, allocations: 15.75 kB / 1.111 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-06/0.8874, allocations: 4 kB / 1.111 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.8876, allocations: 314.8 kB / 1.111 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.815e-05/0.8876, allocations: 12 kB / 1.111 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.711e-05/0.8877, allocations: 15.92 kB / 1.111 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.361e-05/0.8877, allocations: 12 kB / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8878, allocations: 3.938 kB / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00017/0.8879, allocations: 61.67 kB / 1.111 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.888, allocations: 4 kB / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.888, allocations: 0 / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.888, allocations: 0 / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.8882, allocations: 23.98 kB / 1.111 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.8882, allocations: 0 / 1.111 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.8884, allocations: 15.98 kB / 1.111 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.8884, allocations: 4 kB / 1.111 GB, free: 8.594 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 9.742e-05/0.8885, allocations: 112.9 kB / 1.112 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.8886, allocations: 3.906 kB / 1.112 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.8888, allocations: 77.27 kB / 1.112 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.8889, allocations: 0 / 1.112 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8889, allocations: 0 / 1.112 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.8889, allocations: 0 / 1.112 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.8891, allocations: 158.2 kB / 1.112 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8891, allocations: 0 / 1.112 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.8893, allocations: 23.98 kB / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.8893, allocations: 240 / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.8893, allocations: 0 / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.8894, allocations: 3.375 kB / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8894, allocations: 0 / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.8896, allocations: 163.4 kB / 1.112 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/0.8897, allocations: 85.05 kB / 1.112 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.8897, allocations: 0 / 1.112 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.8899, allocations: 19.98 kB / 1.112 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.89, allocations: 3.984 kB / 1.112 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.89, allocations: 8 kB / 1.112 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.245e-05/0.8901, allocations: 83.28 kB / 1.112 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8901, allocations: 0 / 1.112 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003907/0.8905, allocations: 12 kB / 1.112 GB, free: 7.777 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.0001971/0.8907, allocations: 111.1 kB / 1.112 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001559/0.8909, allocations: 24 kB / 1.112 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.8909, allocations: 4 kB / 1.112 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.019e-05/0.891, allocations: 15.98 kB / 1.112 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.8913, allocations: 9.031 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.8917, allocations: 98.83 kB / 1.112 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.8921, allocations: 0.6924 MB / 1.113 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.944e-05/0.8921, allocations: 7.984 kB / 1.113 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.8922, allocations: 11.44 kB / 1.113 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of SimCode: time 4.41e-07/0.8922, allocations: 0 / 1.113 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.003843/0.8961, allocations: 0.5514 MB / 1.114 GB, free: 6.23 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)