Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.61/2.61, allocations: 287.5 MB / 303.2 MB, free: 8.195 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.001343/0.001343, allocations: 178.9 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 94.3 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004838/0.0004841, allocations: 17.48 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2166, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8845/1.101, allocations: 137.4 MB / 1.113 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/1.102, allocations: 80.08 kB / 1.114 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002447/1.104, allocations: 0.6078 MB / 1.114 GB, free: 31.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/1.104, allocations: 2.844 kB / 1.114 GB, free: 31.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.053e-06/1.104, allocations: 3.844 kB / 1.114 GB, free: 31.58 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.0003038/1.104, allocations: 323.2 kB / 1.114 GB, free: 31.22 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/1.104, allocations: 11.69 kB / 1.114 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/1.104, allocations: 0.9375 kB / 1.114 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.526e-05/1.105, allocations: 165.8 kB / 1.115 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/1.105, allocations: 0.9375 kB / 1.115 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/1.105, allocations: 8.203 kB / 1.115 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/1.105, allocations: 79.64 kB / 1.115 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.105, allocations: 4.125 kB / 1.115 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/1.105, allocations: 3.938 kB / 1.115 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/1.105, allocations: 0 / 1.115 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.521e-05/1.105, allocations: 15.64 kB / 1.115 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/1.105, allocations: 185.4 kB / 1.115 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.226e-05/1.105, allocations: 96.31 kB / 1.115 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.673e-05/1.105, allocations: 36.67 kB / 1.115 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002117/1.105, allocations: 83.72 kB / 1.115 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/1.105, allocations: 34.41 kB / 1.115 GB, free: 30.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/1.105, allocations: 6.188 kB / 1.115 GB, free: 30.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0002365/1.106, allocations: 82.69 kB / 1.115 GB, free: 30.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/1.106, allocations: 154.2 kB / 1.115 GB, free: 30.17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.809e-05/1.106, allocations: 93.17 kB / 1.115 GB, free: 30.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/1.106, allocations: 25.7 kB / 1.116 GB, free: 30.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.66e-05/1.106, allocations: 86.16 kB / 1.116 GB, free: 29.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/1.106, allocations: 14.94 kB / 1.116 GB, free: 29.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/1.106, allocations: 4 kB / 1.116 GB, free: 29.94 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.106, allocations: 312.4 kB / 1.116 GB, free: 29.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-05/1.106, allocations: 5.25 kB / 1.116 GB, free: 29.63 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.022e-05/1.106, allocations: 36.62 kB / 1.116 GB, free: 29.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.254e-05/1.106, allocations: 51.59 kB / 1.116 GB, free: 29.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1.106, allocations: 1.453 kB / 1.116 GB, free: 29.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001355/1.106, allocations: 61.53 kB / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.106, allocations: 7.75 kB / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/1.107, allocations: 3.875 kB / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/1.107, allocations: 7.938 kB / 1.116 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/1.107, allocations: 13.14 kB / 1.116 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/1.107, allocations: 9.25 kB / 1.116 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.175e-05/1.107, allocations: 3.688 kB / 1.116 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/1.107, allocations: 6.109 kB / 1.116 GB, free: 29.49 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.638e-05/1.107, allocations: 115.5 kB / 1.116 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/1.107, allocations: 0 / 1.116 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/1.107, allocations: 108.2 kB / 1.116 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/1.107, allocations: 3.375 kB / 1.116 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.107, allocations: 1.594 kB / 1.116 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.107, allocations: 3.312 kB / 1.116 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/1.107, allocations: 160.8 kB / 1.116 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/1.107, allocations: 8 kB / 1.116 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/1.107, allocations: 18.09 kB / 1.116 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/1.108, allocations: 3.312 kB / 1.117 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/1.108, allocations: 8.828 kB / 1.117 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/1.108, allocations: 0 / 1.117 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.108, allocations: 3.344 kB / 1.117 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/1.108, allocations: 121.7 kB / 1.117 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/1.108, allocations: 90.34 kB / 1.117 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/1.108, allocations: 3.938 kB / 1.117 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.315e-05/1.108, allocations: 4.312 kB / 1.117 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/1.108, allocations: 10.5 kB / 1.117 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/1.108, allocations: 3.312 kB / 1.117 GB, free: 28.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.523e-05/1.108, allocations: 83.22 kB / 1.117 GB, free: 28.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.6e-07/1.108, allocations: 3.938 kB / 1.117 GB, free: 28.83 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002937/1.108, allocations: 16.11 kB / 1.117 GB, free: 28.82 MB / 0.698 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 (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.0001731/1.108, allocations: 99.8 kB / 1.117 GB, free: 28.74 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001343/1.109, allocations: 33.64 kB / 1.117 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.109, allocations: 0 / 1.117 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.26e-05/1.109, allocations: 32.34 kB / 1.117 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/1.109, allocations: 9.219 kB / 1.117 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/1.109, allocations: 155.1 kB / 1.117 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/1.109, allocations: 0.6801 MB / 1.118 GB, free: 27.88 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.084e-05/1.11, allocations: 14.16 kB / 1.118 GB, free: 27.87 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/1.11, allocations: 12.5 kB / 1.118 GB, free: 27.86 MB / 0.698 GB Notification: Performance of SimCode: time 1.233e-06/1.11, allocations: 0 / 1.118 GB, free: 27.86 MB / 0.698 GB Notification: Performance of Templates: time 0.003166/1.113, allocations: 0.5311 MB / 1.118 GB, free: 27.79 MB / 0.698 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)