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.001358/0.001358, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00171/0.00171, allocations: 194.3 kB / 16.25 MB, free: 6.625 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.554/1.554, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.603/1.603, allocations: 251.6 MB / 0.5089 GB, free: 3.32 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.001384/0.001384, allocations: 67.91 kB / 0.6218 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5573/0.5587, allocations: 104.7 MB / 0.724 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002869/0.5616, allocations: 1.659 MB / 0.7256 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003546/0.5652, allocations: 3.257 MB / 0.7288 GB, free: 8.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.03e-05/0.5653, allocations: 0 / 0.7288 GB, free: 8.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.881e-05/0.5654, allocations: 3.984 kB / 0.7288 GB, free: 8.176 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.036e-05/0.5654, allocations: 7.875 kB / 0.7288 GB, free: 8.168 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.5659, allocations: 115.6 kB / 0.7289 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.566, allocations: 75.72 kB / 0.729 GB, free: 7.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.945e-05/0.5661, allocations: 20.16 kB / 0.729 GB, free: 7.961 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.513e-05/0.5662, allocations: 31.86 kB / 0.729 GB, free: 7.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.342e-05/0.5663, allocations: 35.84 kB / 0.7291 GB, free: 7.895 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.5664, allocations: 12 kB / 0.7291 GB, free: 7.883 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002508/0.5666, allocations: 107.8 kB / 0.7292 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.5666, allocations: 19.92 kB / 0.7292 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.5667, allocations: 27.86 kB / 0.7292 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.5669, allocations: 121.6 kB / 0.7293 GB, free: 7.613 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5669, allocations: 4 kB / 0.7293 GB, free: 7.609 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5669, allocations: 3.938 kB / 0.7293 GB, free: 7.605 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.5669, allocations: 0 / 0.7293 GB, free: 7.605 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.0005676/0.5675, allocations: 387.2 kB / 0.7297 GB, free: 7.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.5676, allocations: 15.97 kB / 0.7297 GB, free: 7.164 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.5676, allocations: 8.844 kB / 0.7297 GB, free: 7.156 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.5677, allocations: 168.3 kB / 0.7299 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.5677, allocations: 8.359 kB / 0.7299 GB, free: 6.945 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.5678, allocations: 4.375 kB / 0.7299 GB, free: 6.941 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.568, allocations: 77.59 kB / 0.73 GB, free: 6.859 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.568, allocations: 0 / 0.73 GB, free: 6.859 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.568, allocations: 8 kB / 0.73 GB, free: 6.852 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.568, allocations: 4 kB / 0.73 GB, free: 6.848 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.5683, allocations: 75.88 kB / 0.7301 GB, free: 6.773 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.5688, allocations: 320.7 kB / 0.7304 GB, free: 6.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.569, allocations: 98.53 kB / 0.7305 GB, free: 6.305 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.567e-05/0.5691, allocations: 44.84 kB / 0.7305 GB, free: 6.258 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007751/0.5699, allocations: 0.7645 MB / 0.7313 GB, free: 5.375 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.5699, allocations: 34.56 kB / 0.7313 GB, free: 5.332 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.5699, allocations: 0 / 0.7313 GB, free: 5.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003721/0.5703, allocations: 133.6 kB / 0.7314 GB, free: 5.195 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.5704, allocations: 55.41 kB / 0.7315 GB, free: 5.129 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.966e-05/0.5705, allocations: 113.8 kB / 0.7316 GB, free: 5.008 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.5705, allocations: 25.7 kB / 0.7316 GB, free: 4.977 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.5706, allocations: 100 kB / 0.7317 GB, free: 4.875 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.5706, allocations: 27.66 kB / 0.7317 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.5706, allocations: 25.64 kB / 0.7318 GB, free: 4.816 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5708, allocations: 318.8 kB / 0.7321 GB, free: 4.496 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.503e-05/0.5708, allocations: 31.97 kB / 0.7321 GB, free: 4.465 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.704e-05/0.5709, allocations: 41.7 kB / 0.7321 GB, free: 4.418 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.5711, allocations: 81.98 kB / 0.7322 GB, free: 4.332 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5711, allocations: 0 / 0.7322 GB, free: 4.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002201/0.5714, allocations: 109.6 kB / 0.7323 GB, free: 4.219 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5714, allocations: 8 kB / 0.7323 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.5714, allocations: 192 / 0.7323 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5714, allocations: 3.938 kB / 0.7323 GB, free: 4.207 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.5716, allocations: 31.95 kB / 0.7324 GB, free: 4.176 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.5716, allocations: 3.938 kB / 0.7324 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.609e-05/0.5717, allocations: 19.83 kB / 0.7324 GB, free: 4.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.5717, allocations: 4 kB / 0.7324 GB, free: 4.148 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.156e-05/0.5718, allocations: 113.8 kB / 0.7325 GB, free: 4.027 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.5718, allocations: 3.906 kB / 0.7325 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.5721, allocations: 126 kB / 0.7326 GB, free: 3.891 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.5721, allocations: 3.938 kB / 0.7326 GB, free: 3.887 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5721, allocations: 4 kB / 0.7326 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5722, allocations: 3.938 kB / 0.7326 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.5724, allocations: 185.6 kB / 0.7328 GB, free: 3.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5724, allocations: 0 / 0.7328 GB, free: 3.648 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.5725, allocations: 19.92 kB / 0.7328 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.5725, allocations: 0 / 0.7328 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.5725, allocations: 7.984 kB / 0.7328 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5725, allocations: 7.938 kB / 0.7328 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5726, allocations: 4 kB / 0.7328 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.5728, allocations: 195.4 kB / 0.733 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.829e-05/0.5728, allocations: 81.02 kB / 0.7331 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.5729, allocations: 4 kB / 0.7331 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.645e-05/0.573, allocations: 11.92 kB / 0.7331 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.573, allocations: 8 kB / 0.7331 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.573, allocations: 4 kB / 0.7331 GB, free: 3.277 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.931e-05/0.5731, allocations: 91.27 kB / 0.7332 GB, free: 3.188 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5731, allocations: 3.938 kB / 0.7332 GB, free: 3.184 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002525/0.5734, allocations: 27.94 kB / 0.7332 GB, free: 3.156 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.0002908/0.5737, allocations: 111.2 kB / 0.7334 GB, free: 3.039 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.5739, allocations: 91.88 kB / 0.7334 GB, free: 2.949 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5739, allocations: 0 / 0.7334 GB, free: 2.949 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.39e-05/0.574, allocations: 39.97 kB / 0.7335 GB, free: 2.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.5744, allocations: 7.938 kB / 0.7335 GB, free: 2.902 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.5748, allocations: 238 kB / 0.7337 GB, free: 2.645 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.5751, allocations: 0.6846 MB / 0.7344 GB, free: 1.934 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.891e-05/0.5752, allocations: 16.52 kB / 0.7344 GB, free: 1.918 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.5752, allocations: 11.44 kB / 0.7344 GB, free: 1.906 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.5752, allocations: 3.938 kB / 0.7344 GB, free: 1.902 MB / 0.545 GB Notification: Performance of Templates: time 0.003377/0.5786, allocations: 0.9787 MB / 0.7354 GB, free: 0.9375 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)