Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.03/2.03, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.001173/0.001173, allocations: 180.9 kB / 361.4 MB, free: 6.797 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.687/1.687, allocations: 205.3 MB / 0.62 GB, free: 11.62 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.0008727/0.0008728, allocations: 90.84 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.522e-05/3.535e-05, allocations: 8 kB / 0.8518 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8393/0.8394, allocations: 115.3 MB / 0.9645 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2638/1.103, allocations: 136.8 MB / 1.098 GB, free: 2.922 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/1.104, allocations: 75.95 kB / 1.098 GB, free: 2.848 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002001/1.106, allocations: 0.6142 MB / 1.099 GB, free: 2.242 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.885e-06/1.106, allocations: 4 kB / 1.099 GB, free: 2.238 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.149e-06/1.106, allocations: 2.953 kB / 1.099 GB, free: 2.238 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.0003428/1.106, allocations: 321.1 kB / 1.099 GB, free: 1.887 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/1.106, allocations: 16.02 kB / 1.099 GB, free: 1.871 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/1.106, allocations: 1.844 kB / 1.099 GB, free: 1.871 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/1.106, allocations: 163 kB / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/1.106, allocations: 0.6875 kB / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/1.106, allocations: 4 kB / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.469e-05/1.106, allocations: 11.03 kB / 1.099 GB, free: 1.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/1.107, allocations: 71.98 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/1.107, allocations: 1.125 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/1.107, allocations: 0 / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/1.107, allocations: 0.6562 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002271/1.107, allocations: 155.7 kB / 1.099 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/1.107, allocations: 102.5 kB / 1.1 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/1.107, allocations: 32.91 kB / 1.1 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002275/1.107, allocations: 82.42 kB / 1.1 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/1.107, allocations: 40.22 kB / 1.1 GB, free: 1.039 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/1.107, allocations: 0 / 1.1 GB, free: 1.039 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.000565/1.108, allocations: 99.08 kB / 1.1 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.108, allocations: 155.2 kB / 1.1 GB, free: 0.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.207e-05/1.108, allocations: 85.53 kB / 1.1 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/1.108, allocations: 26.23 kB / 1.1 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/1.108, allocations: 81.45 kB / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.937e-05/1.108, allocations: 19.75 kB / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/1.108, allocations: 0 / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.109, allocations: 315.9 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/1.109, allocations: 7.828 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.994e-05/1.109, allocations: 36.67 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/1.109, allocations: 46.05 kB / 1.101 GB, free: 120 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.109, allocations: 0.5625 kB / 1.101 GB, free: 120 kB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004649/1.109, allocations: 93.53 kB / 1.101 GB, free: 28 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/1.109, allocations: 11.95 kB / 1.101 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.11, allocations: 0.8906 kB / 1.101 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.11, allocations: 4 kB / 1.101 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/1.11, allocations: 11.98 kB / 1.101 GB, free: 0 / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.122e-05/1.11, allocations: 4.047 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/1.11, allocations: 0 / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/1.11, allocations: 4 kB / 1.101 GB, free: 15.99 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 9.382e-05/1.11, allocations: 108.5 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004434/1.11, allocations: 93.48 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/1.11, allocations: 11.86 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005632/1.111, allocations: 121.7 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/1.111, allocations: 4 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.111, allocations: 0 / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/1.111, allocations: 3.344 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/1.111, allocations: 147.1 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.111, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/1.111, allocations: 19.98 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/1.111, allocations: 0 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/1.111, allocations: 7.953 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/1.111, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.111, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005383/1.112, allocations: 203.2 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/1.112, allocations: 85.05 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/1.112, allocations: 4 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.387e-05/1.112, allocations: 0 / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/1.112, allocations: 15.88 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/1.112, allocations: 10.16 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.875e-05/1.112, allocations: 75.28 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/1.112, allocations: 0 / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003614/1.113, allocations: 11.83 kB / 1.102 GB, free: 14.97 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.001056/1.114, allocations: 1.025 MB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000123/1.114, allocations: 23.94 kB / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.114, allocations: 0 / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.888e-05/1.114, allocations: 19.94 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/1.114, allocations: 5.25 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005109/1.115, allocations: 136 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/1.115, allocations: 0.6807 MB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.089e-05/1.115, allocations: 12.86 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/1.115, allocations: 15.44 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/1.115, allocations: 2.625 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/1.138, allocations: 0.9266 MB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003076/1.138, allocations: 148 kB / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/2.659, allocations: 2.109 kB / 1.104 GB, free: 11.85 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)