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.001067/0.001067, allocations: 108.7 kB / 15.99 MB, free: 6.355 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.001068/0.001068, allocations: 191.7 kB / 16.91 MB, free: 6.191 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.397/1.397, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.681/1.681, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001525/0.001525, allocations: 67.89 kB / 0.6717 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.209, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001803/0.2109, allocations: 0.6625 MB / 0.7842 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000246/0.2112, allocations: 71.77 kB / 0.7842 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.618e-05/0.2112, allocations: 0 / 0.7842 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.2112, allocations: 0 / 0.7842 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.2112, allocations: 0 / 0.7842 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.2115, allocations: 15.98 kB / 0.7843 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.104e-05/0.2115, allocations: 11.98 kB / 0.7843 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.2116, allocations: 7.984 kB / 0.7843 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.373e-05/0.2116, allocations: 11.94 kB / 0.7843 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.655e-05/0.2117, allocations: 7.984 kB / 0.7843 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.2117, allocations: 0 / 0.7843 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.615e-05/0.2118, allocations: 19.92 kB / 0.7843 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.588e-06/0.2118, allocations: 0 / 0.7843 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.062e-05/0.2118, allocations: 11.92 kB / 0.7843 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.888e-05/0.2119, allocations: 7.984 kB / 0.7843 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2119, allocations: 4 kB / 0.7843 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2119, allocations: 0 / 0.7843 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2119, allocations: 0 / 0.7843 GB, free: 13.05 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.000346/0.2122, allocations: 327.6 kB / 0.7847 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2123, allocations: 12.03 kB / 0.7847 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.2123, allocations: 0.9375 kB / 0.7847 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.58e-05/0.2124, allocations: 164.4 kB / 0.7848 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.2124, allocations: 4.375 kB / 0.7848 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.2124, allocations: 4.375 kB / 0.7848 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.2126, allocations: 74.48 kB / 0.7849 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2126, allocations: 192 / 0.7849 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2126, allocations: 3.938 kB / 0.7849 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2126, allocations: 0 / 0.7849 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.012e-05/0.2127, allocations: 19.92 kB / 0.7849 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.2129, allocations: 185.3 kB / 0.7851 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.264e-05/0.213, allocations: 97.03 kB / 0.7852 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.213, allocations: 40.42 kB / 0.7852 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000174/0.2132, allocations: 85.03 kB / 0.7853 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.2132, allocations: 42.5 kB / 0.7854 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.2132, allocations: 0 / 0.7854 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002037/0.2135, allocations: 78.08 kB / 0.7854 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.2135, allocations: 158.2 kB / 0.7856 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.939e-05/0.2136, allocations: 93.86 kB / 0.7857 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.2136, allocations: 25.7 kB / 0.7857 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.555e-05/0.2136, allocations: 80.14 kB / 0.7858 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.2137, allocations: 15.73 kB / 0.7858 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.2137, allocations: 21.7 kB / 0.7858 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.2138, allocations: 314.9 kB / 0.7861 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.2139, allocations: 8 kB / 0.7861 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-05/0.2139, allocations: 40.22 kB / 0.7861 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.737e-05/0.214, allocations: 52.23 kB / 0.7862 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.214, allocations: 0 / 0.7862 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001064/0.2141, allocations: 57.62 kB / 0.7863 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2141, allocations: 4 kB / 0.7863 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.2141, allocations: 11.92 kB / 0.7863 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2141, allocations: 3.938 kB / 0.7863 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.656e-05/0.2142, allocations: 8 kB / 0.7863 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2142, allocations: 8.156 kB / 0.7863 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.842e-05/0.2143, allocations: 0 / 0.7863 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.2143, allocations: 4 kB / 0.7863 GB, free: 10.68 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 6.764e-05/0.2144, allocations: 113.8 kB / 0.7864 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.2144, allocations: 7.906 kB / 0.7864 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.2146, allocations: 112.5 kB / 0.7865 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2146, allocations: 4 kB / 0.7865 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2146, allocations: 128 / 0.7865 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.2146, allocations: 0 / 0.7865 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.2148, allocations: 169.7 kB / 0.7867 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2148, allocations: 0 / 0.7867 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.145e-05/0.2148, allocations: 12 kB / 0.7867 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.2148, allocations: 7.984 kB / 0.7867 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2149, allocations: 12.09 kB / 0.7867 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2149, allocations: 4 kB / 0.7867 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2149, allocations: 0 / 0.7867 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.215, allocations: 120.3 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.2151, allocations: 89.09 kB / 0.7869 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.2151, allocations: 7.938 kB / 0.7869 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.046e-05/0.2151, allocations: 7.938 kB / 0.7869 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.673e-05/0.2151, allocations: 4 kB / 0.7869 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.2152, allocations: 4 kB / 0.7869 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.456e-05/0.2152, allocations: 75.28 kB / 0.787 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2152, allocations: 0 / 0.787 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002132/0.2154, allocations: 12.08 kB / 0.787 GB, free: 9.809 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.0001524/0.2156, allocations: 107.2 kB / 0.7871 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000115/0.2157, allocations: 43.86 kB / 0.7872 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2157, allocations: 4 kB / 0.7872 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-05/0.2158, allocations: 23.92 kB / 0.7872 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.2159, allocations: 7.938 kB / 0.7872 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/0.2162, allocations: 191.7 kB / 0.7874 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.2165, allocations: 0.6806 MB / 0.788 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.2165, allocations: 11.44 kB / 0.7881 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.2165, allocations: 4 kB / 0.7881 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of Templates: time 0.001901/0.2184, allocations: 0.6795 MB / 0.7887 GB, free: 7.977 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)