Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1947/0.1966, allocations: 80.84 MB / 0.5899 GB, free: 7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003321/0.1999, allocations: 1.655 MB / 0.5915 GB, free: 5.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00369/0.2037, allocations: 3.23 MB / 0.5946 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.2037, allocations: 0 / 0.5946 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.572e-05/0.2038, allocations: 7.922 kB / 0.5947 GB, free: 2.074 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.547e-05/0.2039, allocations: 7.922 kB / 0.5947 GB, free: 2.066 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.2044, allocations: 111.6 kB / 0.5948 GB, free: 1.957 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.2045, allocations: 75.72 kB / 0.5948 GB, free: 1.883 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2046, allocations: 20.42 kB / 0.5949 GB, free: 1.863 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.2047, allocations: 35.86 kB / 0.5949 GB, free: 1.828 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.413e-05/0.2048, allocations: 35.84 kB / 0.5949 GB, free: 1.793 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.2048, allocations: 8 kB / 0.5949 GB, free: 1.785 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002793/0.2051, allocations: 107.8 kB / 0.595 GB, free: 1.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.2052, allocations: 15.98 kB / 0.5951 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.2052, allocations: 35.8 kB / 0.5951 GB, free: 1.629 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.2054, allocations: 119.6 kB / 0.5952 GB, free: 1.512 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2055, allocations: 4 kB / 0.5952 GB, free: 1.508 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2055, allocations: 0 / 0.5952 GB, free: 1.508 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.2055, allocations: 3.938 kB / 0.5952 GB, free: 1.504 MB / 446.1 MB 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.000608/0.2061, allocations: 389.9 kB / 0.5956 GB, free: 1.078 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.2061, allocations: 12.03 kB / 0.5956 GB, free: 1.066 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.2062, allocations: 8.938 kB / 0.5956 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.2063, allocations: 172.2 kB / 0.5958 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.2064, allocations: 8.109 kB / 0.5958 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.2064, allocations: 7.938 kB / 0.5958 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.2067, allocations: 81.59 kB / 0.5959 GB, free: 0.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.2067, allocations: 0 / 0.5959 GB, free: 0.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2068, allocations: 0 / 0.5959 GB, free: 0.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2068, allocations: 0 / 0.5959 GB, free: 0.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.207, allocations: 79.94 kB / 0.5959 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.2075, allocations: 324.7 kB / 0.5962 GB, free: 312 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.2077, allocations: 98.45 kB / 0.5963 GB, free: 204 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.734e-05/0.2078, allocations: 44.84 kB / 0.5964 GB, free: 156 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008706/0.2087, allocations: 0.7605 MB / 0.5971 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.2088, allocations: 30.56 kB / 0.5972 GB, free: 15.23 MB / 462.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.2088, allocations: 4 kB / 0.5972 GB, free: 15.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003996/0.2092, allocations: 137.7 kB / 0.5973 GB, free: 15.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.2092, allocations: 55.41 kB / 0.5973 GB, free: 15.02 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.2093, allocations: 114 kB / 0.5975 GB, free: 14.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.2094, allocations: 29.64 kB / 0.5975 GB, free: 14.87 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.2094, allocations: 100 kB / 0.5976 GB, free: 14.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.2094, allocations: 19.66 kB / 0.5976 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.2095, allocations: 29.7 kB / 0.5976 GB, free: 14.71 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2096, allocations: 318.8 kB / 0.5979 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.037e-05/0.2097, allocations: 27.97 kB / 0.598 GB, free: 14.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.594e-05/0.2098, allocations: 45.7 kB / 0.598 GB, free: 14.31 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.21, allocations: 85.61 kB / 0.5981 GB, free: 14.22 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.21, allocations: 0 / 0.5981 GB, free: 14.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002282/0.2102, allocations: 109.5 kB / 0.5982 GB, free: 14.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.2103, allocations: 11.94 kB / 0.5982 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2103, allocations: 0 / 0.5982 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2103, allocations: 192 / 0.5982 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.2104, allocations: 19.98 kB / 0.5982 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.2104, allocations: 3.938 kB / 0.5982 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.066e-05/0.2105, allocations: 15.92 kB / 0.5982 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.2105, allocations: 4 kB / 0.5982 GB, free: 14.05 MB / 462.1 MB 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 9.863e-05/0.2106, allocations: 114.7 kB / 0.5983 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.2107, allocations: 3.938 kB / 0.5983 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.211, allocations: 130.2 kB / 0.5985 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.211, allocations: 4 kB / 0.5985 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.211, allocations: 0 / 0.5985 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.211, allocations: 4 kB / 0.5985 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.2112, allocations: 189.6 kB / 0.5987 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2112, allocations: 8 kB / 0.5987 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.2113, allocations: 15.98 kB / 0.5987 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2114, allocations: 3.938 kB / 0.5987 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.2114, allocations: 3.984 kB / 0.5987 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2114, allocations: 0 / 0.5987 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2114, allocations: 0 / 0.5987 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.2117, allocations: 211.4 kB / 0.5989 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.2117, allocations: 77.11 kB / 0.599 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.2117, allocations: 15.88 kB / 0.599 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.255e-05/0.2118, allocations: 3.984 kB / 0.599 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.2119, allocations: 4 kB / 0.599 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.2119, allocations: 4 kB / 0.599 GB, free: 13.17 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.319e-05/0.212, allocations: 98.55 kB / 0.5991 GB, free: 13.08 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.212, allocations: 0 / 0.5991 GB, free: 13.08 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.2123, allocations: 27.91 kB / 0.5991 GB, free: 13.05 MB / 462.1 MB 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.0002397/0.2125, allocations: 115.2 kB / 0.5992 GB, free: 12.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.2128, allocations: 79.89 kB / 0.5993 GB, free: 12.85 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2128, allocations: 4.062 kB / 0.5993 GB, free: 12.85 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.2129, allocations: 43.91 kB / 0.5993 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.2133, allocations: 15.88 kB / 0.5994 GB, free: 12.79 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.2138, allocations: 229 kB / 0.5996 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.2143, allocations: 0.6885 MB / 0.6003 GB, free: 11.83 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.021e-05/0.2144, allocations: 7.969 kB / 0.6003 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.2144, allocations: 11.44 kB / 0.6003 GB, free: 11.81 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2144, allocations: 11.94 kB / 0.6003 GB, free: 11.8 MB / 462.1 MB Notification: Performance of Templates: time 0.003901/0.2183, allocations: 0.9624 MB / 0.6012 GB, free: 10.87 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)