Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",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.00122/0.00122, 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.001219/0.001219, allocations: 194.8 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.362/1.362, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.622/1.622, allocations: 292.3 MB / 0.5485 GB, free: 13.63 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.00152/0.00152, allocations: 68.61 kB / 0.6711 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1786, allocations: 114.6 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002743/0.1814, allocations: 1.672 MB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003504/0.1849, allocations: 3.222 MB / 0.7878 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.185, allocations: 4 kB / 0.7878 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.657e-05/0.1851, allocations: 11.86 kB / 0.7878 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.67e-05/0.1852, allocations: 11.86 kB / 0.7878 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.1857, allocations: 103.7 kB / 0.7879 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.1858, allocations: 83.77 kB / 0.788 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.823e-05/0.1858, allocations: 4.188 kB / 0.788 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.313e-05/0.1859, allocations: 43.78 kB / 0.788 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.644e-05/0.186, allocations: 35.89 kB / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1861, allocations: 8 kB / 0.7881 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.1863, allocations: 107.8 kB / 0.7882 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.1863, allocations: 11.92 kB / 0.7882 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.1864, allocations: 35.8 kB / 0.7882 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.1866, allocations: 119.9 kB / 0.7883 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1866, allocations: 3.984 kB / 0.7883 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1866, allocations: 0 / 0.7883 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.1866, allocations: 0 / 0.7883 GB, free: 8.273 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004888/0.1871, allocations: 387.2 kB / 0.7887 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1871, allocations: 12.03 kB / 0.7887 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.1872, allocations: 30.75 kB / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.1872, allocations: 16.84 kB / 0.7887 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1873, allocations: 184.1 kB / 0.7889 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1873, allocations: 3.938 kB / 0.7889 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.1874, allocations: 4 kB / 0.7889 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.1875, allocations: 77.66 kB / 0.789 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1876, allocations: 0 / 0.789 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1876, allocations: 0 / 0.789 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.1876, allocations: 4 kB / 0.789 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.1878, allocations: 75.88 kB / 0.7891 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.1882, allocations: 328.6 kB / 0.7894 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.1885, allocations: 98.52 kB / 0.7895 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.533e-05/0.1886, allocations: 40.84 kB / 0.7895 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007455/0.1893, allocations: 0.7568 MB / 0.7903 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1894, allocations: 46.44 kB / 0.7903 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1894, allocations: 0 / 0.7903 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.000341/0.1897, allocations: 129.5 kB / 0.7904 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.1898, allocations: 55.41 kB / 0.7905 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.545e-05/0.1898, allocations: 117.8 kB / 0.7906 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.1899, allocations: 29.7 kB / 0.7906 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.1899, allocations: 100 kB / 0.7907 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.19, allocations: 19.66 kB / 0.7907 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.19, allocations: 37.64 kB / 0.7908 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.1901, allocations: 310.8 kB / 0.7911 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.234e-05/0.1902, allocations: 35.91 kB / 0.7911 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.453e-05/0.1903, allocations: 45.69 kB / 0.7911 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.1905, allocations: 77.8 kB / 0.7912 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1905, allocations: 7.938 kB / 0.7912 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002122/0.1907, allocations: 113.5 kB / 0.7913 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1907, allocations: 7.938 kB / 0.7913 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1907, allocations: 0 / 0.7913 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1907, allocations: 0 / 0.7913 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.1909, allocations: 19.98 kB / 0.7914 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1909, allocations: 3.984 kB / 0.7914 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.577e-05/0.191, allocations: 4.031 kB / 0.7914 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.191, allocations: 8 kB / 0.7914 GB, free: 4.773 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 8.04e-05/0.1911, allocations: 117.8 kB / 0.7915 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.1911, allocations: 15.84 kB / 0.7915 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.1914, allocations: 118.4 kB / 0.7916 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1914, allocations: 4 kB / 0.7916 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1914, allocations: 4 kB / 0.7916 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1914, allocations: 0 / 0.7916 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.1916, allocations: 193.5 kB / 0.7918 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1916, allocations: 0 / 0.7918 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.1917, allocations: 23.92 kB / 0.7918 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1917, allocations: 7.922 kB / 0.7918 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1917, allocations: 0 / 0.7918 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1918, allocations: 4 kB / 0.7918 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1918, allocations: 192 / 0.7918 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.192, allocations: 203.5 kB / 0.792 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.192, allocations: 88.98 kB / 0.7921 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.1921, allocations: 4 kB / 0.7921 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.477e-05/0.1922, allocations: 7.984 kB / 0.7921 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.1922, allocations: 0 / 0.7921 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.1922, allocations: 7.984 kB / 0.7921 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.121e-05/0.1923, allocations: 87.28 kB / 0.7922 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1923, allocations: 7.938 kB / 0.7922 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002396/0.1925, allocations: 31.98 kB / 0.7923 GB, free: 3.762 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0005525/0.1931, allocations: 0.7513 MB / 0.793 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.1933, allocations: 79.89 kB / 0.7931 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1933, allocations: 4 kB / 0.7931 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.839e-05/0.1934, allocations: 39.98 kB / 0.7931 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.1937, allocations: 4 kB / 0.7931 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005235/0.1942, allocations: 275.5 kB / 0.7934 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.1945, allocations: 0.6846 MB / 0.7941 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.328e-05/0.1945, allocations: 15.97 kB / 0.7941 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.1946, allocations: 19.44 kB / 0.7941 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.1946, allocations: 0 / 0.7941 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7712/0.9658, allocations: 2.102 MB / 0.7961 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/0.9661, allocations: 212.3 kB / 0.7963 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.922, allocations: 3.125 kB / 0.7963 GB, free: 15.61 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)