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.0009678/0.0009678, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009489/0.000949, allocations: 192.1 kB / 16.13 MB, free: 6.66 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.406/1.406, allocations: 205.1 MB / 222 MB, free: 4.762 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.646/1.646, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001898/0.001898, allocations: 73.23 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2861, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001897/0.288, allocations: 0.6665 MB / 0.7833 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003012/0.2883, allocations: 71.75 kB / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.279e-05/0.2884, allocations: 0 / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.573e-05/0.2884, allocations: 3.938 kB / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.103e-06/0.2884, allocations: 0 / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.2887, allocations: 15.98 kB / 0.7834 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.101e-05/0.2887, allocations: 12 kB / 0.7834 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.2888, allocations: 7.984 kB / 0.7834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.777e-05/0.2888, allocations: 7.938 kB / 0.7834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.316e-05/0.2889, allocations: 7.984 kB / 0.7835 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.2889, allocations: 4 kB / 0.7835 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.035e-05/0.2889, allocations: 7.984 kB / 0.7835 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.289, allocations: 8 kB / 0.7835 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.289, allocations: 7.922 kB / 0.7835 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.684e-05/0.2891, allocations: 15.97 kB / 0.7835 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2891, allocations: 4 kB / 0.7835 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.001e-06/0.2891, allocations: 0 / 0.7835 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.2891, allocations: 4 kB / 0.7835 GB, free: 13.17 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.00035/0.2895, allocations: 319.6 kB / 0.7838 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2895, allocations: 11.97 kB / 0.7838 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.2895, allocations: 4.938 kB / 0.7838 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.242e-05/0.2896, allocations: 164.3 kB / 0.784 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.2897, allocations: 4.375 kB / 0.784 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.2897, allocations: 4.375 kB / 0.784 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.2898, allocations: 78.53 kB / 0.7841 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2898, allocations: 4.125 kB / 0.7841 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.2899, allocations: 3.938 kB / 0.7841 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2899, allocations: 0 / 0.7841 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.054e-05/0.2899, allocations: 15.94 kB / 0.7841 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.2901, allocations: 185.3 kB / 0.7843 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.958e-05/0.2902, allocations: 97.08 kB / 0.7844 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.428e-05/0.2903, allocations: 48.3 kB / 0.7844 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.2904, allocations: 85.08 kB / 0.7845 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.2905, allocations: 38.56 kB / 0.7845 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.422e-06/0.2905, allocations: 0 / 0.7845 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002098/0.2907, allocations: 77.62 kB / 0.7846 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.2908, allocations: 158.2 kB / 0.7847 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.42e-05/0.2908, allocations: 93.84 kB / 0.7848 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.2908, allocations: 29.7 kB / 0.7849 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.461e-05/0.2909, allocations: 80.14 kB / 0.7849 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.2909, allocations: 7.812 kB / 0.7849 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.2909, allocations: 18.16 kB / 0.785 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.291, allocations: 322.8 kB / 0.7853 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.2911, allocations: 4 kB / 0.7853 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.127e-05/0.2911, allocations: 32.3 kB / 0.7853 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.819e-05/0.2912, allocations: 56.22 kB / 0.7854 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2912, allocations: 0 / 0.7854 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.977e-05/0.2913, allocations: 61.56 kB / 0.7854 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.2913, allocations: 4 kB / 0.7854 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2913, allocations: 4 kB / 0.7854 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2913, allocations: 3.938 kB / 0.7854 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.64e-05/0.2914, allocations: 16.14 kB / 0.7854 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.2914, allocations: 3.938 kB / 0.7854 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.8e-05/0.2915, allocations: 4 kB / 0.7855 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.2915, allocations: 4 kB / 0.7855 GB, free: 10.79 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 7.208e-05/0.2916, allocations: 113.8 kB / 0.7856 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.2916, allocations: 7.906 kB / 0.7856 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.2918, allocations: 112.7 kB / 0.7857 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2918, allocations: 4 kB / 0.7857 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2918, allocations: 0 / 0.7857 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2918, allocations: 3.984 kB / 0.7857 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.2919, allocations: 161.7 kB / 0.7858 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2919, allocations: 0 / 0.7858 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.944e-05/0.292, allocations: 16.09 kB / 0.7859 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.292, allocations: 8 kB / 0.7859 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.292, allocations: 7.938 kB / 0.7859 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.292, allocations: 7.984 kB / 0.7859 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2921, allocations: 0 / 0.7859 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.2922, allocations: 124.3 kB / 0.786 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/0.2922, allocations: 81.11 kB / 0.7861 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.2922, allocations: 11.92 kB / 0.7861 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.965e-05/0.2923, allocations: 4 kB / 0.7861 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.673e-05/0.2923, allocations: 4 kB / 0.7861 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.2923, allocations: 4 kB / 0.7861 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.52e-05/0.2923, allocations: 79.22 kB / 0.7862 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2924, allocations: 0 / 0.7862 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002235/0.2926, allocations: 12 kB / 0.7862 GB, free: 9.926 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.000154/0.2927, allocations: 111.2 kB / 0.7863 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.2929, allocations: 31.92 kB / 0.7863 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2929, allocations: 0 / 0.7863 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.725e-05/0.2929, allocations: 23.94 kB / 0.7863 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.2931, allocations: 20.48 kB / 0.7864 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.2933, allocations: 158.1 kB / 0.7865 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.2936, allocations: 0.6809 MB / 0.7872 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.222e-05/0.2936, allocations: 12 kB / 0.7872 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.2936, allocations: 11.44 kB / 0.7872 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.2936, allocations: 0 / 0.7872 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of Templates: time 0.002411/0.2961, allocations: 0.5603 MB / 0.7878 GB, free: 8.25 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)