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.727/1.727, allocations: 292.6 MB / 307.5 MB, free: 5.156 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.001127/0.001127, allocations: 177.1 kB / 377.1 MB, free: 1.52 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.835/1.835, allocations: 205.4 MB / 0.6367 GB, free: 8.621 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.0008003/0.0008003, allocations: 96.25 kB / 0.751 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003342, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2513, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7001/0.9514, allocations: 139.2 MB / 1.124 GB, free: 35.51 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.9517, allocations: 74.27 kB / 1.124 GB, free: 35.45 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003024/0.9547, allocations: 1.121 MB / 1.125 GB, free: 34.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9547, allocations: 0 / 1.125 GB, free: 34.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.9547, allocations: 8 kB / 1.125 GB, free: 34.59 MB / 0.7292 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.0003911/0.9551, allocations: 382.4 kB / 1.126 GB, free: 34.19 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.9552, allocations: 15.08 kB / 1.126 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.9552, allocations: 7.484 kB / 1.126 GB, free: 34.17 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.9554, allocations: 190.7 kB / 1.126 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.9554, allocations: 0 / 1.126 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.9554, allocations: 7.938 kB / 1.126 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.9557, allocations: 102.8 kB / 1.126 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.9557, allocations: 0.75 kB / 1.126 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.9557, allocations: 0.9375 kB / 1.126 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.9557, allocations: 0.9375 kB / 1.126 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.9561, allocations: 103.9 kB / 1.126 GB, free: 33.78 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004949/0.9566, allocations: 336 kB / 1.127 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.9568, allocations: 68.94 kB / 1.127 GB, free: 33.37 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.9568, allocations: 4 kB / 1.127 GB, free: 33.37 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.9569, allocations: 42.67 kB / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.9569, allocations: 0 / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.000525/0.9574, allocations: 165.3 kB / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.9574, allocations: 51.41 kB / 1.127 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.172e-05/0.9575, allocations: 112 kB / 1.127 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.9575, allocations: 29.7 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.9576, allocations: 100.1 kB / 1.127 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.9576, allocations: 7.906 kB / 1.127 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.9576, allocations: 0 / 1.127 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.03e-05/0.9577, allocations: 318.4 kB / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.9578, allocations: 46.5 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.9579, allocations: 46.31 kB / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.9581, allocations: 46.48 kB / 1.128 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.9581, allocations: 0.9375 kB / 1.128 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003078/0.9584, allocations: 131.4 kB / 1.128 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.9584, allocations: 5.25 kB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.9585, allocations: 4 kB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.9585, allocations: 0 / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.9586, allocations: 22.84 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.9586, allocations: 1.312 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.13e-05/0.9587, allocations: 15.47 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.9587, allocations: 11.95 kB / 1.128 GB, free: 32.29 MB / 0.7292 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 () * Number of clocked 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 5.239e-05/0.9588, allocations: 117.3 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.9588, allocations: 4.656 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003501/0.9592, allocations: 139.5 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.9592, allocations: 0 / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.9592, allocations: 0 / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.9592, allocations: 0 / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.9593, allocations: 182.8 kB / 1.128 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.9593, allocations: 0.625 kB / 1.128 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.825e-05/0.9594, allocations: 26.8 kB / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.9595, allocations: 0.9375 kB / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.9595, allocations: 5.125 kB / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.9595, allocations: 0.5 kB / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.9595, allocations: 0 / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.9598, allocations: 227.5 kB / 1.128 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.9598, allocations: 81.78 kB / 1.128 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.9599, allocations: 4.562 kB / 1.128 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.96, allocations: 15.52 kB / 1.128 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.96, allocations: 7.469 kB / 1.128 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.96, allocations: 0 / 1.128 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.227e-05/0.9601, allocations: 96 kB / 1.129 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9601, allocations: 0 / 1.129 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002114/0.9603, allocations: 15.94 kB / 1.129 GB, free: 31.37 MB / 0.7292 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 () * Number of clocked 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.0001207/0.9604, allocations: 103.2 kB / 1.129 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003168/0.9608, allocations: 97.17 kB / 1.129 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.9608, allocations: 4 kB / 1.129 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.9609, allocations: 50.34 kB / 1.129 GB, free: 31.15 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.9611, allocations: 11.95 kB / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.9614, allocations: 166.3 kB / 1.129 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.9616, allocations: 0.6874 MB / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.429e-05/0.9616, allocations: 12.81 kB / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.9616, allocations: 11.44 kB / 1.13 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.9616, allocations: 0 / 1.13 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of Templates: time 0.002563/0.9642, allocations: 0.5915 MB / 1.13 GB, free: 29.91 MB / 0.7292 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)