Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.623/2.623, allocations: 287.5 MB / 302.4 MB, free: 8.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001374/0.001374, allocations: 186 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.412/2.412, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001361/0.001361, allocations: 89.48 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006805/0.0006808, allocations: 14.02 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2251, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003074/0.2283, allocations: 1.309 MB / 0.9796 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007191/0.2356, allocations: 3.05 MB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.677e-05/0.2357, allocations: 0 / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.487e-05/0.2358, allocations: 4 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.2359, allocations: 19.8 kB / 0.9826 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008023/0.2367, allocations: 91.53 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.237, allocations: 71.77 kB / 0.9828 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.2371, allocations: 8.172 kB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.2373, allocations: 39.86 kB / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.2375, allocations: 31.89 kB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.2376, allocations: 7.938 kB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004957/0.2381, allocations: 67.88 kB / 0.9829 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/0.2381, allocations: 15.92 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.686e-05/0.2382, allocations: 33.7 kB / 0.983 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.2385, allocations: 80.08 kB / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.2385, allocations: 0 / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.615e-06/0.2385, allocations: 8 kB / 0.9831 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2385, allocations: 0 / 0.9831 GB, free: 23.49 MB / 0.6198 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.0008348/0.2394, allocations: 375.1 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.2394, allocations: 12.03 kB / 0.9834 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.299e-05/0.2395, allocations: 11.86 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.2397, allocations: 171 kB / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.2397, allocations: 4 kB / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.2398, allocations: 8 kB / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.2401, allocations: 85.58 kB / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2402, allocations: 0 / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.2402, allocations: 0 / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2402, allocations: 0 / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.2405, allocations: 91.83 kB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000589/0.2411, allocations: 324.7 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.2415, allocations: 94.55 kB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.2417, allocations: 60.81 kB / 0.9843 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008974/0.2426, allocations: 0.7449 MB / 0.985 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.2426, allocations: 34.78 kB / 0.985 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.095e-06/0.2426, allocations: 0 / 0.985 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0005849/0.2432, allocations: 149.5 kB / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.2433, allocations: 55.41 kB / 0.9852 GB, free: 21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.424e-05/0.2434, allocations: 121.8 kB / 0.9853 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.2434, allocations: 29.7 kB / 0.9854 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.2435, allocations: 100 kB / 0.9854 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.2435, allocations: 19.66 kB / 0.9855 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.237e-06/0.2435, allocations: 4 kB / 0.9855 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.735e-05/0.2436, allocations: 318.8 kB / 0.9858 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.2437, allocations: 31.98 kB / 0.9858 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.2439, allocations: 57.56 kB / 0.9859 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.2441, allocations: 39.94 kB / 0.9859 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2441, allocations: 0 / 0.9859 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003897/0.2445, allocations: 117.9 kB / 0.986 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.2445, allocations: 9.094 kB / 0.986 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2446, allocations: 4.016 kB / 0.986 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.2446, allocations: 0 / 0.986 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.2448, allocations: 19.98 kB / 0.986 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2448, allocations: 3.984 kB / 0.986 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.245, allocations: 12 kB / 0.9861 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.245, allocations: 7.984 kB / 0.9861 GB, free: 20.08 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.626e-05/0.2451, allocations: 117.8 kB / 0.9862 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.2451, allocations: 7.906 kB / 0.9862 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/0.2456, allocations: 133.8 kB / 0.9863 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2456, allocations: 4 kB / 0.9863 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2456, allocations: 0 / 0.9863 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2456, allocations: 3.984 kB / 0.9863 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.2459, allocations: 185.6 kB / 0.9865 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2459, allocations: 3.953 kB / 0.9865 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.2461, allocations: 19.98 kB / 0.9865 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2461, allocations: 0 / 0.9865 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.2461, allocations: 0 / 0.9865 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2461, allocations: 0 / 0.9865 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2461, allocations: 4 kB / 0.9865 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.2465, allocations: 223.3 kB / 0.9867 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.2466, allocations: 88.98 kB / 0.9868 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.2466, allocations: 192 / 0.9868 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.2467, allocations: 12 kB / 0.9868 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.2468, allocations: 11.92 kB / 0.9868 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.2468, allocations: 4 kB / 0.9869 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.115e-05/0.2469, allocations: 91.27 kB / 0.9869 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2469, allocations: 0 / 0.9869 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003579/0.2473, allocations: 27.91 kB / 0.987 GB, free: 19.06 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000235/0.2475, allocations: 115.2 kB / 0.9871 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003572/0.2479, allocations: 83.89 kB / 0.9872 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2479, allocations: 0 / 0.9872 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.2481, allocations: 43.98 kB / 0.9872 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.2485, allocations: 8.062 kB / 0.9872 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.249, allocations: 249.4 kB / 0.9874 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.2491, allocations: 0.6888 MB / 0.9881 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.2492, allocations: 12.16 kB / 0.9881 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/0.2493, allocations: 11.44 kB / 0.9881 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of SimCode: time 8.61e-07/0.2493, allocations: 3.938 kB / 0.9881 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of Templates: time 0.00416/0.2535, allocations: 0.9292 MB / 0.989 GB, free: 16.88 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)