Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.579/1.579, allocations: 288.4 MB / 304.3 MB, free: 8.094 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.0009761/0.0009762, allocations: 182.9 kB / 372.9 MB, free: 10.14 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.405/1.405, allocations: 205.4 MB / 0.6317 GB, free: 9.883 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007887/0.0007886, allocations: 90.16 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004079/0.0004079, allocations: 18.16 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2358, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6283/0.8642, allocations: 137.6 MB / 1.115 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001908/0.8644, allocations: 73.83 kB / 1.115 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001733/0.8661, allocations: 0.6199 MB / 1.116 GB, free: 32.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8662, allocations: 0 / 1.116 GB, free: 32.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.8662, allocations: 3.812 kB / 1.116 GB, free: 32.3 MB / 0.698 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.0002435/0.8664, allocations: 324.1 kB / 1.116 GB, free: 31.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.8665, allocations: 11.53 kB / 1.116 GB, free: 31.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.8665, allocations: 4.922 kB / 1.116 GB, free: 31.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.75e-05/0.8666, allocations: 160.4 kB / 1.116 GB, free: 31.74 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.8666, allocations: 384 / 1.116 GB, free: 31.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.8666, allocations: 8.156 kB / 1.116 GB, free: 31.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.8667, allocations: 78.53 kB / 1.116 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.8667, allocations: 192 / 1.116 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.8668, allocations: 3.938 kB / 1.116 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.8668, allocations: 0 / 1.116 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.058e-05/0.8668, allocations: 14.69 kB / 1.116 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.8669, allocations: 189.4 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.731e-05/0.867, allocations: 87.8 kB / 1.117 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.867, allocations: 41.02 kB / 1.117 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.8672, allocations: 91.17 kB / 1.117 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.8672, allocations: 35.31 kB / 1.117 GB, free: 31.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.8672, allocations: 0 / 1.117 GB, free: 31.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0001615/0.8674, allocations: 83.22 kB / 1.117 GB, free: 31.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.8675, allocations: 158.2 kB / 1.117 GB, free: 30.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.135e-05/0.8675, allocations: 92.16 kB / 1.117 GB, free: 30.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.8675, allocations: 25.7 kB / 1.117 GB, free: 30.76 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.8676, allocations: 87.89 kB / 1.117 GB, free: 30.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.8676, allocations: 15.62 kB / 1.117 GB, free: 30.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.8676, allocations: 4 kB / 1.117 GB, free: 30.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.8677, allocations: 317.2 kB / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.409e-05/0.8677, allocations: 3.875 kB / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.354e-05/0.8678, allocations: 38.08 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.793e-05/0.8678, allocations: 46.23 kB / 1.118 GB, free: 30.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8678, allocations: 0 / 1.118 GB, free: 30.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.326e-05/0.8679, allocations: 65.67 kB / 1.118 GB, free: 30.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.8679, allocations: 7.281 kB / 1.118 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.8679, allocations: 0 / 1.118 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.868, allocations: 8.094 kB / 1.118 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.419e-05/0.868, allocations: 13.31 kB / 1.118 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.868, allocations: 3.344 kB / 1.118 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.8681, allocations: 1.969 kB / 1.118 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.8681, allocations: 3.312 kB / 1.118 GB, free: 30.21 MB / 0.698 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 6.515e-05/0.8682, allocations: 123.2 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.8682, allocations: 3.344 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.8684, allocations: 106.2 kB / 1.118 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.8684, allocations: 3.844 kB / 1.118 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.8684, allocations: 0 / 1.118 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.8684, allocations: 3.75 kB / 1.118 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.674e-05/0.8685, allocations: 162.6 kB / 1.118 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.8685, allocations: 3.047 kB / 1.118 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.176e-05/0.8686, allocations: 26.75 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.8686, allocations: 0 / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.8686, allocations: 7.781 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.8686, allocations: 3.188 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.8686, allocations: 3.844 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.386e-05/0.8687, allocations: 120.9 kB / 1.118 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.8687, allocations: 88.67 kB / 1.118 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.8687, allocations: 3.938 kB / 1.118 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.735e-05/0.8688, allocations: 11 kB / 1.118 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.8688, allocations: 6.891 kB / 1.118 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.8688, allocations: 3.844 kB / 1.118 GB, free: 29.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.448e-05/0.8688, allocations: 75.28 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.8688, allocations: 4.094 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002005/0.869, allocations: 21.8 kB / 1.118 GB, free: 29.54 MB / 0.698 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.0001318/0.8692, allocations: 105.8 kB / 1.119 GB, free: 29.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.424e-05/0.8693, allocations: 32.62 kB / 1.119 GB, free: 29.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8693, allocations: 0 / 1.119 GB, free: 29.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.757e-05/0.8693, allocations: 25.91 kB / 1.119 GB, free: 29.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.8695, allocations: 15.2 kB / 1.119 GB, free: 29.44 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.8697, allocations: 146.7 kB / 1.119 GB, free: 29.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.8699, allocations: 0.6819 MB / 1.119 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.933e-05/0.87, allocations: 7.875 kB / 1.119 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/0.87, allocations: 16.7 kB / 1.119 GB, free: 28.58 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.87, allocations: 0 / 1.119 GB, free: 28.58 MB / 0.698 GB Notification: Performance of Templates: time 0.002034/0.8721, allocations: 0.5355 MB / 1.12 GB, free: 28.51 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)