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.001047/0.001047, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.009768/0.009769, allocations: 170 kB / 16.27 MB, free: 6.652 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.617/1.617, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.624/1.624, allocations: 252 MB / 0.5105 GB, free: 4.676 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.00057/0.0005701, allocations: 16.56 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5951/0.5956, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002031/0.5977, allocations: 1.32 MB / 0.73 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004529/0.6023, allocations: 3.21 MB / 0.7332 GB, free: 6.723 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.38e-05/0.6024, allocations: 0 / 0.7332 GB, free: 6.723 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.6024, allocations: 3.938 kB / 0.7332 GB, free: 6.719 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.6025, allocations: 15.86 kB / 0.7332 GB, free: 6.703 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005794/0.6031, allocations: 107.6 kB / 0.7333 GB, free: 6.598 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.6033, allocations: 75.72 kB / 0.7334 GB, free: 6.523 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.6034, allocations: 12.17 kB / 0.7334 GB, free: 6.512 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.6035, allocations: 31.86 kB / 0.7334 GB, free: 6.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.6037, allocations: 35.83 kB / 0.7334 GB, free: 6.445 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.6037, allocations: 4 kB / 0.7334 GB, free: 6.441 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000347/0.604, allocations: 95.78 kB / 0.7335 GB, free: 6.348 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.6041, allocations: 23.91 kB / 0.7335 GB, free: 6.324 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.746e-05/0.6041, allocations: 53.56 kB / 0.7336 GB, free: 6.266 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.6044, allocations: 121.5 kB / 0.7337 GB, free: 6.148 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6044, allocations: 4 kB / 0.7337 GB, free: 6.145 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6044, allocations: 0 / 0.7337 GB, free: 6.145 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.6044, allocations: 0 / 0.7337 GB, free: 6.145 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.0005928/0.605, allocations: 375.4 kB / 0.7341 GB, free: 5.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.6051, allocations: 16.02 kB / 0.7341 GB, free: 5.715 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.6052, allocations: 8.844 kB / 0.7341 GB, free: 5.707 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.6054, allocations: 172.2 kB / 0.7343 GB, free: 5.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.6054, allocations: 8.375 kB / 0.7343 GB, free: 5.492 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.6054, allocations: 8.359 kB / 0.7343 GB, free: 5.484 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.6057, allocations: 85.58 kB / 0.7344 GB, free: 5.395 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.6057, allocations: 0 / 0.7344 GB, free: 5.395 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.6057, allocations: 8 kB / 0.7344 GB, free: 5.387 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.6057, allocations: 0 / 0.7344 GB, free: 5.387 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.606, allocations: 79.95 kB / 0.7344 GB, free: 5.309 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005775/0.6066, allocations: 332.6 kB / 0.7348 GB, free: 4.934 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.6068, allocations: 94.55 kB / 0.7349 GB, free: 4.832 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.607, allocations: 44.84 kB / 0.7349 GB, free: 4.785 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.608, allocations: 0.753 MB / 0.7356 GB, free: 3.914 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.608, allocations: 38.5 kB / 0.7357 GB, free: 3.867 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.608, allocations: 0 / 0.7357 GB, free: 3.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004374/0.6085, allocations: 145.5 kB / 0.7358 GB, free: 3.719 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.6085, allocations: 63.39 kB / 0.7359 GB, free: 3.645 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.6086, allocations: 113.8 kB / 0.736 GB, free: 3.523 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.6087, allocations: 29.7 kB / 0.736 GB, free: 3.488 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.709e-05/0.6087, allocations: 92.03 kB / 0.7361 GB, free: 3.395 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.6088, allocations: 23.66 kB / 0.7361 GB, free: 3.371 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.6088, allocations: 17.72 kB / 0.7361 GB, free: 3.348 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.609, allocations: 314.8 kB / 0.7364 GB, free: 3.031 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.785e-05/0.6091, allocations: 35.98 kB / 0.7365 GB, free: 2.996 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.6092, allocations: 53.62 kB / 0.7365 GB, free: 2.938 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.6094, allocations: 89.69 kB / 0.7366 GB, free: 2.844 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6094, allocations: 0 / 0.7366 GB, free: 2.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002693/0.6097, allocations: 117.7 kB / 0.7367 GB, free: 2.723 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.6097, allocations: 8 kB / 0.7367 GB, free: 2.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.6097, allocations: 3.938 kB / 0.7367 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.6097, allocations: 7.969 kB / 0.7367 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.6099, allocations: 19.98 kB / 0.7368 GB, free: 2.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.6099, allocations: 4 kB / 0.7368 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.128e-05/0.61, allocations: 15.92 kB / 0.7368 GB, free: 2.664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.61, allocations: 4 kB / 0.7368 GB, free: 2.66 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 9.194e-05/0.6101, allocations: 113.8 kB / 0.7369 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.6101, allocations: 7.906 kB / 0.7369 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.6105, allocations: 134 kB / 0.737 GB, free: 2.391 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.6105, allocations: 7.922 kB / 0.737 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6105, allocations: 0 / 0.737 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.6105, allocations: 0 / 0.737 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.6107, allocations: 189.5 kB / 0.7372 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6107, allocations: 3.938 kB / 0.7372 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.6109, allocations: 23.98 kB / 0.7372 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.6109, allocations: 0 / 0.7372 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.6109, allocations: 3.938 kB / 0.7372 GB, free: 2.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.6109, allocations: 7.938 kB / 0.7372 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6109, allocations: 0 / 0.7372 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.6113, allocations: 212 kB / 0.7374 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.6114, allocations: 81.02 kB / 0.7375 GB, free: 1.789 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.6114, allocations: 4 kB / 0.7375 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.633e-05/0.6115, allocations: 11.94 kB / 0.7375 GB, free: 1.773 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.6116, allocations: 7.984 kB / 0.7375 GB, free: 1.766 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.6116, allocations: 0 / 0.7375 GB, free: 1.766 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.952e-05/0.6117, allocations: 99.64 kB / 0.7376 GB, free: 1.668 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6117, allocations: 0 / 0.7376 GB, free: 1.668 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002724/0.6119, allocations: 27.94 kB / 0.7377 GB, free: 1.641 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.0002286/0.6122, allocations: 119.2 kB / 0.7378 GB, free: 1.516 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002561/0.6124, allocations: 92.02 kB / 0.7379 GB, free: 1.426 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6124, allocations: 0 / 0.7379 GB, free: 1.426 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.6126, allocations: 43.92 kB / 0.7379 GB, free: 1.383 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.6129, allocations: 13.98 kB / 0.7379 GB, free: 1.371 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.6134, allocations: 264.2 kB / 0.7382 GB, free: 1.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.6138, allocations: 0.6848 MB / 0.7388 GB, free: 388 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.043e-05/0.6139, allocations: 15.92 kB / 0.7389 GB, free: 372 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.6139, allocations: 11.44 kB / 0.7389 GB, free: 360 kB / 0.545 GB Notification: Performance of SimCode: time 7.42e-07/0.614, allocations: 0 / 0.7389 GB, free: 360 kB / 0.545 GB Notification: Performance of Templates: time 0.0041/0.6181, allocations: 0.9304 MB / 0.7398 GB, free: 15.43 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: