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.001232/0.001232, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.001304/0.001304, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.42/1.42, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.789/1.789, allocations: 292.3 MB / 0.5495 GB, free: 17.39 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.001365/0.001365, allocations: 63.91 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2182, allocations: 114.6 MB / 0.7841 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003128/0.2214, allocations: 1.598 MB / 0.7856 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4241/0.6456, allocations: 3.247 MB / 0.7888 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.212e-05/0.6457, allocations: 3.469 kB / 0.7888 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.884e-05/0.6458, allocations: 6.797 kB / 0.7888 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.466e-05/0.6459, allocations: 17.08 kB / 0.7888 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005442/0.6464, allocations: 120 kB / 0.789 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.6466, allocations: 79.33 kB / 0.789 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.6467, allocations: 11.55 kB / 0.789 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.6468, allocations: 42.62 kB / 0.7891 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.959e-05/0.6469, allocations: 43.19 kB / 0.7891 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.6469, allocations: 5.75 kB / 0.7891 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003161/0.6473, allocations: 106.2 kB / 0.7892 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.6473, allocations: 13.16 kB / 0.7892 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.107e-05/0.6474, allocations: 35.17 kB / 0.7893 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.6476, allocations: 126.5 kB / 0.7894 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.6476, allocations: 0 / 0.7894 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6477, allocations: 1.094 kB / 0.7894 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.88e-05/0.6477, allocations: 3.125 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.00059/0.6483, allocations: 376.5 kB / 0.7898 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.6483, allocations: 10.5 kB / 0.7898 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.6484, allocations: 10.41 kB / 0.7898 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.887e-05/0.6485, allocations: 178.1 kB / 0.7899 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.6485, allocations: 6.375 kB / 0.79 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.6485, allocations: 9.75 kB / 0.79 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.6488, allocations: 81.06 kB / 0.79 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.6488, allocations: 0 / 0.79 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.6488, allocations: 3.375 kB / 0.79 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.6488, allocations: 2.625 kB / 0.79 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.649, allocations: 75.55 kB / 0.7901 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.6495, allocations: 329.5 kB / 0.7904 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.6497, allocations: 95.33 kB / 0.7905 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.98e-05/0.6498, allocations: 43.36 kB / 0.7906 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006813/0.6505, allocations: 0.7526 MB / 0.7913 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.6505, allocations: 33.84 kB / 0.7913 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 2.514e-06/0.6505, allocations: 0.75 kB / 0.7913 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0003789/0.6509, allocations: 140.2 kB / 0.7915 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.651, allocations: 54.59 kB / 0.7915 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.389e-05/0.651, allocations: 122.5 kB / 0.7916 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.6511, allocations: 26.42 kB / 0.7917 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.6511, allocations: 93.3 kB / 0.7917 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.6511, allocations: 24.19 kB / 0.7918 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.6512, allocations: 32.06 kB / 0.7918 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.048e-05/0.6513, allocations: 319.6 kB / 0.7921 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.691e-05/0.6513, allocations: 28.39 kB / 0.7921 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.166e-05/0.6514, allocations: 45.41 kB / 0.7922 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.6516, allocations: 80.44 kB / 0.7923 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6516, allocations: 3.469 kB / 0.7923 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002291/0.6518, allocations: 114.9 kB / 0.7924 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.6519, allocations: 5.25 kB / 0.7924 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6519, allocations: 3.938 kB / 0.7924 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.6519, allocations: 2.625 kB / 0.7924 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.652, allocations: 17.39 kB / 0.7924 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.6521, allocations: 2.625 kB / 0.7924 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.715e-05/0.6521, allocations: 15.12 kB / 0.7924 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.6521, allocations: 5.578 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.949e-05/0.6522, allocations: 122.6 kB / 0.7925 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.6523, allocations: 2.625 kB / 0.7925 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.6525, allocations: 127 kB / 0.7927 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.6525, allocations: 2.094 kB / 0.7927 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6525, allocations: 0 / 0.7927 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.6526, allocations: 0 / 0.7927 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.6527, allocations: 190.9 kB / 0.7928 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6527, allocations: 4.766 kB / 0.7928 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.625e-05/0.6528, allocations: 19.31 kB / 0.7929 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.6528, allocations: 3.125 kB / 0.7929 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.6529, allocations: 10.11 kB / 0.7929 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.6529, allocations: 0.5938 kB / 0.7929 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6529, allocations: 0 / 0.7929 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.6531, allocations: 208.7 kB / 0.7931 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.6531, allocations: 83.67 kB / 0.7932 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.6532, allocations: 7.562 kB / 0.7932 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.018e-05/0.6533, allocations: 4.969 kB / 0.7932 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.6533, allocations: 5.484 kB / 0.7932 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.6533, allocations: 2.625 kB / 0.7932 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.956e-05/0.6534, allocations: 99.77 kB / 0.7933 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6534, allocations: 0 / 0.7933 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002535/0.6536, allocations: 25.75 kB / 0.7933 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.0002119/0.6539, allocations: 114.2 kB / 0.7934 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.6541, allocations: 80.34 kB / 0.7935 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6541, allocations: 4.062 kB / 0.7935 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.587e-05/0.6542, allocations: 46.02 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.0003449/0.6546, allocations: 6.562 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.0004334/0.655, allocations: 215.5 kB / 0.7937 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.6552, allocations: 0.6886 MB / 0.7944 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.332e-05/0.6552, allocations: 8.672 kB / 0.7944 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.6553, allocations: 13.22 kB / 0.7944 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.6553, allocations: 2.812 kB / 0.7944 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.003529/0.6588, allocations: 1.012 MB / 0.7954 GB, free: 41.83 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)