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.001004/0.001004, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001121/0.001121, allocations: 193.5 kB / 16.14 MB, free: 6.707 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.133/1.133, allocations: 205.1 MB / 222 MB, free: 4.992 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.58/1.58, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001336/0.001336, allocations: 68.06 kB / 0.6709 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1585, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001485/0.16, allocations: 0.6782 MB / 0.7835 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000217/0.1602, allocations: 63.78 kB / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-06/0.1602, allocations: 0 / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.1603, allocations: 0 / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.819e-06/0.1603, allocations: 0 / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.1604, allocations: 15.98 kB / 0.7835 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.22e-05/0.1605, allocations: 11.97 kB / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.106e-05/0.1605, allocations: 4 kB / 0.7836 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.531e-05/0.1605, allocations: 11.94 kB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.047e-05/0.1606, allocations: 8 kB / 0.7836 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.1606, allocations: 3.938 kB / 0.7836 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.866e-05/0.1606, allocations: 15.98 kB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.1607, allocations: 7.969 kB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.527e-05/0.1607, allocations: 3.938 kB / 0.7836 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.971e-05/0.1607, allocations: 19.98 kB / 0.7836 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1608, allocations: 0 / 0.7836 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.81e-07/0.1608, allocations: 0 / 0.7836 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.605e-06/0.1608, allocations: 0 / 0.7836 GB, free: 13.06 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.0002651/0.161, allocations: 327.6 kB / 0.7839 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.1611, allocations: 19.95 kB / 0.784 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.843e-05/0.1611, allocations: 30.75 kB / 0.784 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.882e-05/0.1611, allocations: 4.844 kB / 0.784 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.356e-05/0.1612, allocations: 164.7 kB / 0.7841 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.1612, allocations: 4.375 kB / 0.7841 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.1612, allocations: 4.375 kB / 0.7842 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.1613, allocations: 74.48 kB / 0.7842 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1614, allocations: 3.938 kB / 0.7842 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.1614, allocations: 7.922 kB / 0.7842 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1614, allocations: 4 kB / 0.7842 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.901e-05/0.1614, allocations: 7.938 kB / 0.7842 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.1616, allocations: 193.2 kB / 0.7844 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.011e-05/0.1616, allocations: 93.02 kB / 0.7845 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/0.1617, allocations: 36.34 kB / 0.7846 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.1618, allocations: 85.11 kB / 0.7846 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.1618, allocations: 38.5 kB / 0.7847 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1618, allocations: 4 kB / 0.7847 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0001446/0.162, allocations: 70.08 kB / 0.7847 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.1621, allocations: 166.2 kB / 0.7849 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.635e-05/0.1621, allocations: 89.86 kB / 0.785 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.1621, allocations: 29.7 kB / 0.785 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.904e-05/0.1621, allocations: 80.14 kB / 0.7851 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.1622, allocations: 15.8 kB / 0.7851 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.1622, allocations: 17.72 kB / 0.7851 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.097e-05/0.1623, allocations: 310.8 kB / 0.7854 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.1623, allocations: 11.98 kB / 0.7854 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.766e-05/0.1623, allocations: 32.3 kB / 0.7855 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.851e-05/0.1624, allocations: 52.22 kB / 0.7855 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1624, allocations: 0 / 0.7855 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.611e-05/0.1625, allocations: 65.56 kB / 0.7856 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.1625, allocations: 8 kB / 0.7856 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1625, allocations: 3.938 kB / 0.7856 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.916e-06/0.1625, allocations: 4 kB / 0.7856 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.928e-05/0.1626, allocations: 11.98 kB / 0.7856 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.1626, allocations: 160 / 0.7856 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.1626, allocations: 7.906 kB / 0.7856 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1626, allocations: 7.938 kB / 0.7856 GB, free: 10.64 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.322e-05/0.1627, allocations: 121.7 kB / 0.7857 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.1627, allocations: 0 / 0.7857 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.1629, allocations: 108.7 kB / 0.7858 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1629, allocations: 0 / 0.7858 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1629, allocations: 0 / 0.7858 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1629, allocations: 4 kB / 0.7858 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.163, allocations: 165.7 kB / 0.786 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.163, allocations: 0 / 0.786 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.424e-05/0.1631, allocations: 19.98 kB / 0.786 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1631, allocations: 0 / 0.786 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1631, allocations: 8.094 kB / 0.786 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1631, allocations: 7.938 kB / 0.786 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1631, allocations: 0 / 0.786 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.1632, allocations: 132.3 kB / 0.7862 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.1633, allocations: 85.09 kB / 0.7862 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.1633, allocations: 7.938 kB / 0.7862 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.809e-05/0.1633, allocations: 4 kB / 0.7862 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.1633, allocations: 7.984 kB / 0.7863 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.1633, allocations: 4 kB / 0.7863 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.059e-05/0.1634, allocations: 75.28 kB / 0.7863 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1634, allocations: 0 / 0.7863 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001916/0.1636, allocations: 12 kB / 0.7863 GB, free: 9.77 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.0003343/0.1639, allocations: 0.6674 MB / 0.787 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.532e-05/0.164, allocations: 35.92 kB / 0.787 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.164, allocations: 0 / 0.787 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/0.164, allocations: 27.92 kB / 0.7871 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.1642, allocations: 7.938 kB / 0.7871 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.1645, allocations: 196.2 kB / 0.7873 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.1647, allocations: 0.677 MB / 0.7879 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.973e-05/0.1647, allocations: 11.98 kB / 0.7879 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.1647, allocations: 19.44 kB / 0.7879 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1647, allocations: 4 kB / 0.7879 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8481/1.013, allocations: 1.27 MB / 0.7892 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/1.013, allocations: 209.5 kB / 0.7894 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.001/3.015, allocations: 0 / 0.7894 GB, free: 6.562 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)