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.001166/0.001166, allocations: 108 kB / 15.61 MB, free: 148 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.0009891/0.0009891, allocations: 197.1 kB / 16.53 MB, free: 6.699 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.237/1.237, allocations: 205.1 MB / 222.4 MB, free: 4.637 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.563/1.563, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001757/0.001757, allocations: 70.09 kB / 0.6716 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1812, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001519/0.1828, allocations: 0.5979 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000213/0.183, allocations: 71.75 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.509e-05/0.183, allocations: 0 / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.328e-06/0.183, allocations: 0 / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.031e-05/0.183, allocations: 3.938 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.1832, allocations: 15.98 kB / 0.7842 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.534e-05/0.1833, allocations: 7.984 kB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.708e-05/0.1833, allocations: 8 kB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.533e-05/0.1833, allocations: 11.92 kB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.049e-05/0.1834, allocations: 11.98 kB / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.787e-06/0.1834, allocations: 0 / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.164e-05/0.1835, allocations: 15.98 kB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.1835, allocations: 0 / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.726e-05/0.1835, allocations: 15.86 kB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.404e-05/0.1836, allocations: 15.98 kB / 0.7842 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1836, allocations: 3.938 kB / 0.7842 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1836, allocations: 0 / 0.7842 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.1836, allocations: 0 / 0.7842 GB, free: 12.6 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.0002745/0.1839, allocations: 331.6 kB / 0.7846 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.1839, allocations: 12.03 kB / 0.7846 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.331e-05/0.1839, allocations: 34.69 kB / 0.7846 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.801e-05/0.184, allocations: 0.9375 kB / 0.7846 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.976e-05/0.184, allocations: 164.7 kB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.184, allocations: 384 / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-06/0.1841, allocations: 384 / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.1842, allocations: 86.47 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1842, allocations: 3.938 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.1842, allocations: 4 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1842, allocations: 0 / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.805e-05/0.1842, allocations: 7.938 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.1844, allocations: 193.1 kB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.293e-05/0.1845, allocations: 93.02 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.1845, allocations: 40.34 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.1846, allocations: 85.09 kB / 0.7852 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.1847, allocations: 42.48 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1847, allocations: 0 / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.000152/0.1848, allocations: 78.03 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.1849, allocations: 154.2 kB / 0.7855 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.688e-05/0.1849, allocations: 89.86 kB / 0.7856 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.1849, allocations: 25.7 kB / 0.7856 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.756e-05/0.185, allocations: 80.14 kB / 0.7857 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.185, allocations: 19.8 kB / 0.7857 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.185, allocations: 17.72 kB / 0.7857 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.1851, allocations: 314.9 kB / 0.786 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.791e-05/0.1851, allocations: 11.92 kB / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.558e-05/0.1852, allocations: 32.3 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.599e-05/0.1852, allocations: 52.22 kB / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1852, allocations: 4 kB / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.771e-05/0.1853, allocations: 65.56 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.1853, allocations: 4 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1853, allocations: 7.875 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1854, allocations: 4 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.088e-05/0.1854, allocations: 12.14 kB / 0.7862 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1854, allocations: 7.984 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.66e-05/0.1855, allocations: 4 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.1855, allocations: 0 / 0.7862 GB, free: 10.18 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.253e-05/0.1855, allocations: 117.8 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.1856, allocations: 3.906 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.1857, allocations: 112.7 kB / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1857, allocations: 3.984 kB / 0.7865 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1857, allocations: 4 kB / 0.7865 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1857, allocations: 0 / 0.7865 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.1859, allocations: 169.6 kB / 0.7866 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1859, allocations: 0 / 0.7866 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.255e-05/0.1859, allocations: 16 kB / 0.7866 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1859, allocations: 160 / 0.7866 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.1859, allocations: 11.94 kB / 0.7867 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1859, allocations: 0 / 0.7867 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.186, allocations: 4 kB / 0.7867 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.1861, allocations: 132.3 kB / 0.7868 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.1861, allocations: 77.11 kB / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.1861, allocations: 7.938 kB / 0.7869 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.648e-05/0.1861, allocations: 0 / 0.7869 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.1862, allocations: 11.98 kB / 0.7869 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1862, allocations: 4 kB / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 1.786e-05/0.1862, allocations: 75.28 kB / 0.7869 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1862, allocations: 0 / 0.7869 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001866/0.1864, allocations: 8 kB / 0.787 GB, free: 9.316 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.0003416/0.1867, allocations: 0.6742 MB / 0.7876 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.922e-05/0.1868, allocations: 35.86 kB / 0.7876 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1869, allocations: 0 / 0.7876 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.222e-05/0.1869, allocations: 27.92 kB / 0.7877 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.187, allocations: 6.656 kB / 0.7877 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.1873, allocations: 194.4 kB / 0.7879 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.1875, allocations: 0.6807 MB / 0.7885 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.668e-05/0.1876, allocations: 12 kB / 0.7885 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.1876, allocations: 15.62 kB / 0.7886 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.1876, allocations: 3.938 kB / 0.7886 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.072/1.26, allocations: 1.384 MB / 0.7899 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.65, allocations: 3.797 kB / 0.7899 GB, free: 6.23 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)