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.001202/0.001202, allocations: 100.4 kB / 16.29 MB, free: 6.426 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.00114/0.00114, allocations: 189.5 kB / 17.22 MB, free: 5.957 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.222/1.222, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.607/1.607, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.001302/0.001303, allocations: 74.86 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1979, allocations: 114.6 MB / 0.7841 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001761/0.1997, allocations: 0.5891 MB / 0.7847 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002414/0.2, allocations: 71.75 kB / 0.7847 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.512e-05/0.2, allocations: 0 / 0.7847 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.318e-05/0.2, allocations: 4 kB / 0.7847 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.775e-06/0.2, allocations: 3.938 kB / 0.7847 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.2002, allocations: 15.98 kB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.445e-05/0.2003, allocations: 15.98 kB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.2003, allocations: 0 / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.715e-05/0.2004, allocations: 11.92 kB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.759e-05/0.2004, allocations: 7.984 kB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.308e-06/0.2004, allocations: 0 / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.959e-05/0.2005, allocations: 12 kB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.2005, allocations: 3.984 kB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.2005, allocations: 23.86 kB / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.073e-05/0.2006, allocations: 15.92 kB / 0.7848 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.175e-06/0.2006, allocations: 0 / 0.7848 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2006, allocations: 0 / 0.7848 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2006, allocations: 0 / 0.7848 GB, free: 3.098 MB / 0.6544 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.0003524/0.201, allocations: 327.6 kB / 0.7852 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.201, allocations: 8.031 kB / 0.7852 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.2011, allocations: 4.938 kB / 0.7852 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.2012, allocations: 160.4 kB / 0.7853 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.2012, allocations: 4.375 kB / 0.7853 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.2012, allocations: 384 / 0.7853 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.2013, allocations: 78.42 kB / 0.7854 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.2013, allocations: 4.188 kB / 0.7854 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.2014, allocations: 3.938 kB / 0.7854 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2014, allocations: 0 / 0.7854 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.337e-05/0.2014, allocations: 15.92 kB / 0.7854 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.2016, allocations: 185.4 kB / 0.7856 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.2017, allocations: 97.02 kB / 0.7857 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.2017, allocations: 36.41 kB / 0.7857 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.2019, allocations: 85.09 kB / 0.7858 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.2019, allocations: 46.5 kB / 0.7859 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.2019, allocations: 0 / 0.7859 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.0001655/0.2021, allocations: 81.39 kB / 0.7859 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/0.2022, allocations: 154.2 kB / 0.7861 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.039e-05/0.2022, allocations: 89.86 kB / 0.7862 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.2022, allocations: 30.33 kB / 0.7862 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.2023, allocations: 88.14 kB / 0.7863 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.2023, allocations: 11.8 kB / 0.7863 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.2023, allocations: 17.72 kB / 0.7863 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.989e-05/0.2024, allocations: 310.8 kB / 0.7866 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.2024, allocations: 4 kB / 0.7866 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.29e-05/0.2025, allocations: 44.22 kB / 0.7866 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.09e-05/0.2026, allocations: 48.23 kB / 0.7867 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2026, allocations: 0 / 0.7867 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.901e-05/0.2027, allocations: 65.77 kB / 0.7868 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2027, allocations: 8 kB / 0.7868 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2027, allocations: 11.88 kB / 0.7868 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.2027, allocations: 3.938 kB / 0.7868 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.2028, allocations: 8 kB / 0.7868 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.2028, allocations: 3.984 kB / 0.7868 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.82e-05/0.2028, allocations: 7.984 kB / 0.7868 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.2028, allocations: 0 / 0.7868 GB, free: 0.7227 MB / 0.6544 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 0.0001137/0.203, allocations: 113.8 kB / 0.7869 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.203, allocations: 4 kB / 0.7869 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.2032, allocations: 112.4 kB / 0.787 GB, free: 492 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2032, allocations: 0 / 0.787 GB, free: 492 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2032, allocations: 4 kB / 0.787 GB, free: 488 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2032, allocations: 0 / 0.787 GB, free: 488 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.2033, allocations: 166 kB / 0.7872 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2033, allocations: 8 kB / 0.7872 GB, free: 264 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.264e-05/0.2034, allocations: 15.98 kB / 0.7872 GB, free: 248 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2034, allocations: 0 / 0.7872 GB, free: 248 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.2034, allocations: 7.938 kB / 0.7872 GB, free: 240 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.2034, allocations: 3.938 kB / 0.7872 GB, free: 236 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2034, allocations: 4 kB / 0.7872 GB, free: 232 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.2036, allocations: 124.5 kB / 0.7873 GB, free: 76 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3062/0.5098, allocations: 81.11 kB / 0.7874 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.5098, allocations: 5.688 kB / 0.7874 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.494e-05/0.5099, allocations: 5.312 kB / 0.7874 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.5099, allocations: 4.797 kB / 0.7874 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.5099, allocations: 6.234 kB / 0.7874 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.691e-05/0.5099, allocations: 76.75 kB / 0.7875 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.51, allocations: 2.531 kB / 0.7875 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002498/0.5102, allocations: 7.938 kB / 0.7875 GB, free: 48.57 MB / 0.6544 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.0001498/0.5104, allocations: 106.5 kB / 0.7876 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001412/0.5105, allocations: 41.27 kB / 0.7877 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5105, allocations: 0 / 0.7877 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.314e-05/0.5106, allocations: 30.5 kB / 0.7877 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.5107, allocations: 13.22 kB / 0.7877 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.511, allocations: 136.6 kB / 0.7878 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.5111, allocations: 0.6835 MB / 0.7885 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.947e-05/0.5112, allocations: 11.66 kB / 0.7885 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.5112, allocations: 11.53 kB / 0.7885 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.5112, allocations: 0 / 0.7885 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.002098/0.5133, allocations: 0.5557 MB / 0.7891 GB, free: 47.66 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)