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.2004/0.2024, allocations: 80.83 MB / 0.6706 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003171/0.2056, allocations: 1.592 MB / 0.6722 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003911/0.2096, allocations: 3.262 MB / 0.6754 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.416e-05/0.2096, allocations: 0 / 0.6754 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.199e-05/0.2097, allocations: 11.92 kB / 0.6754 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.177e-05/0.2098, allocations: 7.875 kB / 0.6754 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005551/0.2104, allocations: 119.5 kB / 0.6755 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.2105, allocations: 71.78 kB / 0.6756 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.2106, allocations: 28.14 kB / 0.6756 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.2108, allocations: 35.8 kB / 0.6757 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.2109, allocations: 35.89 kB / 0.6757 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.2109, allocations: 8 kB / 0.6757 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003108/0.2112, allocations: 103.8 kB / 0.6758 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.2113, allocations: 15.92 kB / 0.6758 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.668e-05/0.2113, allocations: 31.8 kB / 0.6758 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.2116, allocations: 119.7 kB / 0.676 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.2116, allocations: 0 / 0.676 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2116, allocations: 8 kB / 0.676 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.2116, allocations: 0 / 0.676 GB, free: 15.07 MB / 0.5294 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.0006736/0.2123, allocations: 387.2 kB / 0.6763 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2123, allocations: 12.03 kB / 0.6763 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.2124, allocations: 8.844 kB / 0.6763 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.2126, allocations: 180.2 kB / 0.6765 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.2126, allocations: 3.938 kB / 0.6765 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.2126, allocations: 8 kB / 0.6765 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.2129, allocations: 81.59 kB / 0.6766 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2129, allocations: 0 / 0.6766 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.2129, allocations: 0 / 0.6766 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2129, allocations: 0 / 0.6766 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.2131, allocations: 75.94 kB / 0.6767 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/0.2137, allocations: 336.6 kB / 0.677 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.2139, allocations: 94.47 kB / 0.6771 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.214, allocations: 44.84 kB / 0.6771 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008467/0.2149, allocations: 0.7605 MB / 0.6779 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.2149, allocations: 38.72 kB / 0.6779 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.2149, allocations: 0 / 0.6779 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0005186/0.2154, allocations: 129.5 kB / 0.678 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.2155, allocations: 55.41 kB / 0.6781 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.2156, allocations: 117.8 kB / 0.6782 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.2156, allocations: 25.7 kB / 0.6782 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.2157, allocations: 100 kB / 0.6783 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.2157, allocations: 23.66 kB / 0.6783 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.2158, allocations: 21.81 kB / 0.6784 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2159, allocations: 326.8 kB / 0.6787 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.545e-05/0.216, allocations: 23.98 kB / 0.6787 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.558e-05/0.2161, allocations: 49.64 kB / 0.6788 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.2163, allocations: 77.67 kB / 0.6788 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2163, allocations: 4 kB / 0.6788 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002349/0.2165, allocations: 109.5 kB / 0.6789 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.2166, allocations: 15.97 kB / 0.6789 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2166, allocations: 0 / 0.6789 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2166, allocations: 3.984 kB / 0.679 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.2168, allocations: 19.98 kB / 0.679 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.2168, allocations: 0 / 0.679 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.021e-05/0.2168, allocations: 8 kB / 0.679 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.2169, allocations: 4 kB / 0.679 GB, free: 11.62 MB / 0.5294 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 9.544e-05/0.217, allocations: 114.4 kB / 0.6791 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.217, allocations: 15.84 kB / 0.6791 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.2173, allocations: 134.4 kB / 0.6792 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2173, allocations: 0 / 0.6792 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2173, allocations: 0 / 0.6792 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2173, allocations: 0 / 0.6792 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.2176, allocations: 197.5 kB / 0.6794 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2176, allocations: 0 / 0.6794 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.2177, allocations: 19.98 kB / 0.6794 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.2177, allocations: 7.938 kB / 0.6794 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.2178, allocations: 0 / 0.6794 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2178, allocations: 3.938 kB / 0.6795 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2178, allocations: 0 / 0.6795 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.2181, allocations: 199.5 kB / 0.6796 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.2182, allocations: 84.95 kB / 0.6797 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.2182, allocations: 4 kB / 0.6797 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.514e-05/0.2183, allocations: 11.98 kB / 0.6797 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.2183, allocations: 4 kB / 0.6797 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-06/0.2184, allocations: 3.984 kB / 0.6797 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.824e-05/0.2184, allocations: 99.59 kB / 0.6798 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2184, allocations: 0 / 0.6798 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002663/0.2187, allocations: 23.98 kB / 0.6799 GB, free: 10.62 MB / 0.5294 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.0002184/0.2189, allocations: 115.2 kB / 0.68 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002471/0.2192, allocations: 83.88 kB / 0.6801 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2192, allocations: 0 / 0.6801 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.2193, allocations: 43.91 kB / 0.6801 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.2196, allocations: 12.75 kB / 0.6801 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/0.2201, allocations: 213.8 kB / 0.6803 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.2204, allocations: 0.6885 MB / 0.681 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.401e-05/0.2205, allocations: 15.88 kB / 0.681 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.2205, allocations: 15.38 kB / 0.681 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of SimCode: time 2.31e-07/0.2205, allocations: 0 / 0.681 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of Templates: time 0.003811/0.2243, allocations: 1.043 MB / 0.682 GB, free: 8.348 MB / 0.5294 GB 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)