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.001497/0.001497, allocations: 100.6 kB / 16.27 MB, free: 6.418 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.001582/0.001582, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.471/1.471, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.817/1.817, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.001463/0.001463, allocations: 64.47 kB / 0.6722 GB, free: 6.617 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.288, allocations: 114.5 MB / 0.784 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003399/0.2915, allocations: 1.609 MB / 0.7856 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4933/0.7848, allocations: 3.248 MB / 0.7888 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.289e-05/0.7849, allocations: 2.656 kB / 0.7888 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.617e-05/0.7851, allocations: 6.844 kB / 0.7888 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.646e-05/0.7852, allocations: 15.45 kB / 0.7888 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.7857, allocations: 115.8 kB / 0.7889 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.7858, allocations: 82.42 kB / 0.789 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.7859, allocations: 10.55 kB / 0.789 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.786, allocations: 40.34 kB / 0.789 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.874e-05/0.7861, allocations: 43.91 kB / 0.7891 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.7862, allocations: 5.25 kB / 0.7891 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.7864, allocations: 104.9 kB / 0.7892 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.7865, allocations: 18.59 kB / 0.7892 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.435e-05/0.7865, allocations: 31.88 kB / 0.7892 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.7868, allocations: 126.2 kB / 0.7893 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7868, allocations: 2.125 kB / 0.7893 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.886e-06/0.7868, allocations: 0.6562 kB / 0.7893 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.7868, allocations: 2.688 kB / 0.7894 GB, free: 45.92 MB / 0.6544 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.000572/0.7874, allocations: 379.5 kB / 0.7897 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.7875, allocations: 8.219 kB / 0.7897 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.7875, allocations: 12.73 kB / 0.7897 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.977e-05/0.7876, allocations: 170.9 kB / 0.7899 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.7876, allocations: 7.094 kB / 0.7899 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.7877, allocations: 11.72 kB / 0.7899 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.7879, allocations: 78.09 kB / 0.79 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.7879, allocations: 0 / 0.79 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.7879, allocations: 6.688 kB / 0.79 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.7879, allocations: 2.109 kB / 0.79 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.7882, allocations: 77.19 kB / 0.7901 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.7886, allocations: 332.4 kB / 0.7904 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.7888, allocations: 87.97 kB / 0.7905 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.473e-05/0.7889, allocations: 42.89 kB / 0.7905 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007116/0.7897, allocations: 0.7602 MB / 0.7913 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.7897, allocations: 34.69 kB / 0.7913 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.7897, allocations: 0 / 0.7913 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0003863/0.7901, allocations: 141 kB / 0.7914 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.7901, allocations: 51.41 kB / 0.7915 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.471e-05/0.7902, allocations: 121.4 kB / 0.7916 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.7902, allocations: 26.7 kB / 0.7916 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.7903, allocations: 92.75 kB / 0.7917 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.7903, allocations: 27.61 kB / 0.7917 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.7903, allocations: 23.8 kB / 0.7918 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.855e-05/0.7904, allocations: 321.8 kB / 0.7921 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.729e-05/0.7905, allocations: 27.69 kB / 0.7921 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.028e-05/0.7906, allocations: 43.52 kB / 0.7921 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.7908, allocations: 83.94 kB / 0.7922 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.7908, allocations: 3.938 kB / 0.7922 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002296/0.791, allocations: 115 kB / 0.7923 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.791, allocations: 3.594 kB / 0.7923 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.791, allocations: 7.031 kB / 0.7923 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.7911, allocations: 0 / 0.7923 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.7912, allocations: 18.48 kB / 0.7923 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.7912, allocations: 1.188 kB / 0.7923 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.245e-05/0.7913, allocations: 16.5 kB / 0.7924 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.7913, allocations: 3.25 kB / 0.7924 GB, free: 43.48 MB / 0.6544 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 6.582e-05/0.7914, allocations: 122.2 kB / 0.7925 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.7914, allocations: 3.406 kB / 0.7925 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.7917, allocations: 126.5 kB / 0.7926 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.7917, allocations: 3.344 kB / 0.7926 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.7917, allocations: 3.188 kB / 0.7926 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.7918, allocations: 0.5 kB / 0.7926 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.7919, allocations: 187.4 kB / 0.7928 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.7919, allocations: 2.5 kB / 0.7928 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.792, allocations: 23.61 kB / 0.7928 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.7921, allocations: 1.438 kB / 0.7928 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.7921, allocations: 11.23 kB / 0.7928 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.7921, allocations: 4.312 kB / 0.7928 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7921, allocations: 0 / 0.7928 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.7923, allocations: 198.8 kB / 0.793 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.7924, allocations: 83.73 kB / 0.7931 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.7924, allocations: 5.188 kB / 0.7931 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.535e-05/0.7925, allocations: 2.625 kB / 0.7931 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.7926, allocations: 11.12 kB / 0.7931 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.7926, allocations: 0 / 0.7931 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.782e-05/0.7926, allocations: 94.14 kB / 0.7932 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7926, allocations: 3.938 kB / 0.7932 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002554/0.7929, allocations: 28.41 kB / 0.7932 GB, free: 42.81 MB / 0.6544 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.0002118/0.7931, allocations: 121.8 kB / 0.7934 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002635/0.7934, allocations: 81.22 kB / 0.7934 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.7934, allocations: 0 / 0.7934 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.7935, allocations: 42.23 kB / 0.7935 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.7939, allocations: 7.922 kB / 0.7935 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.7943, allocations: 247.7 kB / 0.7937 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.7945, allocations: 0.6886 MB / 0.7944 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.7946, allocations: 18.91 kB / 0.7944 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of SimCode: time 3.1e-07/0.7946, allocations: 0 / 0.7944 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of Templates: time 0.003084/0.7977, allocations: 1.255 MB / 0.7956 GB, free: 41.78 MB / 0.6544 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)