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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.001086, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009878/0.0009878, allocations: 194.9 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.168/1.168, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.473/1.473, allocations: 292.3 MB / 0.5486 GB, free: 13.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 71.44 kB / 0.6711 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1539, allocations: 114.6 MB / 0.783 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.00139/0.1553, allocations: 0.6743 MB / 0.7836 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001902/0.1555, allocations: 59.78 kB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.119e-05/0.1555, allocations: 0 / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.398e-05/0.1556, allocations: 0 / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.069e-06/0.1556, allocations: 0 / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.1558, allocations: 19.97 kB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.673e-05/0.1558, allocations: 11.98 kB / 0.7837 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.332e-05/0.1558, allocations: 4 kB / 0.7837 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.433e-05/0.1559, allocations: 11.94 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.437e-05/0.1559, allocations: 0 / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.085e-06/0.1559, allocations: 7.938 kB / 0.7838 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.826e-05/0.156, allocations: 15.97 kB / 0.7838 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.156, allocations: 7.984 kB / 0.7838 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.581e-05/0.156, allocations: 7.938 kB / 0.7838 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.977e-05/0.1561, allocations: 19.97 kB / 0.7838 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.1561, allocations: 0 / 0.7838 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1561, allocations: 0 / 0.7838 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.1561, allocations: 0 / 0.7838 GB, free: 12.92 MB / 0.6075 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.0002641/0.1564, allocations: 335.5 kB / 0.7841 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.1564, allocations: 12.03 kB / 0.7841 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.633e-05/0.1564, allocations: 34.75 kB / 0.7842 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.664e-05/0.1565, allocations: 0.9375 kB / 0.7842 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.517e-05/0.1565, allocations: 160.7 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.1565, allocations: 4.375 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-06/0.1566, allocations: 384 / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.802e-05/0.1567, allocations: 82.47 kB / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.1567, allocations: 3.938 kB / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.1567, allocations: 0 / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1567, allocations: 7.938 kB / 0.7844 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.965e-05/0.1567, allocations: 11.94 kB / 0.7844 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.1569, allocations: 193.1 kB / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.796e-05/0.1569, allocations: 93.02 kB / 0.7847 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.157, allocations: 36.34 kB / 0.7847 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/0.1571, allocations: 81.11 kB / 0.7848 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.1571, allocations: 38.5 kB / 0.7849 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1571, allocations: 0 / 0.7849 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.000142/0.1573, allocations: 82.02 kB / 0.7849 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.1574, allocations: 162.2 kB / 0.7851 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.57e-05/0.1574, allocations: 89.86 kB / 0.7852 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.1574, allocations: 25.7 kB / 0.7852 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.857e-05/0.1574, allocations: 80.14 kB / 0.7853 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.1575, allocations: 19.8 kB / 0.7853 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.1575, allocations: 13.72 kB / 0.7853 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.422e-05/0.1576, allocations: 318.9 kB / 0.7856 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.1576, allocations: 7.984 kB / 0.7856 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.578e-05/0.1576, allocations: 32.3 kB / 0.7856 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.564e-05/0.1577, allocations: 52.22 kB / 0.7857 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1577, allocations: 0 / 0.7857 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.074e-05/0.1578, allocations: 61.56 kB / 0.7858 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.1578, allocations: 8 kB / 0.7858 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1578, allocations: 3.938 kB / 0.7858 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/0.1578, allocations: 0 / 0.7858 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.787e-05/0.1579, allocations: 16.27 kB / 0.7858 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.1579, allocations: 11.94 kB / 0.7858 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.373e-05/0.1579, allocations: 0 / 0.7858 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1579, allocations: 4 kB / 0.7858 GB, free: 10.5 MB / 0.6075 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 5.215e-05/0.158, allocations: 121.7 kB / 0.7859 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.158, allocations: 3.906 kB / 0.7859 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.1582, allocations: 104.6 kB / 0.786 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1582, allocations: 4 kB / 0.786 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1582, allocations: 0 / 0.786 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1582, allocations: 4 kB / 0.786 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.743e-05/0.1583, allocations: 161.7 kB / 0.7862 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1583, allocations: 0 / 0.7862 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.096e-05/0.1583, allocations: 15.98 kB / 0.7862 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1584, allocations: 8.141 kB / 0.7862 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.1584, allocations: 11.94 kB / 0.7862 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1584, allocations: 7.938 kB / 0.7862 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1584, allocations: 0 / 0.7862 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.1585, allocations: 128.3 kB / 0.7863 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/0.1585, allocations: 81.11 kB / 0.7864 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.1585, allocations: 11.94 kB / 0.7864 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.696e-05/0.1586, allocations: 4 kB / 0.7864 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.1586, allocations: 7.984 kB / 0.7864 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-06/0.1586, allocations: 4 kB / 0.7864 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.035e-05/0.1586, allocations: 79.28 kB / 0.7865 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1586, allocations: 0 / 0.7865 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001812/0.1588, allocations: 8 kB / 0.7865 GB, free: 9.625 MB / 0.6075 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.0003151/0.1591, allocations: 0.6713 MB / 0.7872 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.186e-05/0.1592, allocations: 35.92 kB / 0.7872 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.1592, allocations: 0 / 0.7872 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.319e-05/0.1593, allocations: 23.92 kB / 0.7872 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.1594, allocations: 8 kB / 0.7872 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.1597, allocations: 198.5 kB / 0.7874 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.1599, allocations: 0.6807 MB / 0.7881 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.679e-05/0.1599, allocations: 12 kB / 0.7881 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.1599, allocations: 19.38 kB / 0.7881 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.16, allocations: 0 / 0.7881 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.07/2.23, allocations: 1.308 MB / 0.7894 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/2.231, allocations: 202.8 kB / 0.7896 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.911/6.142, allocations: 3.938 kB / 0.7896 GB, free: 6.391 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)