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.001116/0.001116, allocations: 105.4 kB / 15.7 MB, free: 24 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.001167/0.001167, allocations: 197 kB / 16.64 MB, free: 6.453 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.332/1.332, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.674/1.674, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001516/0.001516, allocations: 74.47 kB / 0.6718 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1977, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002742/0.2005, allocations: 1.608 MB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003202/0.2037, allocations: 3.258 MB / 0.7884 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.387e-05/0.2038, allocations: 0 / 0.7884 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.2038, allocations: 3.938 kB / 0.7884 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.032e-05/0.204, allocations: 15.86 kB / 0.7884 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.2044, allocations: 123.5 kB / 0.7885 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.594e-05/0.2045, allocations: 79.7 kB / 0.7886 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.968e-05/0.2046, allocations: 12.19 kB / 0.7886 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.213e-05/0.2047, allocations: 47.83 kB / 0.7887 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.21e-05/0.2048, allocations: 35.84 kB / 0.7887 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.2048, allocations: 4 kB / 0.7887 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002412/0.205, allocations: 99.78 kB / 0.7888 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.2051, allocations: 27.91 kB / 0.7888 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.2051, allocations: 27.81 kB / 0.7889 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.2053, allocations: 127.9 kB / 0.789 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.2053, allocations: 0 / 0.789 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2053, allocations: 0 / 0.789 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2053, allocations: 0 / 0.789 GB, free: 7.77 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.0004816/0.2058, allocations: 383.2 kB / 0.7893 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2059, allocations: 12.02 kB / 0.7894 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.257e-05/0.2059, allocations: 42.75 kB / 0.7894 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.033e-05/0.2059, allocations: 4.844 kB / 0.7894 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.206, allocations: 180.1 kB / 0.7896 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.2061, allocations: 7.938 kB / 0.7896 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.2061, allocations: 8 kB / 0.7896 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.2063, allocations: 77.64 kB / 0.7897 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.2063, allocations: 0 / 0.7897 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.2063, allocations: 0 / 0.7897 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2063, allocations: 0 / 0.7897 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.2065, allocations: 79.94 kB / 0.7897 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.2069, allocations: 324.6 kB / 0.79 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.2071, allocations: 86.55 kB / 0.7901 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.547e-05/0.2073, allocations: 44.83 kB / 0.7902 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007015/0.208, allocations: 0.7723 MB / 0.7909 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.208, allocations: 34.5 kB / 0.791 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.208, allocations: 0 / 0.791 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003537/0.2084, allocations: 141.5 kB / 0.7911 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.2084, allocations: 55.41 kB / 0.7911 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.149e-05/0.2085, allocations: 121.8 kB / 0.7913 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.2085, allocations: 29.7 kB / 0.7913 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.2086, allocations: 92.05 kB / 0.7914 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.2086, allocations: 23.64 kB / 0.7914 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.2086, allocations: 25.72 kB / 0.7914 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.2087, allocations: 318.8 kB / 0.7917 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-05/0.2088, allocations: 32.02 kB / 0.7918 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-05/0.2089, allocations: 49.62 kB / 0.7918 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.2091, allocations: 77.69 kB / 0.7919 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2091, allocations: 0 / 0.7919 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002141/0.2093, allocations: 117.5 kB / 0.792 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.2093, allocations: 7.938 kB / 0.792 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2093, allocations: 4 kB / 0.792 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.2093, allocations: 0 / 0.792 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.2095, allocations: 15.98 kB / 0.792 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.778e-06/0.2095, allocations: 4 kB / 0.792 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.595e-05/0.2096, allocations: 12.02 kB / 0.792 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.2096, allocations: 0 / 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.327e-05/0.2097, allocations: 121.8 kB / 0.7922 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.2097, allocations: 11.84 kB / 0.7922 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.21, allocations: 118 kB / 0.7923 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.21, allocations: 0 / 0.7923 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.21, allocations: 3.984 kB / 0.7923 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.21, allocations: 4 kB / 0.7923 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.2102, allocations: 193.5 kB / 0.7925 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2102, allocations: 3.938 kB / 0.7925 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.649e-05/0.2103, allocations: 19.92 kB / 0.7925 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2103, allocations: 7.938 kB / 0.7925 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.2103, allocations: 0 / 0.7925 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2103, allocations: 0 / 0.7925 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2103, allocations: 0 / 0.7925 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.2106, allocations: 207.4 kB / 0.7927 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.248e-05/0.2106, allocations: 89.05 kB / 0.7928 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.2106, allocations: 0 / 0.7928 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/0.2107, allocations: 4 kB / 0.7928 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.2108, allocations: 7.984 kB / 0.7928 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.2108, allocations: 0 / 0.7928 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.881e-05/0.2108, allocations: 99.27 kB / 0.7929 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2108, allocations: 192 / 0.7929 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002389/0.2111, allocations: 20 kB / 0.7929 GB, free: 3.277 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.0005585/0.2116, allocations: 0.7635 MB / 0.7937 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.2119, allocations: 91.94 kB / 0.7937 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2119, allocations: 0 / 0.7937 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.215e-05/0.212, allocations: 39.97 kB / 0.7938 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.2123, allocations: 8 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.0005322/0.2128, allocations: 247.6 kB / 0.794 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.213, allocations: 0.6885 MB / 0.7947 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.349e-05/0.2131, allocations: 4 kB / 0.7947 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.2131, allocations: 23.42 kB / 0.7947 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2132, allocations: 7.938 kB / 0.7947 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.2297, allocations: 2.235 MB / 0.7969 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.821/7.051, allocations: 11.94 kB / 0.7969 GB, free: 15.19 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)