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.559/1.559, allocations: 289.9 MB / 297.4 MB, free: 6.328 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.001038/0.001038, allocations: 176.8 kB / 366.7 MB, free: 1.668 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.447/1.447, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.0008237/0.0008238, allocations: 91.61 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.329e-05/2.34e-05, allocations: 8 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5511/0.5511, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.7124, allocations: 137.8 MB / 1.108 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.7127, allocations: 75.95 kB / 1.108 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001581/0.7143, allocations: 0.6218 MB / 1.109 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7143, allocations: 0 / 1.109 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.86e-06/0.7144, allocations: 0.5625 kB / 1.109 GB, free: 11.74 MB / 0.7136 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.0002606/0.7146, allocations: 319.7 kB / 1.109 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.7147, allocations: 12.03 kB / 1.109 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.7147, allocations: 1.875 kB / 1.109 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.7148, allocations: 163 kB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.7149, allocations: 0.6875 kB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.7149, allocations: 4 kB / 1.109 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.267e-05/0.7149, allocations: 12.59 kB / 1.109 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.7151, allocations: 71.92 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.7151, allocations: 0 / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.7151, allocations: 0.7188 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.7151, allocations: 0 / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.7153, allocations: 160.4 kB / 1.109 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.7155, allocations: 98.12 kB / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.589e-05/0.7155, allocations: 32.8 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.7157, allocations: 86.22 kB / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.7158, allocations: 36.19 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 3.106e-06/0.7158, allocations: 2.844 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0004379/0.7162, allocations: 90.19 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.317e-05/0.7163, allocations: 163.9 kB / 1.11 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.757e-05/0.7164, allocations: 88.98 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.7164, allocations: 25.7 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.7164, allocations: 81.61 kB / 1.11 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.7165, allocations: 15.75 kB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.7165, allocations: 0 / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.7166, allocations: 316 kB / 1.11 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.512e-05/0.7166, allocations: 4 kB / 1.11 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/0.7167, allocations: 39.53 kB / 1.11 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.7169, allocations: 41.72 kB / 1.11 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.7169, allocations: 0 / 1.11 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002962/0.7172, allocations: 90.83 kB / 1.11 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.7172, allocations: 12.55 kB / 1.11 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.7172, allocations: 2.219 kB / 1.11 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.7173, allocations: 4 kB / 1.11 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.77e-05/0.7173, allocations: 8 kB / 1.11 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.7173, allocations: 6.938 kB / 1.11 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/0.7174, allocations: 2.531 kB / 1.11 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.7174, allocations: 7.438 kB / 1.11 GB, free: 9.492 MB / 0.7136 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 6.555e-05/0.7175, allocations: 108.3 kB / 1.111 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.7175, allocations: 4 kB / 1.111 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.7179, allocations: 129.4 kB / 1.111 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.7179, allocations: 4 kB / 1.111 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.7179, allocations: 0 / 1.111 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.7179, allocations: 4 kB / 1.111 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.718, allocations: 138.2 kB / 1.111 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.718, allocations: 4 kB / 1.111 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-05/0.7181, allocations: 15.98 kB / 1.111 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.7181, allocations: 0 / 1.111 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.7181, allocations: 4 kB / 1.111 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7181, allocations: 160 / 1.111 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/0.7181, allocations: 15.89 kB / 1.111 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.7185, allocations: 199.2 kB / 1.111 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.7185, allocations: 85.05 kB / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.7185, allocations: 3.375 kB / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.738e-05/0.7186, allocations: 4 kB / 1.111 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.7186, allocations: 7.984 kB / 1.111 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.7186, allocations: 8 kB / 1.111 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.13e-05/0.7186, allocations: 82.66 kB / 1.111 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7187, allocations: 0 / 1.111 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001866/0.7188, allocations: 8 kB / 1.111 GB, free: 8.566 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.0001426/0.719, allocations: 115.1 kB / 1.111 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.448e-05/0.7191, allocations: 23.94 kB / 1.111 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7191, allocations: 0 / 1.111 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.557e-05/0.7191, allocations: 24.38 kB / 1.111 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.7192, allocations: 8.188 kB / 1.111 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001961/0.7194, allocations: 95.3 kB / 1.111 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.7197, allocations: 0.6807 MB / 1.112 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.295e-05/0.7197, allocations: 8 kB / 1.112 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.7198, allocations: 15.44 kB / 1.112 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.7198, allocations: 0 / 1.112 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of Templates: time 0.002149/0.7219, allocations: 0.5083 MB / 1.113 GB, free: 7.047 MB / 0.7136 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)