Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6209/0.6209, allocations: 94.77 MB / 102.3 MB, free: 14.11 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009718/0.0009717, allocations: 187.4 kB / 125.6 MB, free: 7.922 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.289/1.289, allocations: 170.6 MB / 319.4 MB, free: 1.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001671/0.001671, allocations: 112.6 kB / 381.4 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.777e-05/1.779e-05, allocations: 7.984 kB / 449.1 MB, free: 44.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1304, allocations: 61.52 MB / 0.4987 GB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4995/0.6299, allocations: 93.57 MB / 0.59 GB, free: 2.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.6303, allocations: 70.52 kB / 0.5901 GB, free: 2.871 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003326/0.6336, allocations: 1.097 MB / 0.5912 GB, free: 1.883 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.6336, allocations: 3.609 kB / 0.5912 GB, free: 1.883 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.6336, allocations: 0 / 0.5912 GB, free: 1.883 MB / 394.7 MB 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.0004721/0.6341, allocations: 366.8 kB / 0.5915 GB, free: 1.484 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.6342, allocations: 8.031 kB / 0.5915 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.6342, allocations: 11.98 kB / 0.5915 GB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.6344, allocations: 182 kB / 0.5917 GB, free: 1.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.6345, allocations: 0 / 0.5917 GB, free: 1.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.6345, allocations: 7.938 kB / 0.5917 GB, free: 1.246 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001245/0.6346, allocations: 32.42 kB / 0.5918 GB, free: 1.227 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.6347, allocations: 60.27 kB / 0.5918 GB, free: 1.168 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.964e-06/0.6348, allocations: 0 / 0.5918 GB, free: 1.168 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.6348, allocations: 0 / 0.5918 GB, free: 1.168 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.6348, allocations: 4 kB / 0.5918 GB, free: 1.164 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.6353, allocations: 315.2 kB / 0.5921 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.788e-05/0.6354, allocations: 40.36 kB / 0.5922 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.451e-05/0.6355, allocations: 23.67 kB / 0.5922 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.6355, allocations: 0 / 0.5922 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.6356, allocations: 34.55 kB / 0.5922 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.6356, allocations: 0 / 0.5922 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002374/0.6358, allocations: 56.28 kB / 0.5923 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.6359, allocations: 51.5 kB / 0.5923 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.058e-05/0.6359, allocations: 108.8 kB / 0.5924 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.636, allocations: 33.7 kB / 0.5924 GB, free: 484 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.636, allocations: 91.97 kB / 0.5925 GB, free: 392 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.6361, allocations: 15.28 kB / 0.5926 GB, free: 380 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.6361, allocations: 0 / 0.5926 GB, free: 380 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.6362, allocations: 310.8 kB / 0.5928 GB, free: 60 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.737e-05/0.6363, allocations: 14.44 kB / 0.5929 GB, free: 52 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.146e-05/0.6363, allocations: 11.11 kB / 0.5929 GB, free: 44 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.014e-05/0.6363, allocations: 15.81 kB / 0.5929 GB, free: 32 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6364, allocations: 0 / 0.5929 GB, free: 32 kB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001357/0.6365, allocations: 68.28 kB / 0.593 GB, free: 15.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.6365, allocations: 8 kB / 0.593 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.6365, allocations: 3.984 kB / 0.593 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.6366, allocations: 0 / 0.593 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.6367, allocations: 19.98 kB / 0.593 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.6367, allocations: 0 / 0.593 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.8e-05/0.6368, allocations: 19.98 kB / 0.593 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.6369, allocations: 3.984 kB / 0.593 GB, free: 15.91 MB / 410.7 MB 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 8.268e-05/0.6369, allocations: 112.9 kB / 0.5931 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.637, allocations: 7.859 kB / 0.5931 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.6371, allocations: 68.14 kB / 0.5932 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.6371, allocations: 0 / 0.5932 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6372, allocations: 0 / 0.5932 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.6372, allocations: 0 / 0.5932 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.6374, allocations: 154.8 kB / 0.5933 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6374, allocations: 4 kB / 0.5933 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.6375, allocations: 19.98 kB / 0.5934 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.6375, allocations: 0 / 0.5934 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.6375, allocations: 3.953 kB / 0.5934 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.6375, allocations: 0 / 0.5934 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6375, allocations: 0 / 0.5934 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.6377, allocations: 161.7 kB / 0.5935 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.6378, allocations: 81.02 kB / 0.5936 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.6378, allocations: 0 / 0.5936 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.6379, allocations: 21.25 kB / 0.5936 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.638, allocations: 7.984 kB / 0.5936 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.638, allocations: 0 / 0.5936 GB, free: 15.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.611e-05/0.638, allocations: 92.09 kB / 0.5937 GB, free: 15.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.638, allocations: 4 kB / 0.5937 GB, free: 15.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002104/0.6382, allocations: 8 kB / 0.5937 GB, free: 15.13 MB / 410.7 MB 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.0001668/0.6384, allocations: 99.23 kB / 0.5938 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.6386, allocations: 26.06 kB / 0.5938 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.6386, allocations: 0 / 0.5938 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.765e-05/0.6386, allocations: 19.92 kB / 0.5939 GB, free: 14.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.6388, allocations: 11 kB / 0.5939 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.6391, allocations: 94.61 kB / 0.594 GB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.6394, allocations: 0.6962 MB / 0.5946 GB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.859e-05/0.6395, allocations: 7.984 kB / 0.5946 GB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.6395, allocations: 7.438 kB / 0.5947 GB, free: 14.13 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6395, allocations: 0 / 0.5947 GB, free: 14.13 MB / 410.7 MB Notification: Performance of Templates: time 0.002695/0.6422, allocations: 0.5679 MB / 0.5952 GB, free: 13.58 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)