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.2379/0.24, allocations: 80.83 MB / 0.6707 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003109/0.2432, allocations: 1.592 MB / 0.6722 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004058/0.2472, allocations: 3.254 MB / 0.6754 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.753e-05/0.2473, allocations: 3.938 kB / 0.6754 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.2474, allocations: 3.938 kB / 0.6754 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.793e-05/0.2475, allocations: 19.84 kB / 0.6754 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.2479, allocations: 119.5 kB / 0.6755 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.248, allocations: 75.77 kB / 0.6756 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.2481, allocations: 12.17 kB / 0.6756 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.2482, allocations: 47.77 kB / 0.6757 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.2484, allocations: 35.91 kB / 0.6757 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.2484, allocations: 8 kB / 0.6757 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002977/0.2487, allocations: 103.8 kB / 0.6758 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.2487, allocations: 19.91 kB / 0.6758 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.062e-05/0.2488, allocations: 31.8 kB / 0.6758 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.249, allocations: 119.7 kB / 0.676 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.249, allocations: 0 / 0.676 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2491, allocations: 0 / 0.676 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.2491, allocations: 0 / 0.676 GB, free: 15.1 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.0006581/0.2497, allocations: 391.2 kB / 0.6763 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.2498, allocations: 12.03 kB / 0.6763 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.2498, allocations: 8.781 kB / 0.6763 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.25, allocations: 176.2 kB / 0.6765 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.25, allocations: 11.94 kB / 0.6765 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.25, allocations: 4 kB / 0.6765 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.2503, allocations: 77.64 kB / 0.6766 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.2503, allocations: 7.938 kB / 0.6766 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.2503, allocations: 4 kB / 0.6766 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.2503, allocations: 0 / 0.6766 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.2505, allocations: 75.94 kB / 0.6767 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.2511, allocations: 328.6 kB / 0.677 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.2514, allocations: 94.55 kB / 0.6771 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.2515, allocations: 48.83 kB / 0.6771 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009065/0.2524, allocations: 0.7491 MB / 0.6779 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.2525, allocations: 38.44 kB / 0.6779 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.2525, allocations: 0 / 0.6779 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0004702/0.253, allocations: 137.5 kB / 0.678 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.253, allocations: 51.41 kB / 0.6781 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.2531, allocations: 125.8 kB / 0.6782 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.2532, allocations: 29.7 kB / 0.6782 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.2532, allocations: 92.05 kB / 0.6783 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.2533, allocations: 27.64 kB / 0.6784 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.2533, allocations: 17.72 kB / 0.6784 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2534, allocations: 318.9 kB / 0.6787 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.968e-05/0.2535, allocations: 39.86 kB / 0.6787 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.146e-05/0.2536, allocations: 45.69 kB / 0.6788 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.2538, allocations: 77.98 kB / 0.6788 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2538, allocations: 0 / 0.6788 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000229/0.2541, allocations: 117.5 kB / 0.6789 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2541, allocations: 7.938 kB / 0.6789 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2541, allocations: 4 kB / 0.679 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.2541, allocations: 4.031 kB / 0.679 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.2543, allocations: 19.98 kB / 0.679 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2543, allocations: 0 / 0.679 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.401e-05/0.2544, allocations: 16.17 kB / 0.679 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.2544, allocations: 0 / 0.679 GB, free: 11.64 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.766e-05/0.2545, allocations: 122.4 kB / 0.6791 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.2545, allocations: 11.84 kB / 0.6791 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003239/0.2549, allocations: 126 kB / 0.6792 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2549, allocations: 0 / 0.6792 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.2549, allocations: 3.984 kB / 0.6792 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2549, allocations: 0 / 0.6792 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.2551, allocations: 185.5 kB / 0.6794 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2551, allocations: 0 / 0.6794 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.2552, allocations: 23.92 kB / 0.6794 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.2552, allocations: 3.938 kB / 0.6794 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2553, allocations: 4 kB / 0.6794 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.2553, allocations: 4 kB / 0.6795 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2553, allocations: 0 / 0.6795 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.2556, allocations: 203.5 kB / 0.6796 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.2556, allocations: 88.95 kB / 0.6797 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.2556, allocations: 0 / 0.6797 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/0.2557, allocations: 4 kB / 0.6797 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.2558, allocations: 15.98 kB / 0.6798 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.2558, allocations: 0 / 0.6798 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.176e-05/0.2559, allocations: 99.2 kB / 0.6798 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2559, allocations: 0 / 0.6798 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002543/0.2562, allocations: 20 kB / 0.6799 GB, free: 10.64 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.0002516/0.2564, allocations: 119.1 kB / 0.68 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002625/0.2567, allocations: 75.95 kB / 0.6801 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2567, allocations: 0 / 0.6801 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.326e-05/0.2568, allocations: 43.92 kB / 0.6801 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.2571, allocations: 16.73 kB / 0.6801 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/0.2576, allocations: 209.8 kB / 0.6803 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.2581, allocations: 0.6924 MB / 0.681 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.975e-05/0.2581, allocations: 12.42 kB / 0.681 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.2582, allocations: 19.42 kB / 0.681 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of SimCode: time 2.31e-07/0.2582, allocations: 4 kB / 0.681 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of Templates: time 0.004062/0.2622, allocations: 1.018 MB / 0.682 GB, free: 8.387 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)