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.00104/0.00104, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001095/0.001096, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.508/1.508, allocations: 205.1 MB / 222 MB, free: 5 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.59/1.59, allocations: 251.7 MB / 0.5088 GB, free: 3.273 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.001543/0.001543, allocations: 59.92 kB / 0.6216 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5969/0.5984, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003026/0.6015, allocations: 1.663 MB / 0.7254 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003691/0.6052, allocations: 3.257 MB / 0.7286 GB, free: 8.168 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.939e-05/0.6053, allocations: 0 / 0.7286 GB, free: 8.168 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.999e-05/0.6054, allocations: 3.938 kB / 0.7286 GB, free: 8.164 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.88e-05/0.6055, allocations: 11.92 kB / 0.7286 GB, free: 8.152 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004427/0.6059, allocations: 99.59 kB / 0.7287 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.6061, allocations: 83.7 kB / 0.7288 GB, free: 7.973 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.625e-05/0.6061, allocations: 4.188 kB / 0.7288 GB, free: 7.969 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.836e-05/0.6062, allocations: 39.84 kB / 0.7288 GB, free: 7.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.187e-05/0.6064, allocations: 35.83 kB / 0.7289 GB, free: 7.895 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.6064, allocations: 4 kB / 0.7289 GB, free: 7.891 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002941/0.6067, allocations: 103.8 kB / 0.729 GB, free: 7.789 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.6067, allocations: 19.92 kB / 0.729 GB, free: 7.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.6067, allocations: 19.88 kB / 0.729 GB, free: 7.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.607, allocations: 125.6 kB / 0.7291 GB, free: 7.629 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.607, allocations: 0 / 0.7291 GB, free: 7.629 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.51e-07/0.607, allocations: 0 / 0.7291 GB, free: 7.629 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.607, allocations: 0 / 0.7291 GB, free: 7.629 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.0005826/0.6076, allocations: 399.1 kB / 0.7295 GB, free: 7.191 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.6076, allocations: 8.031 kB / 0.7295 GB, free: 7.184 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.6077, allocations: 12.84 kB / 0.7295 GB, free: 7.172 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.6078, allocations: 168.3 kB / 0.7297 GB, free: 6.969 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.6078, allocations: 384 / 0.7297 GB, free: 6.969 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.6078, allocations: 8.375 kB / 0.7297 GB, free: 6.961 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.6081, allocations: 89.52 kB / 0.7298 GB, free: 6.867 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.6081, allocations: 0 / 0.7298 GB, free: 6.867 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.6081, allocations: 4 kB / 0.7298 GB, free: 6.863 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.6081, allocations: 0 / 0.7298 GB, free: 6.863 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.6083, allocations: 71.95 kB / 0.7299 GB, free: 6.793 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/0.6088, allocations: 340.6 kB / 0.7302 GB, free: 6.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.609, allocations: 94.48 kB / 0.7303 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.88e-05/0.6091, allocations: 44.83 kB / 0.7303 GB, free: 6.262 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008081/0.6099, allocations: 0.7487 MB / 0.7311 GB, free: 5.395 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.61, allocations: 34.56 kB / 0.7311 GB, free: 5.352 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.61, allocations: 0 / 0.7311 GB, free: 5.352 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003892/0.6104, allocations: 145.8 kB / 0.7312 GB, free: 5.203 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.6104, allocations: 51.41 kB / 0.7313 GB, free: 5.141 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/0.6105, allocations: 122.2 kB / 0.7314 GB, free: 5.012 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.6106, allocations: 25.7 kB / 0.7314 GB, free: 4.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.6106, allocations: 88.05 kB / 0.7315 GB, free: 4.891 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.6107, allocations: 31.55 kB / 0.7315 GB, free: 4.859 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.6107, allocations: 25.72 kB / 0.7316 GB, free: 4.828 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.6108, allocations: 318.8 kB / 0.7319 GB, free: 4.508 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.541e-05/0.6109, allocations: 27.98 kB / 0.7319 GB, free: 4.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.211e-05/0.611, allocations: 45.69 kB / 0.7319 GB, free: 4.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.6112, allocations: 81.62 kB / 0.732 GB, free: 4.344 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6112, allocations: 0 / 0.732 GB, free: 4.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002323/0.6114, allocations: 113.6 kB / 0.7321 GB, free: 4.227 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.6115, allocations: 4 kB / 0.7321 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.6115, allocations: 0 / 0.7321 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.6115, allocations: 7.938 kB / 0.7321 GB, free: 4.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.6116, allocations: 16.17 kB / 0.7321 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.6117, allocations: 400 / 0.7321 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.686e-05/0.6117, allocations: 23.81 kB / 0.7322 GB, free: 4.176 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.6118, allocations: 8.094 kB / 0.7322 GB, free: 4.168 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.038e-05/0.6118, allocations: 117.8 kB / 0.7323 GB, free: 4.043 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.6119, allocations: 7.906 kB / 0.7323 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.6122, allocations: 117.9 kB / 0.7324 GB, free: 3.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.6122, allocations: 7.938 kB / 0.7324 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6122, allocations: 4 kB / 0.7324 GB, free: 3.898 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.6122, allocations: 3.984 kB / 0.7324 GB, free: 3.895 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.6124, allocations: 185.6 kB / 0.7326 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6124, allocations: 0 / 0.7326 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.6125, allocations: 15.98 kB / 0.7326 GB, free: 3.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.6125, allocations: 0 / 0.7326 GB, free: 3.648 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.6125, allocations: 4 kB / 0.7326 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.6126, allocations: 3.938 kB / 0.7326 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6126, allocations: 0 / 0.7326 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.6129, allocations: 211.3 kB / 0.7328 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.6129, allocations: 89 kB / 0.7329 GB, free: 3.312 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.6129, allocations: 4 kB / 0.7329 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.827e-05/0.613, allocations: 7.938 kB / 0.7329 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.6131, allocations: 11.98 kB / 0.7329 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.6131, allocations: 0 / 0.7329 GB, free: 3.289 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.433e-05/0.6132, allocations: 95.31 kB / 0.733 GB, free: 3.195 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6132, allocations: 4 kB / 0.733 GB, free: 3.191 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002568/0.6134, allocations: 23.94 kB / 0.733 GB, free: 3.168 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 (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.0002116/0.6137, allocations: 115.2 kB / 0.7332 GB, free: 3.047 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002429/0.6139, allocations: 75.89 kB / 0.7332 GB, free: 2.973 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6139, allocations: 0 / 0.7332 GB, free: 2.973 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.442e-05/0.614, allocations: 48.03 kB / 0.7333 GB, free: 2.926 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.6144, allocations: 7.938 kB / 0.7333 GB, free: 2.918 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000442/0.6148, allocations: 231.6 kB / 0.7335 GB, free: 2.668 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.6151, allocations: 0.6926 MB / 0.7342 GB, free: 1.949 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.616e-05/0.6151, allocations: 7.984 kB / 0.7342 GB, free: 1.941 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.6152, allocations: 15.42 kB / 0.7342 GB, free: 1.926 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6152, allocations: 0 / 0.7342 GB, free: 1.926 MB / 0.545 GB Notification: Performance of Templates: time 0.00316/0.6184, allocations: 0.9484 MB / 0.7351 GB, free: 0.9922 MB / 0.545 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)