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.001238/0.001238, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 188.9 kB / 16.62 MB, free: 6.613 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.22/1.22, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.58/1.58, allocations: 292.3 MB / 0.5489 GB, free: 12.77 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.00137/0.001371, allocations: 75.52 kB / 0.6723 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1845, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.00161/0.1861, allocations: 0.6131 MB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002309/0.1864, allocations: 67.77 kB / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.738e-05/0.1864, allocations: 0 / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.428e-05/0.1864, allocations: 0 / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.761e-06/0.1864, allocations: 0 / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.1867, allocations: 23.91 kB / 0.7848 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.717e-05/0.1867, allocations: 8 kB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.1868, allocations: 11.98 kB / 0.7848 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.758e-05/0.1868, allocations: 7.938 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.556e-05/0.1868, allocations: 8 kB / 0.7848 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.1868, allocations: 0 / 0.7848 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.772e-05/0.1869, allocations: 15.98 kB / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/0.1869, allocations: 3.984 kB / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.187, allocations: 7.922 kB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.114e-05/0.187, allocations: 15.98 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.187, allocations: 0 / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.187, allocations: 0 / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.1871, allocations: 4 kB / 0.7849 GB, free: 11.95 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.0003152/0.1874, allocations: 323.6 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.1874, allocations: 15.97 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.1874, allocations: 0.9375 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.773e-05/0.1875, allocations: 176.2 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1875, allocations: 4.375 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.1876, allocations: 384 / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.1877, allocations: 70.55 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1877, allocations: 4.125 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1877, allocations: 3.938 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1877, allocations: 4 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.37e-05/0.1878, allocations: 15.92 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.1879, allocations: 189 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.373e-05/0.188, allocations: 93.3 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/0.188, allocations: 36.23 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.1882, allocations: 89.08 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.1882, allocations: 34.56 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.1882, allocations: 0 / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0001685/0.1884, allocations: 81.77 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.1885, allocations: 162.2 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.671e-05/0.1885, allocations: 89.86 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.1885, allocations: 25.7 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.157e-05/0.1886, allocations: 80.14 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.1886, allocations: 15.81 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.1886, allocations: 18.05 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.848e-05/0.1887, allocations: 318.8 kB / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.807e-05/0.1887, allocations: 4 kB / 0.7867 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.879e-05/0.1888, allocations: 36.28 kB / 0.7867 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.988e-05/0.1888, allocations: 48.23 kB / 0.7867 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1888, allocations: 0 / 0.7867 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.996e-05/0.1889, allocations: 65.55 kB / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.189, allocations: 8 kB / 0.7868 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.189, allocations: 128 / 0.7868 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.189, allocations: 3.938 kB / 0.7868 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.189, allocations: 16.16 kB / 0.7868 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.1891, allocations: 7.938 kB / 0.7868 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/0.1891, allocations: 0 / 0.7868 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1891, allocations: 7.984 kB / 0.7868 GB, free: 9.566 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.891e-05/0.1892, allocations: 113.8 kB / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.1892, allocations: 3.906 kB / 0.787 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.1894, allocations: 112.5 kB / 0.7871 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1894, allocations: 4 kB / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1894, allocations: 0 / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1894, allocations: 4 kB / 0.7871 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.1895, allocations: 165.6 kB / 0.7872 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1895, allocations: 0 / 0.7872 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.484e-05/0.1896, allocations: 19.92 kB / 0.7873 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1896, allocations: 4.156 kB / 0.7873 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1896, allocations: 11.94 kB / 0.7873 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1896, allocations: 4 kB / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1896, allocations: 0 / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.1897, allocations: 120.4 kB / 0.7874 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.049e-05/0.1898, allocations: 85.09 kB / 0.7875 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.1898, allocations: 11.94 kB / 0.7875 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.767e-05/0.1898, allocations: 4 kB / 0.7875 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.1899, allocations: 7.984 kB / 0.7875 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.1899, allocations: 4 kB / 0.7875 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.55e-05/0.1899, allocations: 83.22 kB / 0.7876 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1899, allocations: 0 / 0.7876 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000196/0.1901, allocations: 8 kB / 0.7876 GB, free: 8.695 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.0001251/0.1902, allocations: 103.2 kB / 0.7877 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.526e-05/0.1903, allocations: 35.92 kB / 0.7877 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1903, allocations: 0 / 0.7877 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.1904, allocations: 27.92 kB / 0.7877 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.1905, allocations: 8.562 kB / 0.7877 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002265/0.1908, allocations: 156.2 kB / 0.7879 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.191, allocations: 0.6807 MB / 0.7886 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.586e-05/0.191, allocations: 11.98 kB / 0.7886 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.191, allocations: 11.44 kB / 0.7886 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.191, allocations: 0 / 0.7886 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of Templates: time 0.002119/0.1932, allocations: 0.5564 MB / 0.7891 GB, free: 7.035 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)