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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.708/1.708, allocations: 289.7 MB / 302.2 MB, free: 2.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001302/0.001303, allocations: 179 kB / 371.6 MB, free: 3.43 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.1 MB / 0.6309 GB, free: 11.72 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 87.14 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.336e-05/4.339e-05, allocations: 4 kB / 0.8662 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2606, allocations: 116.3 MB / 0.9798 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9938/1.254, allocations: 138.4 MB / 1.115 GB, free: 44.99 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/1.255, allocations: 77.44 kB / 1.115 GB, free: 44.96 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.001642/1.256, allocations: 0.6178 MB / 1.116 GB, free: 44.47 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.855e-06/1.256, allocations: 0.7188 kB / 1.116 GB, free: 44.47 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.106e-06/1.256, allocations: 0 / 1.116 GB, free: 44.47 MB / 0.7448 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.0003034/1.257, allocations: 317.5 kB / 1.116 GB, free: 44.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/1.257, allocations: 12.53 kB / 1.116 GB, free: 44.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/1.257, allocations: 2.594 kB / 1.116 GB, free: 44.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/1.257, allocations: 159.6 kB / 1.116 GB, free: 43.92 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/1.257, allocations: 0.625 kB / 1.116 GB, free: 43.92 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/1.257, allocations: 7.828 kB / 1.116 GB, free: 43.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/1.257, allocations: 77.64 kB / 1.116 GB, free: 43.83 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/1.257, allocations: 1.312 kB / 1.116 GB, free: 43.83 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.266e-05/1.257, allocations: 0.5156 kB / 1.116 GB, free: 43.83 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/1.257, allocations: 0.6562 kB / 1.116 GB, free: 43.83 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.201e-05/1.257, allocations: 12.56 kB / 1.116 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/1.258, allocations: 188.3 kB / 1.116 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/1.258, allocations: 104.3 kB / 1.117 GB, free: 43.46 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.126e-05/1.258, allocations: 31.86 kB / 1.117 GB, free: 43.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/1.258, allocations: 84.8 kB / 1.117 GB, free: 43.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/1.258, allocations: 44.72 kB / 1.117 GB, free: 43.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/1.258, allocations: 2.438 kB / 1.117 GB, free: 43.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0002462/1.258, allocations: 56.56 kB / 1.117 GB, free: 43.21 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/1.259, allocations: 159.1 kB / 1.117 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.848e-05/1.259, allocations: 88.75 kB / 1.117 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/1.259, allocations: 25.86 kB / 1.117 GB, free: 42.9 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/1.259, allocations: 84.14 kB / 1.117 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.993e-05/1.259, allocations: 25.98 kB / 1.117 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/1.259, allocations: 3.188 kB / 1.117 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.259, allocations: 310.8 kB / 1.117 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/1.259, allocations: 4 kB / 1.117 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.727e-05/1.259, allocations: 35.52 kB / 1.117 GB, free: 42.44 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.301e-05/1.259, allocations: 15.94 kB / 1.117 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.259, allocations: 0 / 1.117 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001201/1.259, allocations: 64.11 kB / 1.118 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/1.259, allocations: 4 kB / 1.118 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/1.259, allocations: 10.22 kB / 1.118 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/1.259, allocations: 0.5625 kB / 1.118 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.947e-05/1.259, allocations: 15.36 kB / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/1.259, allocations: 0 / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.391e-05/1.259, allocations: 7.438 kB / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/1.259, allocations: 5.188 kB / 1.118 GB, free: 42.33 MB / 0.7448 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 7.37e-05/1.259, allocations: 102.6 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/1.26, allocations: 7.953 kB / 1.118 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/1.26, allocations: 104.3 kB / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/1.26, allocations: 8.266 kB / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.26, allocations: 3.391 kB / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.26, allocations: 0 / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/1.26, allocations: 159.7 kB / 1.118 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.26, allocations: 8.156 kB / 1.118 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.954e-05/1.26, allocations: 15.28 kB / 1.118 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/1.26, allocations: 4 kB / 1.118 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/1.26, allocations: 7.391 kB / 1.118 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/1.26, allocations: 4 kB / 1.118 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/1.26, allocations: 0 / 1.118 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/1.26, allocations: 167.9 kB / 1.118 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.664e-05/1.26, allocations: 88.95 kB / 1.118 GB, free: 41.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/1.26, allocations: 3.828 kB / 1.118 GB, free: 41.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.04e-05/1.26, allocations: 6.75 kB / 1.118 GB, free: 41.6 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/1.26, allocations: 15.89 kB / 1.118 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/1.26, allocations: 8 kB / 1.118 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.85e-05/1.26, allocations: 78.66 kB / 1.118 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.9e-07/1.26, allocations: 0 / 1.118 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000213/1.261, allocations: 12.94 kB / 1.118 GB, free: 41.5 MB / 0.7448 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.0001807/1.261, allocations: 102.8 kB / 1.118 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001049/1.261, allocations: 37.92 kB / 1.118 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.261, allocations: 0 / 1.118 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-05/1.261, allocations: 27.72 kB / 1.118 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001103/1.261, allocations: 3.125 kB / 1.118 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/1.261, allocations: 109.2 kB / 1.119 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/1.262, allocations: 0.6832 MB / 1.119 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.217e-05/1.262, allocations: 9.109 kB / 1.119 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/1.262, allocations: 12.09 kB / 1.119 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/1.262, allocations: 0 / 1.119 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of Templates: time 0.002758/1.264, allocations: 0.5281 MB / 1.12 GB, free: 40.2 MB / 0.7448 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)