Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.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_3.0.0_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.001726/0.001726, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 198 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.31 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3015, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001736/0.3033, allocations: 0.5933 MB / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002957/0.3036, allocations: 75.75 kB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.89e-05/0.3036, allocations: 4 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.3037, allocations: 0 / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.442e-06/0.3037, allocations: 0 / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.3039, allocations: 19.92 kB / 1.069 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.227e-05/0.304, allocations: 4 kB / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.949e-05/0.3041, allocations: 4 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.399e-05/0.3041, allocations: 15.97 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.747e-05/0.3041, allocations: 3.938 kB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.3042, allocations: 4 kB / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.274e-05/0.3042, allocations: 11.98 kB / 1.069 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.3042, allocations: 8 kB / 1.069 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.973e-05/0.3043, allocations: 3.938 kB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.91e-05/0.3044, allocations: 23.95 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3044, allocations: 0 / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3044, allocations: 0 / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3044, allocations: 0 / 1.069 GB, free: 9.68 MB / 0.8262 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.000388/0.3048, allocations: 323.6 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3048, allocations: 12.03 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.3049, allocations: 0.9375 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.162e-05/0.3049, allocations: 172.3 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.305, allocations: 384 / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.305, allocations: 4.375 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.3051, allocations: 70.53 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.3051, allocations: 8.109 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3051, allocations: 11.88 kB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.3052, allocations: 4 kB / 1.07 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.755e-05/0.3052, allocations: 11.94 kB / 1.07 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.3054, allocations: 177.5 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.533e-05/0.3055, allocations: 99.27 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.117e-05/0.3055, allocations: 36.36 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/0.3057, allocations: 85.09 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.3057, allocations: 38.56 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.3057, allocations: 0 / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0001823/0.3059, allocations: 81.34 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.306, allocations: 158.2 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.348e-05/0.306, allocations: 94.48 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.3061, allocations: 29.7 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.3061, allocations: 80.14 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.3061, allocations: 19.73 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.3062, allocations: 13.72 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3063, allocations: 322.8 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.3063, allocations: 0 / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.698e-05/0.3064, allocations: 40.3 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.831e-05/0.3064, allocations: 48.22 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3064, allocations: 0 / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.896e-05/0.3065, allocations: 65.56 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3066, allocations: 4 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3066, allocations: 4 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3066, allocations: 4.062 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.753e-05/0.3067, allocations: 15.98 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3067, allocations: 7.938 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.3067, allocations: 4 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.3067, allocations: 4 kB / 1.071 GB, free: 7.301 MB / 0.8262 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.749e-05/0.3068, allocations: 110 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.3068, allocations: 7.984 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.307, allocations: 104.5 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.307, allocations: 4.156 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.307, allocations: 4 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3071, allocations: 3.984 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.3072, allocations: 161.7 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3072, allocations: 3.938 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.95e-05/0.3073, allocations: 23.88 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3073, allocations: 4 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-06/0.3073, allocations: 3.938 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.3073, allocations: 7.984 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3073, allocations: 0 / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.3075, allocations: 120.5 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/0.3075, allocations: 85.02 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.3075, allocations: 7.922 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.191e-05/0.3076, allocations: 8 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.3076, allocations: 8 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3076, allocations: 8 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.513e-05/0.3077, allocations: 79.22 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3077, allocations: 0 / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002078/0.3079, allocations: 8 kB / 1.072 GB, free: 6.438 MB / 0.8262 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.0001493/0.308, allocations: 107.8 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.3081, allocations: 36.05 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3082, allocations: 4 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.647e-05/0.3082, allocations: 31.86 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.3084, allocations: 1.562 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.3086, allocations: 160.2 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.3089, allocations: 0.6807 MB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.213e-05/0.3089, allocations: 4 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.3089, allocations: 15.42 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.3089, allocations: 4 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of Templates: time 0.002453/0.3114, allocations: 0.5628 MB / 1.073 GB, free: 4.766 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)