Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.659/1.659, allocations: 293 MB / 309 MB, free: 4.809 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.0009202/0.0009202, allocations: 182.1 kB / 378.7 MB, free: 1.051 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.453/1.453, allocations: 205.4 MB / 0.6383 GB, free: 8.164 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.0006978/0.0006978, allocations: 89.92 kB / 0.7527 GB, free: 62.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004155, allocations: 19.98 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2328, allocations: 116.4 MB / 0.9905 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6751/0.908, allocations: 138.6 MB / 1.126 GB, free: 35.05 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.9082, allocations: 75.44 kB / 1.126 GB, free: 34.99 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001296/0.9096, allocations: 0.6233 MB / 1.126 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.645e-06/0.9096, allocations: 0 / 1.126 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.9096, allocations: 0 / 1.126 GB, free: 34.46 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002184/0.9098, allocations: 323.3 kB / 1.127 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.9099, allocations: 8.562 kB / 1.127 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.9099, allocations: 0.9375 kB / 1.127 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.15e-05/0.91, allocations: 160.9 kB / 1.127 GB, free: 33.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.91, allocations: 10.69 kB / 1.127 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.91, allocations: 384 / 1.127 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.9101, allocations: 77.58 kB / 1.127 GB, free: 33.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.9102, allocations: 0.8438 kB / 1.127 GB, free: 33.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.9102, allocations: 4.5 kB / 1.127 GB, free: 33.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.9102, allocations: 5.875 kB / 1.127 GB, free: 33.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.225e-05/0.9102, allocations: 15.5 kB / 1.127 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.9104, allocations: 180.7 kB / 1.127 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.233e-05/0.9105, allocations: 93.77 kB / 1.127 GB, free: 33.42 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.476e-05/0.9105, allocations: 36.47 kB / 1.127 GB, free: 33.37 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.9106, allocations: 84.58 kB / 1.127 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.9107, allocations: 38.5 kB / 1.127 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.9107, allocations: 4 kB / 1.127 GB, free: 33.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.0001813/0.9109, allocations: 76.94 kB / 1.128 GB, free: 33.15 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.9109, allocations: 166.2 kB / 1.128 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.01e-05/0.9109, allocations: 89.86 kB / 1.128 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.9109, allocations: 25.7 kB / 1.128 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.26e-05/0.911, allocations: 80.77 kB / 1.128 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.911, allocations: 23.27 kB / 1.128 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.911, allocations: 6.406 kB / 1.128 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.572e-05/0.9111, allocations: 310.8 kB / 1.128 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.562e-05/0.9111, allocations: 7.375 kB / 1.128 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.499e-05/0.9111, allocations: 32.86 kB / 1.128 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.248e-05/0.9112, allocations: 51.56 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9112, allocations: 0 / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.589e-05/0.9113, allocations: 61 kB / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.9113, allocations: 4 kB / 1.128 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.9113, allocations: 8.156 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.9113, allocations: 3.938 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.16e-05/0.9114, allocations: 12.45 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.9114, allocations: 4 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.699e-05/0.9114, allocations: 4 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.9115, allocations: 4.75 kB / 1.128 GB, free: 32.19 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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 4.964e-05/0.9115, allocations: 117 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.9115, allocations: 5.172 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/0.9117, allocations: 108.1 kB / 1.129 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.9117, allocations: 4 kB / 1.129 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.9117, allocations: 0 / 1.129 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.9118, allocations: 0 / 1.129 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.799e-05/0.9118, allocations: 168.9 kB / 1.129 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.9119, allocations: 8.719 kB / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.811e-05/0.9119, allocations: 15.72 kB / 1.129 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.9119, allocations: 3.781 kB / 1.129 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.9119, allocations: 7.938 kB / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.9119, allocations: 3.938 kB / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.9119, allocations: 4.5 kB / 1.129 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.9121, allocations: 124.2 kB / 1.129 GB, free: 31.58 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.9121, allocations: 85.84 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.9121, allocations: 7.938 kB / 1.129 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.543e-05/0.9121, allocations: 1.25 kB / 1.129 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.9122, allocations: 11.38 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.9122, allocations: 4 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.162e-05/0.9122, allocations: 79.28 kB / 1.129 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9122, allocations: 0 / 1.129 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002085/0.9124, allocations: 12.25 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: 5 * 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 (9): * Single equations (assignments): 9 * 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.0001385/0.9125, allocations: 115.7 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.801e-05/0.9126, allocations: 31.5 kB / 1.129 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9127, allocations: 0 / 1.129 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.856e-05/0.9127, allocations: 28.38 kB / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.9128, allocations: 13.39 kB / 1.129 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002361/0.9131, allocations: 148.5 kB / 1.129 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.9132, allocations: 0.6813 MB / 1.13 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.443e-05/0.9132, allocations: 13.91 kB / 1.13 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.9133, allocations: 11.44 kB / 1.13 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of SimCode: time 1.202e-06/0.9133, allocations: 0 / 1.13 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of Templates: time 0.002407/0.9157, allocations: 0.5325 MB / 1.131 GB, free: 29.98 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)