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.001137/0.001137, allocations: 109.4 kB / 15.69 MB, free: 128 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.00116/0.00116, allocations: 188 kB / 16.62 MB, free: 6.582 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.311/1.311, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.657/1.657, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001409/0.001409, allocations: 67.92 kB / 0.6718 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2016, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002607/0.2042, allocations: 1.601 MB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003312/0.2076, allocations: 3.262 MB / 0.7884 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/0.2077, allocations: 3.938 kB / 0.7884 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.2077, allocations: 7.922 kB / 0.7884 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.134e-05/0.2078, allocations: 15.81 kB / 0.7884 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004324/0.2083, allocations: 111.6 kB / 0.7885 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.2084, allocations: 79.78 kB / 0.7886 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.735e-05/0.2085, allocations: 12.17 kB / 0.7886 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.432e-05/0.2086, allocations: 43.78 kB / 0.7887 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.22e-05/0.2087, allocations: 35.89 kB / 0.7887 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.2087, allocations: 8 kB / 0.7887 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002641/0.2089, allocations: 107.8 kB / 0.7888 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.209, allocations: 7.938 kB / 0.7888 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.209, allocations: 39.8 kB / 0.7888 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.2092, allocations: 127.9 kB / 0.789 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2093, allocations: 4 kB / 0.789 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2093, allocations: 0 / 0.789 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2093, allocations: 0 / 0.789 GB, free: 7.766 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.0005066/0.2098, allocations: 387.2 kB / 0.7893 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2098, allocations: 8.031 kB / 0.7893 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.2099, allocations: 34.73 kB / 0.7894 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.2099, allocations: 12.84 kB / 0.7894 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.21, allocations: 176.2 kB / 0.7896 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.21, allocations: 7.938 kB / 0.7896 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.2101, allocations: 0 / 0.7896 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.2103, allocations: 89.52 kB / 0.7897 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.2103, allocations: 4 kB / 0.7897 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.2103, allocations: 3.984 kB / 0.7897 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.2103, allocations: 0 / 0.7897 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.2105, allocations: 71.94 kB / 0.7897 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.2109, allocations: 332.7 kB / 0.79 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.2112, allocations: 90.48 kB / 0.7901 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.565e-05/0.2113, allocations: 44.83 kB / 0.7902 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007306/0.212, allocations: 0.7488 MB / 0.7909 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.212, allocations: 42.5 kB / 0.7909 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.2121, allocations: 0 / 0.7909 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003743/0.2124, allocations: 142 kB / 0.7911 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.2125, allocations: 51.41 kB / 0.7911 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.2126, allocations: 125.8 kB / 0.7912 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.2126, allocations: 25.7 kB / 0.7913 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.2126, allocations: 92.05 kB / 0.7914 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.2127, allocations: 23.64 kB / 0.7914 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.2127, allocations: 25.83 kB / 0.7914 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.977e-05/0.2128, allocations: 322.8 kB / 0.7917 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.162e-05/0.2129, allocations: 27.98 kB / 0.7917 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.771e-05/0.213, allocations: 45.69 kB / 0.7918 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.2132, allocations: 85.69 kB / 0.7919 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2132, allocations: 0 / 0.7919 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002209/0.2134, allocations: 117.5 kB / 0.792 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2134, allocations: 7.938 kB / 0.792 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2134, allocations: 0 / 0.792 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2135, allocations: 4 kB / 0.792 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.2136, allocations: 19.92 kB / 0.792 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2136, allocations: 4 kB / 0.792 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/0.2137, allocations: 4 kB / 0.792 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.2137, allocations: 4.016 kB / 0.792 GB, free: 4.273 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 7.311e-05/0.2138, allocations: 117.8 kB / 0.7921 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.2138, allocations: 11.84 kB / 0.7921 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.2141, allocations: 122 kB / 0.7923 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2141, allocations: 0 / 0.7923 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2141, allocations: 0 / 0.7923 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2141, allocations: 3.984 kB / 0.7923 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.2143, allocations: 205.5 kB / 0.7925 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2143, allocations: 0 / 0.7925 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.943e-05/0.2144, allocations: 16.17 kB / 0.7925 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.2144, allocations: 3.938 kB / 0.7925 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.2145, allocations: 7.938 kB / 0.7925 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2145, allocations: 0 / 0.7925 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2145, allocations: 0 / 0.7925 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.2147, allocations: 203.4 kB / 0.7927 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.2148, allocations: 89.03 kB / 0.7928 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.2148, allocations: 4 kB / 0.7928 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.069e-05/0.2149, allocations: 4 kB / 0.7928 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.2149, allocations: 7.984 kB / 0.7928 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.2149, allocations: 0 / 0.7928 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.468e-05/0.215, allocations: 99.58 kB / 0.7929 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.215, allocations: 0 / 0.7929 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002623/0.2153, allocations: 24 kB / 0.7929 GB, free: 3.27 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.0005741/0.2158, allocations: 0.7592 MB / 0.7936 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.2161, allocations: 84.2 kB / 0.7937 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2161, allocations: 0 / 0.7937 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.54e-05/0.2162, allocations: 48.06 kB / 0.7938 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.2165, allocations: 3.984 kB / 0.7938 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005768/0.2171, allocations: 253.2 kB / 0.794 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.2174, allocations: 0.6924 MB / 0.7947 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.968e-05/0.2174, allocations: 7.984 kB / 0.7947 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.2175, allocations: 27.36 kB / 0.7947 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.2175, allocations: 0 / 0.7947 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.236, allocations: 2.217 MB / 0.7969 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.221/7.457, allocations: 9.719 kB / 0.7969 GB, free: 15.2 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)