Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002126/0.002127, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 190.8 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 64.98 kB / 0.6708 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2751, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003105/0.2783, allocations: 1.67 MB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003804/0.2821, allocations: 3.242 MB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.2822, allocations: 0 / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.483e-05/0.2823, allocations: 0 / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.485e-05/0.2824, allocations: 15.86 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.2828, allocations: 107.6 kB / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.283, allocations: 63.84 kB / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2831, allocations: 24.09 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.885e-05/0.2832, allocations: 35.86 kB / 0.7877 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.024e-05/0.2833, allocations: 35.83 kB / 0.7877 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.2833, allocations: 0 / 0.7877 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002744/0.2836, allocations: 103.8 kB / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.2836, allocations: 7.984 kB / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.2837, allocations: 31.8 kB / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.2839, allocations: 119.9 kB / 0.788 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2839, allocations: 0 / 0.788 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2839, allocations: 0 / 0.788 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2839, allocations: 3.938 kB / 0.788 GB, free: 8.504 MB / 0.6075 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.0006373/0.2846, allocations: 391.3 kB / 0.7884 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.2846, allocations: 8.031 kB / 0.7884 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.2847, allocations: 8.844 kB / 0.7884 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.2848, allocations: 180.2 kB / 0.7886 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.2848, allocations: 8.125 kB / 0.7886 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.2849, allocations: 8 kB / 0.7886 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.2851, allocations: 81.53 kB / 0.7886 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2851, allocations: 0 / 0.7886 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.2851, allocations: 0 / 0.7886 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.2851, allocations: 7.984 kB / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.2853, allocations: 79.88 kB / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.2858, allocations: 324.7 kB / 0.789 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.2861, allocations: 86.55 kB / 0.7891 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.744e-05/0.2862, allocations: 44.84 kB / 0.7892 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008155/0.287, allocations: 0.7606 MB / 0.7899 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.287, allocations: 34.56 kB / 0.7899 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.2871, allocations: 3.938 kB / 0.7899 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003994/0.2875, allocations: 133.5 kB / 0.7901 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.2875, allocations: 55.41 kB / 0.7901 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.2876, allocations: 121.8 kB / 0.7902 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.2877, allocations: 29.8 kB / 0.7903 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.2877, allocations: 100.1 kB / 0.7904 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.2878, allocations: 31.58 kB / 0.7904 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.2878, allocations: 17.72 kB / 0.7904 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2879, allocations: 322.8 kB / 0.7907 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.39e-05/0.288, allocations: 27.98 kB / 0.7907 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.2881, allocations: 41.69 kB / 0.7908 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.2883, allocations: 85.67 kB / 0.7909 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2883, allocations: 0 / 0.7909 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002142/0.2885, allocations: 117.8 kB / 0.791 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2886, allocations: 7.938 kB / 0.791 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2886, allocations: 4 kB / 0.791 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.2886, allocations: 0 / 0.791 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.2887, allocations: 24.02 kB / 0.791 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2888, allocations: 3.938 kB / 0.791 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.997e-05/0.2888, allocations: 4 kB / 0.791 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.2888, allocations: 0 / 0.791 GB, free: 5.047 MB / 0.6075 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.871e-05/0.289, allocations: 122.5 kB / 0.7911 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.289, allocations: 11.84 kB / 0.7912 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/0.2893, allocations: 118 kB / 0.7913 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2893, allocations: 0 / 0.7913 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.2893, allocations: 0 / 0.7913 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.207e-06/0.2893, allocations: 192 / 0.7913 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.2895, allocations: 197.5 kB / 0.7915 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2895, allocations: 7.875 kB / 0.7915 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.2896, allocations: 19.98 kB / 0.7915 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.2896, allocations: 3.938 kB / 0.7915 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.2897, allocations: 0 / 0.7915 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2897, allocations: 0 / 0.7915 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2897, allocations: 4 kB / 0.7915 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.2899, allocations: 195.5 kB / 0.7917 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.29, allocations: 88.95 kB / 0.7918 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.29, allocations: 7.922 kB / 0.7918 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-05/0.2901, allocations: 4 kB / 0.7918 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.2902, allocations: 11.92 kB / 0.7918 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.2902, allocations: 4 kB / 0.7918 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.619e-05/0.2902, allocations: 103.2 kB / 0.7919 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2902, allocations: 0 / 0.7919 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002526/0.2905, allocations: 20 kB / 0.7919 GB, free: 4.043 MB / 0.6075 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.0002216/0.2907, allocations: 123.2 kB / 0.792 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002492/0.291, allocations: 76.02 kB / 0.7921 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.291, allocations: 0 / 0.7921 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.324e-05/0.2911, allocations: 39.92 kB / 0.7921 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.2914, allocations: 8 kB / 0.7921 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004267/0.2919, allocations: 242.8 kB / 0.7924 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.2921, allocations: 0.6926 MB / 0.793 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.492e-05/0.2922, allocations: 11.92 kB / 0.7931 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.2922, allocations: 11.44 kB / 0.7931 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of SimCode: time 3.6e-07/0.2922, allocations: 3.938 kB / 0.7931 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of Templates: time 0.003354/0.2956, allocations: 0.9433 MB / 0.794 GB, free: 1.852 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)