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.01017/0.01017, allocations: 101.6 kB / 15.73 MB, free: 6.039 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.001868/0.001868, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.592/1.592, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.577/1.577, allocations: 251.7 MB / 0.5094 GB, free: 3.012 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.001756/0.001756, allocations: 71.89 kB / 0.7258 GB, free: 9.09 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2576, allocations: 104.7 MB / 0.8281 GB, free: 296 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003506/0.2612, allocations: 1.605 MB / 0.8296 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003865/0.2651, allocations: 3.273 MB / 0.8328 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.373e-05/0.2652, allocations: 0 / 0.8328 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.653e-05/0.2652, allocations: 3.938 kB / 0.8328 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.173e-05/0.2654, allocations: 23.78 kB / 0.8329 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005207/0.2659, allocations: 107.6 kB / 0.833 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.266, allocations: 87.69 kB / 0.833 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2662, allocations: 12.19 kB / 0.8331 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.2663, allocations: 39.84 kB / 0.8331 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.2664, allocations: 39.83 kB / 0.8331 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.2664, allocations: 4 kB / 0.8331 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.2667, allocations: 103.8 kB / 0.8332 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.2668, allocations: 15.92 kB / 0.8332 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/0.2668, allocations: 35.84 kB / 0.8333 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.2671, allocations: 123.6 kB / 0.8334 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.2671, allocations: 3.984 kB / 0.8334 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.013e-06/0.2671, allocations: 0 / 0.8334 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.2671, allocations: 0 / 0.8334 GB, free: 10.79 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.0006725/0.2678, allocations: 387.2 kB / 0.8338 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.2678, allocations: 8.031 kB / 0.8338 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.2679, allocations: 8.844 kB / 0.8338 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.268, allocations: 176.2 kB / 0.834 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.2681, allocations: 8.375 kB / 0.834 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.2681, allocations: 4.375 kB / 0.834 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.2683, allocations: 85.52 kB / 0.834 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2683, allocations: 3.938 kB / 0.8341 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.2684, allocations: 11.98 kB / 0.8341 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2684, allocations: 0 / 0.8341 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.2686, allocations: 71.94 kB / 0.8341 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005335/0.2691, allocations: 328.6 kB / 0.8344 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.2694, allocations: 94.48 kB / 0.8345 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.2695, allocations: 44.83 kB / 0.8346 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008458/0.2703, allocations: 0.7565 MB / 0.8353 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.2704, allocations: 34.56 kB / 0.8353 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.2704, allocations: 0 / 0.8353 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0004049/0.2708, allocations: 141.8 kB / 0.8355 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.2708, allocations: 51.41 kB / 0.8355 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.69e-05/0.2709, allocations: 121.8 kB / 0.8356 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.2709, allocations: 25.7 kB / 0.8357 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.271, allocations: 88.05 kB / 0.8358 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.271, allocations: 35.53 kB / 0.8358 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.2711, allocations: 21.72 kB / 0.8358 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2712, allocations: 318.8 kB / 0.8361 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.16e-05/0.2713, allocations: 31.98 kB / 0.8361 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.806e-05/0.2714, allocations: 45.69 kB / 0.8362 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.2716, allocations: 77.62 kB / 0.8363 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2716, allocations: 0 / 0.8363 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002285/0.2718, allocations: 113.7 kB / 0.8364 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2719, allocations: 4 kB / 0.8364 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2719, allocations: 0 / 0.8364 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.2719, allocations: 7.938 kB / 0.8364 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.272, allocations: 19.92 kB / 0.8364 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.272, allocations: 0 / 0.8364 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.382e-05/0.2721, allocations: 19.89 kB / 0.8364 GB, free: 7.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.2721, allocations: 192 / 0.8364 GB, free: 7.34 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 9.803e-05/0.2723, allocations: 117.9 kB / 0.8365 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.2723, allocations: 11.95 kB / 0.8365 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.2726, allocations: 117.9 kB / 0.8367 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.2726, allocations: 7.938 kB / 0.8367 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.2726, allocations: 3.984 kB / 0.8367 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2726, allocations: 0 / 0.8367 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.2728, allocations: 193.6 kB / 0.8369 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2728, allocations: 0 / 0.8369 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.273, allocations: 19.98 kB / 0.8369 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.273, allocations: 0 / 0.8369 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.273, allocations: 4 kB / 0.8369 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.273, allocations: 4.406 kB / 0.8369 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.273, allocations: 0 / 0.8369 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.2733, allocations: 211.3 kB / 0.8371 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.2734, allocations: 89.02 kB / 0.8372 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.2734, allocations: 0 / 0.8372 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-05/0.2735, allocations: 7.938 kB / 0.8372 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.2735, allocations: 11.98 kB / 0.8372 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.2736, allocations: 0 / 0.8372 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.568e-05/0.2736, allocations: 91.27 kB / 0.8373 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2736, allocations: 0 / 0.8373 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002644/0.2739, allocations: 28 kB / 0.8373 GB, free: 6.336 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.0002451/0.2741, allocations: 119.2 kB / 0.8374 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.2744, allocations: 75.89 kB / 0.8375 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2744, allocations: 0 / 0.8375 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.691e-05/0.2745, allocations: 39.98 kB / 0.8375 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.2749, allocations: 14.33 kB / 0.8375 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005327/0.2754, allocations: 209.9 kB / 0.8377 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.2758, allocations: 0.6923 MB / 0.8384 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.952e-05/0.2759, allocations: 19.67 kB / 0.8384 GB, free: 5.117 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.238e-05/0.276, allocations: 19.42 kB / 0.8385 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/0.276, allocations: 0 / 0.8385 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of Templates: time 0.003938/0.2799, allocations: 1.021 MB / 0.8394 GB, free: 4.09 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (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)