Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.632/2.632, allocations: 285 MB / 292.5 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001389/0.001388, allocations: 172.9 kB / 360.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.011/2.011, allocations: 205.3 MB / 0.6192 GB, free: 12.12 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 91.48 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.695e-05/3.708e-05, allocations: 8 kB / 0.8509 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8654/0.8654, allocations: 115.3 MB / 0.9635 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2528/1.118, allocations: 136.6 MB / 1.097 GB, free: 3.855 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/1.119, allocations: 77.2 kB / 1.097 GB, free: 3.781 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002181/1.121, allocations: 0.6148 MB / 1.098 GB, free: 3.172 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/1.121, allocations: 0.875 kB / 1.098 GB, free: 3.172 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.62e-06/1.121, allocations: 0 / 1.098 GB, free: 3.172 MB / 0.698 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.000351/1.121, allocations: 325.5 kB / 1.098 GB, free: 2.812 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/1.121, allocations: 8.031 kB / 1.098 GB, free: 2.805 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/1.121, allocations: 7 kB / 1.098 GB, free: 2.805 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/1.122, allocations: 168.5 kB / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/1.122, allocations: 0 / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/1.122, allocations: 5 kB / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.833e-05/1.122, allocations: 7.938 kB / 1.098 GB, free: 2.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/1.122, allocations: 67.39 kB / 1.098 GB, free: 2.504 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.122, allocations: 0.5 kB / 1.098 GB, free: 2.504 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/1.122, allocations: 0.5312 kB / 1.098 GB, free: 2.504 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/1.122, allocations: 0.6562 kB / 1.098 GB, free: 2.504 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/1.122, allocations: 164.1 kB / 1.098 GB, free: 2.297 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/1.122, allocations: 93.92 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.8e-05/1.122, allocations: 33.86 kB / 1.098 GB, free: 2.117 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002387/1.123, allocations: 85.66 kB / 1.098 GB, free: 2.016 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/1.123, allocations: 40.22 kB / 1.099 GB, free: 1.969 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 4.018e-06/1.123, allocations: 2.016 kB / 1.099 GB, free: 1.969 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0005781/1.123, allocations: 95.61 kB / 1.099 GB, free: 1.871 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.054e-05/1.123, allocations: 154.8 kB / 1.099 GB, free: 1.684 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.626e-05/1.123, allocations: 87.38 kB / 1.099 GB, free: 1.594 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/1.123, allocations: 26.27 kB / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/1.123, allocations: 80.86 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/1.123, allocations: 19.75 kB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/1.123, allocations: 0.625 kB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.124, allocations: 312.1 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.688e-05/1.124, allocations: 15.92 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.489e-05/1.124, allocations: 29.23 kB / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/1.124, allocations: 45.92 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.124, allocations: 0.5312 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004681/1.125, allocations: 95.73 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.125, allocations: 4 kB / 1.099 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/1.125, allocations: 0 / 1.099 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/1.125, allocations: 5.156 kB / 1.099 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/1.125, allocations: 19.48 kB / 1.099 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/1.125, allocations: 0 / 1.099 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/1.125, allocations: 1.594 kB / 1.099 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/1.125, allocations: 6.109 kB / 1.099 GB, free: 0.9219 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.999e-05/1.125, allocations: 115.7 kB / 1.1 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/1.125, allocations: 4.266 kB / 1.1 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005978/1.126, allocations: 125.1 kB / 1.1 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/1.126, allocations: 4 kB / 1.1 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.176e-05/1.126, allocations: 4.156 kB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/1.126, allocations: 4 kB / 1.1 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/1.126, allocations: 142.2 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/1.126, allocations: 0 / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/1.126, allocations: 19.92 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/1.126, allocations: 4 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/1.126, allocations: 0 / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/1.126, allocations: 7.953 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.126, allocations: 0 / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005369/1.127, allocations: 203.2 kB / 1.1 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/1.127, allocations: 89.05 kB / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/1.127, allocations: 0 / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.469e-05/1.127, allocations: 7.984 kB / 1.1 GB, free: 92 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/1.127, allocations: 4 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/1.127, allocations: 4 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of sorting global known variables: time 3.806e-05/1.127, allocations: 79.23 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.127, allocations: 0 / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003273/1.127, allocations: 8.047 kB / 1.1 GB, free: 15.99 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002139/1.127, allocations: 115.1 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001272/1.128, allocations: 23.94 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.128, allocations: 3.938 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.536e-05/1.128, allocations: 27.92 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/1.128, allocations: 4 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/1.128, allocations: 98.41 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/1.128, allocations: 0.6807 MB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.08e-05/1.128, allocations: 7.312 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/1.129, allocations: 19.42 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/1.129, allocations: 0 / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of Templates: time 0.003404/1.132, allocations: 0.5199 MB / 1.102 GB, free: 14.47 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)