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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009237/0.0009237, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009395/0.0009396, allocations: 193.5 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.132/1.132, allocations: 205.1 MB / 222.1 MB, free: 4.918 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.469/1.469, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 72.56 kB / 0.671 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1629, allocations: 114.5 MB / 0.7829 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001639/0.1645, allocations: 0.6664 MB / 0.7835 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002059/0.1648, allocations: 63.78 kB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.296e-05/0.1648, allocations: 0 / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.451e-05/0.1648, allocations: 4 kB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.711e-06/0.1648, allocations: 0 / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.165, allocations: 19.97 kB / 0.7836 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.648e-05/0.1651, allocations: 12 kB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.981e-05/0.1651, allocations: 3.984 kB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.525e-05/0.1651, allocations: 7.938 kB / 0.7836 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.642e-05/0.1652, allocations: 4 kB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.745e-06/0.1652, allocations: 0 / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.582e-05/0.1653, allocations: 19.97 kB / 0.7836 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.587e-06/0.1653, allocations: 3.938 kB / 0.7836 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.1653, allocations: 19.92 kB / 0.7837 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.082e-05/0.1654, allocations: 11.97 kB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1654, allocations: 0 / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1654, allocations: 0 / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.1654, allocations: 0 / 0.7837 GB, free: 13.02 MB / 0.6075 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.0002989/0.1657, allocations: 331.5 kB / 0.784 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.1657, allocations: 8.031 kB / 0.784 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.1658, allocations: 4.844 kB / 0.784 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.579e-05/0.1658, allocations: 164.4 kB / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1659, allocations: 8.375 kB / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/0.1659, allocations: 384 / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.166, allocations: 78.48 kB / 0.7842 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.166, allocations: 192 / 0.7842 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.166, allocations: 3.938 kB / 0.7842 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.166, allocations: 4 kB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.17e-05/0.1661, allocations: 15.92 kB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.1662, allocations: 185.5 kB / 0.7844 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.269e-05/0.1663, allocations: 97.02 kB / 0.7845 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.923e-05/0.1663, allocations: 36.34 kB / 0.7846 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.1665, allocations: 85.09 kB / 0.7847 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.1665, allocations: 38.5 kB / 0.7847 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.1665, allocations: 0 / 0.7847 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0001735/0.1667, allocations: 81.42 kB / 0.7848 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.1668, allocations: 158.2 kB / 0.7849 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.198e-05/0.1668, allocations: 89.86 kB / 0.785 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.1668, allocations: 26.33 kB / 0.785 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.115e-05/0.1668, allocations: 88.14 kB / 0.7851 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.1669, allocations: 11.81 kB / 0.7851 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.1669, allocations: 21.7 kB / 0.7851 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.406e-05/0.167, allocations: 310.8 kB / 0.7854 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.167, allocations: 4 kB / 0.7854 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.814e-05/0.167, allocations: 40.22 kB / 0.7855 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.343e-05/0.1671, allocations: 48.23 kB / 0.7855 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1671, allocations: 0 / 0.7855 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.012e-05/0.1672, allocations: 65.73 kB / 0.7856 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1672, allocations: 16.75 kB / 0.7856 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1672, allocations: 0 / 0.7856 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1672, allocations: 7.938 kB / 0.7856 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.006e-05/0.1673, allocations: 8 kB / 0.7856 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1673, allocations: 0 / 0.7856 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/0.1674, allocations: 3.906 kB / 0.7856 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1674, allocations: 11.92 kB / 0.7856 GB, free: 10.64 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.293e-05/0.1674, allocations: 113.8 kB / 0.7857 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.1674, allocations: 0 / 0.7857 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.1676, allocations: 112.6 kB / 0.7859 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.1676, allocations: 4 kB / 0.7859 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1676, allocations: 0 / 0.7859 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1676, allocations: 4.156 kB / 0.7859 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.1678, allocations: 169.7 kB / 0.786 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1678, allocations: 0 / 0.786 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.1678, allocations: 19.98 kB / 0.786 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1678, allocations: 0 / 0.786 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1678, allocations: 7.938 kB / 0.7861 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1678, allocations: 0 / 0.7861 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1678, allocations: 0 / 0.7861 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.168, allocations: 128.4 kB / 0.7862 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.548e-05/0.168, allocations: 81.09 kB / 0.7862 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.168, allocations: 11.88 kB / 0.7863 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.013e-05/0.1681, allocations: 4.094 kB / 0.7863 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.1681, allocations: 11.92 kB / 0.7863 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.1681, allocations: 4 kB / 0.7863 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 1.756e-05/0.1681, allocations: 79.28 kB / 0.7864 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.1681, allocations: 0 / 0.7864 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000193/0.1683, allocations: 8 kB / 0.7864 GB, free: 9.773 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001136/0.1684, allocations: 107.2 kB / 0.7865 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.107e-05/0.1685, allocations: 35.86 kB / 0.7865 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1685, allocations: 320 / 0.7865 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-05/0.1686, allocations: 31.92 kB / 0.7865 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.1687, allocations: 11.94 kB / 0.7865 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002041/0.1689, allocations: 153.4 kB / 0.7867 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.1691, allocations: 0.6913 MB / 0.7874 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.908e-05/0.1691, allocations: 11.98 kB / 0.7874 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.053e-05/0.1692, allocations: 11.44 kB / 0.7874 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of SimCode: time 1.9e-07/0.1692, allocations: 0 / 0.7874 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of Templates: time 0.002018/0.1712, allocations: 0.5631 MB / 0.7879 GB, free: 8.09 MB / 0.6075 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)