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.2313/0.2334, allocations: 80.84 MB / 0.6707 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003737/0.2372, allocations: 1.587 MB / 0.6722 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004338/0.2416, allocations: 3.257 MB / 0.6754 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.275e-05/0.2416, allocations: 0 / 0.6754 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.327e-05/0.2417, allocations: 7.875 kB / 0.6754 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.2418, allocations: 23.84 kB / 0.6754 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005745/0.2424, allocations: 123.4 kB / 0.6755 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.2426, allocations: 71.78 kB / 0.6756 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.2427, allocations: 20.11 kB / 0.6756 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.2428, allocations: 35.92 kB / 0.6757 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.243, allocations: 43.77 kB / 0.6757 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.243, allocations: 4 kB / 0.6757 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/0.2433, allocations: 95.84 kB / 0.6758 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.806e-05/0.2433, allocations: 23.91 kB / 0.6758 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.2434, allocations: 27.86 kB / 0.6758 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.2436, allocations: 127.6 kB / 0.676 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.2436, allocations: 0 / 0.676 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2437, allocations: 0 / 0.676 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.2437, allocations: 4 kB / 0.676 GB, free: 12.5 MB / 0.5137 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.0007025/0.2444, allocations: 383.2 kB / 0.6763 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.2444, allocations: 8.031 kB / 0.6763 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.17e-05/0.2445, allocations: 8.844 kB / 0.6763 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.2447, allocations: 180.2 kB / 0.6765 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.2447, allocations: 11.94 kB / 0.6765 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.2447, allocations: 0 / 0.6765 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.245, allocations: 81.59 kB / 0.6766 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.245, allocations: 0 / 0.6766 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.245, allocations: 8 kB / 0.6766 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.245, allocations: 0 / 0.6766 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.2452, allocations: 79.92 kB / 0.6767 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.2458, allocations: 320.7 kB / 0.677 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.2461, allocations: 102.5 kB / 0.6771 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.859e-05/0.2462, allocations: 40.84 kB / 0.6771 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009328/0.2472, allocations: 0.7566 MB / 0.6779 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.2472, allocations: 42.48 kB / 0.6779 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.2472, allocations: 0 / 0.6779 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0004137/0.2476, allocations: 141.8 kB / 0.6781 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.2477, allocations: 51.41 kB / 0.6781 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.967e-05/0.2478, allocations: 125.8 kB / 0.6782 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.2478, allocations: 25.7 kB / 0.6782 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.2479, allocations: 88.12 kB / 0.6783 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.2479, allocations: 27.56 kB / 0.6784 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.248, allocations: 25.7 kB / 0.6784 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2481, allocations: 314.8 kB / 0.6787 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.943e-05/0.2482, allocations: 35.91 kB / 0.6787 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.516e-05/0.2483, allocations: 45.7 kB / 0.6788 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.2485, allocations: 77.94 kB / 0.6788 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2485, allocations: 0 / 0.6788 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002858/0.2488, allocations: 113.5 kB / 0.6789 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2488, allocations: 7.938 kB / 0.6789 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2488, allocations: 4.031 kB / 0.679 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.2489, allocations: 4 kB / 0.679 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.249, allocations: 23.92 kB / 0.679 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.249, allocations: 0 / 0.679 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.976e-05/0.2491, allocations: 11.98 kB / 0.679 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.2491, allocations: 0 / 0.679 GB, free: 9.055 MB / 0.5137 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 0.0001123/0.2492, allocations: 117.8 kB / 0.6791 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.2493, allocations: 11.84 kB / 0.6791 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/0.2497, allocations: 133.9 kB / 0.6792 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2497, allocations: 4 kB / 0.6792 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.2497, allocations: 0 / 0.6792 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2497, allocations: 0 / 0.6792 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.25, allocations: 185.6 kB / 0.6794 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.25, allocations: 0 / 0.6794 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.2501, allocations: 15.98 kB / 0.6794 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.2501, allocations: 3.938 kB / 0.6794 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.2501, allocations: 15.98 kB / 0.6795 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2501, allocations: 0 / 0.6795 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2501, allocations: 0 / 0.6795 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.2504, allocations: 203.3 kB / 0.6796 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.2505, allocations: 89.14 kB / 0.6797 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.2505, allocations: 0 / 0.6797 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.2506, allocations: 23.92 kB / 0.6798 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.2507, allocations: 4 kB / 0.6798 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.2507, allocations: 0 / 0.6798 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.978e-05/0.2508, allocations: 91.27 kB / 0.6798 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2508, allocations: 0 / 0.6798 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002603/0.2511, allocations: 24 kB / 0.6799 GB, free: 8.047 MB / 0.5137 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.0002427/0.2513, allocations: 115.2 kB / 0.68 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002559/0.2516, allocations: 79.89 kB / 0.6801 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2516, allocations: 4 kB / 0.6801 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.558e-05/0.2517, allocations: 43.97 kB / 0.6801 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.252, allocations: 4 kB / 0.6801 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.2525, allocations: 217.8 kB / 0.6803 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005842/0.2531, allocations: 0.6885 MB / 0.681 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.685e-05/0.2531, allocations: 11.91 kB / 0.681 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.2532, allocations: 15.44 kB / 0.681 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.2532, allocations: 0 / 0.681 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of Templates: time 0.003851/0.257, allocations: 1.024 MB / 0.682 GB, free: 5.805 MB / 0.5137 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)