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.001117/0.001117, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.533/1.533, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.74/1.74, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001427/0.001427, allocations: 72.36 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2265, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003452/0.23, allocations: 1.598 MB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003951/0.234, allocations: 3.258 MB / 0.7881 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.961e-05/0.2341, allocations: 3.938 kB / 0.7881 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.669e-05/0.2341, allocations: 7.875 kB / 0.7881 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.095e-05/0.2342, allocations: 19.84 kB / 0.7881 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004937/0.2347, allocations: 115.5 kB / 0.7883 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.2349, allocations: 75.83 kB / 0.7883 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.348e-05/0.235, allocations: 12.12 kB / 0.7883 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.2351, allocations: 39.84 kB / 0.7884 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.075e-05/0.2352, allocations: 39.83 kB / 0.7884 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.2352, allocations: 11.94 kB / 0.7884 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003108/0.2355, allocations: 103.8 kB / 0.7885 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.2356, allocations: 15.92 kB / 0.7885 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.2356, allocations: 39.78 kB / 0.7886 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.2359, allocations: 119.9 kB / 0.7887 GB, free: 8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2359, allocations: 0 / 0.7887 GB, free: 8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2359, allocations: 0 / 0.7887 GB, free: 8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2359, allocations: 0 / 0.7887 GB, free: 8 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.0005863/0.2365, allocations: 395.2 kB / 0.7891 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.2366, allocations: 8.031 kB / 0.7891 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.2366, allocations: 8.844 kB / 0.7891 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.2367, allocations: 176.2 kB / 0.7893 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.2368, allocations: 4.125 kB / 0.7893 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.2368, allocations: 12 kB / 0.7893 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.237, allocations: 77.64 kB / 0.7893 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.237, allocations: 0 / 0.7893 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.237, allocations: 4 kB / 0.7893 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.2371, allocations: 4 kB / 0.7893 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.2373, allocations: 79.81 kB / 0.7894 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.2378, allocations: 320.7 kB / 0.7897 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.238, allocations: 94.55 kB / 0.7898 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.2381, allocations: 52.95 kB / 0.7899 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007974/0.2389, allocations: 0.7527 MB / 0.7906 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.239, allocations: 30.56 kB / 0.7906 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.239, allocations: 4 kB / 0.7906 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003937/0.2394, allocations: 133.5 kB / 0.7908 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.2394, allocations: 59.44 kB / 0.7908 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.868e-05/0.2395, allocations: 117.8 kB / 0.7909 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.2396, allocations: 37.7 kB / 0.791 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.2396, allocations: 88.05 kB / 0.7911 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.2396, allocations: 31.62 kB / 0.7911 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.2397, allocations: 21.72 kB / 0.7911 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2398, allocations: 318.8 kB / 0.7914 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.758e-05/0.2399, allocations: 27.98 kB / 0.7914 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.451e-05/0.24, allocations: 49.62 kB / 0.7915 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.2402, allocations: 81.62 kB / 0.7916 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2402, allocations: 0 / 0.7916 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002291/0.2405, allocations: 109.6 kB / 0.7917 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2405, allocations: 8.047 kB / 0.7917 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.2405, allocations: 3.938 kB / 0.7917 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2405, allocations: 4.031 kB / 0.7917 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.2407, allocations: 23.92 kB / 0.7917 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2407, allocations: 0 / 0.7917 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.048e-05/0.2407, allocations: 4 kB / 0.7917 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.2408, allocations: 11.98 kB / 0.7917 GB, free: 4.543 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 0.0001034/0.2409, allocations: 114.7 kB / 0.7918 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.2409, allocations: 11.84 kB / 0.7918 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.2412, allocations: 118 kB / 0.792 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.2412, allocations: 7.938 kB / 0.792 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2412, allocations: 0 / 0.792 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.2413, allocations: 3.984 kB / 0.792 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.2415, allocations: 189.5 kB / 0.7921 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.2415, allocations: 0 / 0.7921 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.2416, allocations: 15.98 kB / 0.7922 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.2416, allocations: 3.938 kB / 0.7922 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.2416, allocations: 0 / 0.7922 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2416, allocations: 8 kB / 0.7922 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2416, allocations: 0 / 0.7922 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.2419, allocations: 196 kB / 0.7924 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.242, allocations: 92.94 kB / 0.7924 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.242, allocations: 7.938 kB / 0.7925 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.923e-05/0.2421, allocations: 4 kB / 0.7925 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.2422, allocations: 11.92 kB / 0.7925 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.2422, allocations: 4 kB / 0.7925 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.929e-05/0.2423, allocations: 95.27 kB / 0.7926 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2423, allocations: 192 / 0.7926 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002671/0.2426, allocations: 20 kB / 0.7926 GB, free: 3.555 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.0002612/0.2428, allocations: 131.1 kB / 0.7927 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002615/0.2431, allocations: 83.95 kB / 0.7928 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2431, allocations: 0 / 0.7928 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.964e-05/0.2432, allocations: 39.98 kB / 0.7928 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.2436, allocations: 8.922 kB / 0.7928 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005438/0.2441, allocations: 221.9 kB / 0.793 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.2445, allocations: 0.6885 MB / 0.7937 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.742e-05/0.2446, allocations: 11.98 kB / 0.7937 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.2446, allocations: 19.42 kB / 0.7937 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of SimCode: time 4.6e-07/0.2446, allocations: 0 / 0.7937 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of Templates: time 0.003998/0.2487, allocations: 1.007 MB / 0.7947 GB, free: 1.305 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)