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.5551/0.5551, allocations: 94.69 MB / 107.2 MB, free: 5.199 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.001249/0.00125, allocations: 166.6 kB / 130.7 MB, free: 7.559 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.627/1.627, allocations: 170.5 MB / 324.5 MB, free: 4.02 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001649/0.001649, allocations: 106.2 kB / 386.6 MB, free: 16.3 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.494e-05/3.498e-05, allocations: 7.984 kB / 456 MB, free: 11.79 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4566/0.4567, allocations: 61.52 MB / 0.5054 GB, free: 49.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.6022, allocations: 93.87 MB / 0.597 GB, free: 1.727 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.6026, allocations: 72.89 kB / 0.5971 GB, free: 1.656 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0035/0.6061, allocations: 1.092 MB / 0.5982 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.6061, allocations: 0 / 0.5982 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.6061, allocations: 8.625 kB / 0.5982 GB, free: 0.5898 MB / 410.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.0004886/0.6066, allocations: 370.9 kB / 0.5985 GB, free: 192 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.6067, allocations: 12.03 kB / 0.5986 GB, free: 180 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.6067, allocations: 0 / 0.5986 GB, free: 180 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.607, allocations: 192.1 kB / 0.5987 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.607, allocations: 7.719 kB / 0.5987 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.607, allocations: 5.109 kB / 0.5987 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.6072, allocations: 68.22 kB / 0.5988 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.6073, allocations: 0 / 0.5988 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.6073, allocations: 0 / 0.5988 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.6073, allocations: 4 kB / 0.5988 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.112e-05/0.6074, allocations: 35.92 kB / 0.5989 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006284/0.608, allocations: 338.6 kB / 0.5992 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.545e-05/0.6081, allocations: 38.61 kB / 0.5992 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.6082, allocations: 16.86 kB / 0.5992 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.6082, allocations: 8.078 kB / 0.5992 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.6082, allocations: 30.56 kB / 0.5993 GB, free: 15.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.6083, allocations: 0 / 0.5993 GB, free: 15.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002138/0.6085, allocations: 55.03 kB / 0.5993 GB, free: 15.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.6085, allocations: 52.25 kB / 0.5994 GB, free: 15.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.6087, allocations: 115.8 kB / 0.5995 GB, free: 15.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.596e-05/0.6087, allocations: 25.7 kB / 0.5995 GB, free: 15.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.6088, allocations: 93.12 kB / 0.5996 GB, free: 14.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.6089, allocations: 15.78 kB / 0.5996 GB, free: 14.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.6089, allocations: 0 / 0.5996 GB, free: 14.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.609, allocations: 322.1 kB / 0.5999 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.251e-05/0.6091, allocations: 12.88 kB / 0.5999 GB, free: 14.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.629e-05/0.6091, allocations: 10.44 kB / 0.5999 GB, free: 14.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.814e-05/0.6091, allocations: 22.38 kB / 0.6 GB, free: 14.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6092, allocations: 0 / 0.6 GB, free: 14.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001042/0.6093, allocations: 61.59 kB / 0.6 GB, free: 14.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.6093, allocations: 4 kB / 0.6 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.6093, allocations: 0 / 0.6 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.6093, allocations: 0 / 0.6 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.6095, allocations: 22.28 kB / 0.6 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.6095, allocations: 0 / 0.6 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.219e-05/0.6096, allocations: 24.55 kB / 0.6001 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.6096, allocations: 0 / 0.6001 GB, free: 14.5 MB / 426.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 7.95e-05/0.6097, allocations: 116.7 kB / 0.6002 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.6098, allocations: 7.906 kB / 0.6002 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.6099, allocations: 65.7 kB / 0.6002 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.61, allocations: 0 / 0.6002 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.61, allocations: 2.344 kB / 0.6002 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.61, allocations: 2.531 kB / 0.6002 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.6102, allocations: 181.6 kB / 0.6004 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.6102, allocations: 3.953 kB / 0.6004 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.6104, allocations: 21.92 kB / 0.6004 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.6104, allocations: 0 / 0.6004 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.6104, allocations: 4 kB / 0.6005 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.6104, allocations: 0 / 0.6005 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6104, allocations: 3.938 kB / 0.6005 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.6106, allocations: 159.5 kB / 0.6006 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.609e-05/0.6107, allocations: 84.97 kB / 0.6007 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.6107, allocations: 0 / 0.6007 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.6108, allocations: 15.98 kB / 0.6007 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.6109, allocations: 7.984 kB / 0.6007 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.6109, allocations: 0 / 0.6007 GB, free: 13.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.425e-05/0.611, allocations: 96.86 kB / 0.6008 GB, free: 13.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.611, allocations: 0 / 0.6008 GB, free: 13.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002306/0.6112, allocations: 12 kB / 0.6008 GB, free: 13.64 MB / 426.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.0002135/0.6114, allocations: 107.2 kB / 0.6009 GB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.6116, allocations: 27.94 kB / 0.6009 GB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6116, allocations: 0 / 0.6009 GB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.473e-05/0.6116, allocations: 19.98 kB / 0.601 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.6118, allocations: 9.906 kB / 0.601 GB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.6122, allocations: 93.69 kB / 0.6011 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.6126, allocations: 0.6887 MB / 0.6017 GB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.221e-05/0.6127, allocations: 11.98 kB / 0.6017 GB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.6127, allocations: 7.438 kB / 0.6018 GB, free: 12.63 MB / 426.7 MB Notification: Performance of SimCode: time 6.81e-07/0.6127, allocations: 0 / 0.6018 GB, free: 12.63 MB / 426.7 MB Notification: Performance of Templates: time 0.002911/0.6156, allocations: 0.6122 MB / 0.6023 GB, free: 12.05 MB / 426.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)