Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009602/0.0009602, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001033/0.001033, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.63/1.63, allocations: 252 MB / 0.5102 GB, free: 4.793 MB / 414.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.0006236/0.0006238, allocations: 12 kB / 0.6243 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5585/0.5591, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001915/0.5611, allocations: 1.301 MB / 0.7294 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003634/0.5647, allocations: 3.068 MB / 0.7324 GB, free: 6.984 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.673e-05/0.5648, allocations: 4 kB / 0.7324 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.5648, allocations: 0 / 0.7324 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.058e-05/0.5649, allocations: 11.86 kB / 0.7324 GB, free: 6.969 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.5654, allocations: 95.59 kB / 0.7325 GB, free: 6.875 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.5655, allocations: 63.78 kB / 0.7326 GB, free: 6.812 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.248e-05/0.5656, allocations: 12.17 kB / 0.7326 GB, free: 6.801 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.5657, allocations: 35.84 kB / 0.7326 GB, free: 6.766 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.62e-05/0.5658, allocations: 35.89 kB / 0.7327 GB, free: 6.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.5658, allocations: 4 kB / 0.7327 GB, free: 6.727 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.5661, allocations: 75.81 kB / 0.7327 GB, free: 6.652 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.5661, allocations: 11.92 kB / 0.7327 GB, free: 6.641 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.5661, allocations: 33.7 kB / 0.7328 GB, free: 6.602 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.5663, allocations: 81.72 kB / 0.7329 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5663, allocations: 0 / 0.7329 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5663, allocations: 0 / 0.7329 GB, free: 6.523 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.5664, allocations: 0 / 0.7329 GB, free: 6.523 MB / 0.545 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.5669, allocations: 383.2 kB / 0.7332 GB, free: 6.102 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.567, allocations: 8.031 kB / 0.7332 GB, free: 6.094 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.567, allocations: 7.906 kB / 0.7332 GB, free: 6.086 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.5672, allocations: 178.9 kB / 0.7334 GB, free: 5.871 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.5672, allocations: 0 / 0.7334 GB, free: 5.871 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.5672, allocations: 7.984 kB / 0.7334 GB, free: 5.863 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.5675, allocations: 89.64 kB / 0.7335 GB, free: 5.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.5675, allocations: 0 / 0.7335 GB, free: 5.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.5675, allocations: 3.953 kB / 0.7335 GB, free: 5.766 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.5675, allocations: 0 / 0.7335 GB, free: 5.766 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.5677, allocations: 83.94 kB / 0.7336 GB, free: 5.684 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005335/0.5682, allocations: 332.7 kB / 0.7339 GB, free: 5.309 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.5685, allocations: 94.53 kB / 0.734 GB, free: 5.207 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.5686, allocations: 48.84 kB / 0.734 GB, free: 5.156 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008165/0.5694, allocations: 0.7526 MB / 0.7348 GB, free: 4.285 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.5695, allocations: 38.78 kB / 0.7348 GB, free: 4.238 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.5695, allocations: 0 / 0.7348 GB, free: 4.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004189/0.5699, allocations: 141.6 kB / 0.7349 GB, free: 4.094 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.5699, allocations: 51.41 kB / 0.735 GB, free: 4.031 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.5701, allocations: 125.7 kB / 0.7351 GB, free: 3.898 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.5701, allocations: 25.7 kB / 0.7351 GB, free: 3.867 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.5701, allocations: 88.14 kB / 0.7352 GB, free: 3.777 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.5702, allocations: 31.55 kB / 0.7352 GB, free: 3.746 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.5702, allocations: 8 kB / 0.7353 GB, free: 3.738 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5703, allocations: 314.8 kB / 0.7356 GB, free: 3.422 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.239e-05/0.5704, allocations: 35.97 kB / 0.7356 GB, free: 3.387 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.2e-05/0.5705, allocations: 49.64 kB / 0.7356 GB, free: 3.332 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.741e-05/0.5706, allocations: 40.3 kB / 0.7357 GB, free: 3.293 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5706, allocations: 0 / 0.7357 GB, free: 3.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002354/0.5709, allocations: 121.7 kB / 0.7358 GB, free: 3.168 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.5709, allocations: 8 kB / 0.7358 GB, free: 3.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.5709, allocations: 7.969 kB / 0.7358 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.5709, allocations: 3.938 kB / 0.7358 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.5711, allocations: 19.98 kB / 0.7358 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.5711, allocations: 4 kB / 0.7358 GB, free: 3.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.999e-05/0.5712, allocations: 11.92 kB / 0.7358 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.5712, allocations: 4 kB / 0.7359 GB, free: 3.109 MB / 0.545 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 0.0001016/0.5713, allocations: 117.8 kB / 0.736 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.5713, allocations: 11.91 kB / 0.736 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.5716, allocations: 129.9 kB / 0.7361 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5716, allocations: 0 / 0.7361 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.5716, allocations: 0 / 0.7361 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5717, allocations: 4 kB / 0.7361 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.5719, allocations: 193.6 kB / 0.7363 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5719, allocations: 3.938 kB / 0.7363 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.931e-05/0.572, allocations: 19.98 kB / 0.7363 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.572, allocations: 0 / 0.7363 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.572, allocations: 3.984 kB / 0.7363 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.572, allocations: 4 kB / 0.7363 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.572, allocations: 0 / 0.7363 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.5723, allocations: 219.3 kB / 0.7365 GB, free: 2.332 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.5724, allocations: 81.02 kB / 0.7366 GB, free: 2.234 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.5724, allocations: 8 kB / 0.7366 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/0.5725, allocations: 4 kB / 0.7366 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.5726, allocations: 7.984 kB / 0.7366 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.5726, allocations: 4 kB / 0.7366 GB, free: 2.211 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.144e-05/0.5726, allocations: 91.7 kB / 0.7367 GB, free: 2.121 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5726, allocations: 0 / 0.7367 GB, free: 2.121 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002537/0.5729, allocations: 27.94 kB / 0.7367 GB, free: 2.094 MB / 0.545 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.0002342/0.5731, allocations: 115.2 kB / 0.7368 GB, free: 1.973 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.5734, allocations: 91.88 kB / 0.7369 GB, free: 1.883 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5734, allocations: 4 kB / 0.7369 GB, free: 1.879 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.076e-05/0.5735, allocations: 39.97 kB / 0.737 GB, free: 1.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.5738, allocations: 12.27 kB / 0.737 GB, free: 1.828 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004898/0.5743, allocations: 256.5 kB / 0.7372 GB, free: 1.555 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.5746, allocations: 0.6887 MB / 0.7379 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.225e-05/0.5747, allocations: 8.188 kB / 0.7379 GB, free: 0.832 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.5747, allocations: 11.44 kB / 0.7379 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.5747, allocations: 0 / 0.7379 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of Templates: time 0.003508/0.5782, allocations: 0.928 MB / 0.7388 GB, free: 15.9 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) Environment - environmentSimulation: