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.01064/0.01064, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.002009/0.002009, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.528/1.528, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.619/1.619, allocations: 251.7 MB / 0.5094 GB, free: 3.043 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.002181/0.002181, allocations: 63.91 kB / 0.7258 GB, free: 8.961 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3119, allocations: 104.7 MB / 0.8281 GB, free: 152 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002996/0.3149, allocations: 1.602 MB / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00427/0.3192, allocations: 3.265 MB / 0.8328 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.787e-05/0.3193, allocations: 4 kB / 0.8328 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.064e-05/0.3194, allocations: 7.875 kB / 0.8328 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.895e-05/0.3195, allocations: 15.84 kB / 0.8329 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.3201, allocations: 127.5 kB / 0.833 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.3203, allocations: 75.72 kB / 0.833 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3204, allocations: 16.17 kB / 0.8331 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.3205, allocations: 27.92 kB / 0.8331 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.3206, allocations: 43.77 kB / 0.8331 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.3206, allocations: 8 kB / 0.8331 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003231/0.321, allocations: 103.8 kB / 0.8332 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.17e-05/0.321, allocations: 19.91 kB / 0.8333 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.18e-05/0.3211, allocations: 27.86 kB / 0.8333 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.3214, allocations: 127.6 kB / 0.8334 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3214, allocations: 0 / 0.8334 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3214, allocations: 4 kB / 0.8334 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.3214, allocations: 0 / 0.8334 GB, free: 10.65 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.0006655/0.3221, allocations: 387.2 kB / 0.8338 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3221, allocations: 12.03 kB / 0.8338 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/0.3222, allocations: 12.84 kB / 0.8338 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3223, allocations: 168.3 kB / 0.834 GB, free: 10 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.3223, allocations: 384 / 0.834 GB, free: 10 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.3224, allocations: 8.359 kB / 0.834 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.3226, allocations: 85.53 kB / 0.834 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3226, allocations: 0 / 0.834 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.3226, allocations: 0 / 0.834 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3226, allocations: 0 / 0.834 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.3229, allocations: 83.92 kB / 0.8341 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.3234, allocations: 324.6 kB / 0.8344 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.3236, allocations: 94.47 kB / 0.8345 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.3237, allocations: 44.78 kB / 0.8346 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008204/0.3246, allocations: 0.7643 MB / 0.8353 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.3246, allocations: 30.56 kB / 0.8353 GB, free: 8.383 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.3246, allocations: 0 / 0.8353 GB, free: 8.383 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0004155/0.325, allocations: 145.8 kB / 0.8355 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.3251, allocations: 51.41 kB / 0.8355 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.043e-05/0.3252, allocations: 117.8 kB / 0.8356 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.3252, allocations: 29.7 kB / 0.8357 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.3253, allocations: 92.05 kB / 0.8358 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.3253, allocations: 31.55 kB / 0.8358 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.3254, allocations: 21.7 kB / 0.8358 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3255, allocations: 322.8 kB / 0.8361 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.743e-05/0.3256, allocations: 27.97 kB / 0.8361 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.3257, allocations: 41.7 kB / 0.8362 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.3259, allocations: 77.62 kB / 0.8363 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3259, allocations: 8 kB / 0.8363 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002458/0.3261, allocations: 101.7 kB / 0.8364 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3262, allocations: 8 kB / 0.8364 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.3262, allocations: 0 / 0.8364 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3262, allocations: 3.938 kB / 0.8364 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.3264, allocations: 23.92 kB / 0.8364 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3264, allocations: 0 / 0.8364 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.886e-05/0.3265, allocations: 11.89 kB / 0.8364 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.3265, allocations: 8.031 kB / 0.8364 GB, free: 7.211 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 8.391e-05/0.3266, allocations: 110 kB / 0.8365 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.3266, allocations: 15.84 kB / 0.8365 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.3269, allocations: 130.5 kB / 0.8367 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3269, allocations: 3.938 kB / 0.8367 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3269, allocations: 3.938 kB / 0.8367 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3269, allocations: 4 kB / 0.8367 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.3271, allocations: 189.6 kB / 0.8369 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3272, allocations: 0 / 0.8369 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.3273, allocations: 19.98 kB / 0.8369 GB, free: 6.676 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3273, allocations: 0 / 0.8369 GB, free: 6.676 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3273, allocations: 4 kB / 0.8369 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.3273, allocations: 7.922 kB / 0.8369 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3273, allocations: 0 / 0.8369 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.3276, allocations: 211.3 kB / 0.8371 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.3276, allocations: 81.02 kB / 0.8372 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.3277, allocations: 4 kB / 0.8372 GB, free: 6.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.829e-05/0.3278, allocations: 7.938 kB / 0.8372 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.3278, allocations: 7.984 kB / 0.8372 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.3278, allocations: 4 kB / 0.8372 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.768e-05/0.3279, allocations: 99.64 kB / 0.8373 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3279, allocations: 0 / 0.8373 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002671/0.3282, allocations: 24 kB / 0.8373 GB, free: 6.199 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.0002169/0.3284, allocations: 115.2 kB / 0.8374 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002612/0.3287, allocations: 75.89 kB / 0.8375 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3287, allocations: 0 / 0.8375 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.87e-05/0.3288, allocations: 40.05 kB / 0.8375 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.3291, allocations: 17.98 kB / 0.8375 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.3296, allocations: 209.8 kB / 0.8377 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.3299, allocations: 0.6924 MB / 0.8384 GB, free: 5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.708e-05/0.33, allocations: 19.66 kB / 0.8384 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.33, allocations: 11.44 kB / 0.8385 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.33, allocations: 0 / 0.8385 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of Templates: time 0.003728/0.3337, allocations: 1.023 MB / 0.8394 GB, free: 3.961 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)