Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009834/0.0009878, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.006864/0.006864, allocations: 172.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.3 MB / 240.3 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003649, allocations: 12.75 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3523, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002184/0.3546, allocations: 1.321 MB / 1.075 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003625/0.3582, allocations: 3.202 MB / 1.079 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.3583, allocations: 4 kB / 1.079 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/0.3583, allocations: 11.92 kB / 1.079 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.818e-05/0.3584, allocations: 3.938 kB / 1.079 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.3589, allocations: 111.6 kB / 1.079 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.359, allocations: 71.72 kB / 1.079 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3591, allocations: 16.17 kB / 1.079 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.3592, allocations: 35.84 kB / 1.079 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.3593, allocations: 35.84 kB / 1.079 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.3594, allocations: 0 / 1.079 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.3596, allocations: 99.78 kB / 1.079 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.3597, allocations: 15.91 kB / 1.079 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.944e-05/0.3597, allocations: 49.56 kB / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.36, allocations: 115.9 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.36, allocations: 4 kB / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.214e-06/0.36, allocations: 0 / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.36, allocations: 0 / 1.079 GB, free: 2.438 MB / 0.8262 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.000603/0.3606, allocations: 387.2 kB / 1.079 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3607, allocations: 8.031 kB / 1.079 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.3607, allocations: 12.84 kB / 1.079 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.3608, allocations: 184.2 kB / 1.08 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3609, allocations: 384 / 1.08 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.3609, allocations: 4.375 kB / 1.08 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.3611, allocations: 85.59 kB / 1.08 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3611, allocations: 0 / 1.08 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3611, allocations: 0 / 1.08 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3611, allocations: 4 kB / 1.08 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.3614, allocations: 83.94 kB / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.3618, allocations: 328.7 kB / 1.08 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.3621, allocations: 98.53 kB / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.3622, allocations: 48.84 kB / 1.08 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007694/0.363, allocations: 0.7487 MB / 1.081 GB, free: 204 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.363, allocations: 34.78 kB / 1.081 GB, free: 160 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.3631, allocations: 7.938 kB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.000408/0.3635, allocations: 145.6 kB / 1.081 GB, free: 0 / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.3635, allocations: 51.41 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.195e-05/0.3636, allocations: 125.8 kB / 1.081 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.3636, allocations: 29.7 kB / 1.081 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.3637, allocations: 104 kB / 1.082 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.3637, allocations: 23.55 kB / 1.082 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.3638, allocations: 17.72 kB / 1.082 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3639, allocations: 318.8 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-05/0.364, allocations: 31.98 kB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.3641, allocations: 57.62 kB / 1.082 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.3643, allocations: 81.69 kB / 1.082 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3643, allocations: 0 / 1.082 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002438/0.3646, allocations: 125.6 kB / 1.082 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3646, allocations: 4 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3646, allocations: 0 / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3646, allocations: 3.938 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.3648, allocations: 23.98 kB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3648, allocations: 4.031 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.418e-05/0.3648, allocations: 7.906 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.3649, allocations: 8 kB / 1.082 GB, free: 14.94 MB / 0.8419 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.259e-05/0.365, allocations: 121.8 kB / 1.082 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.365, allocations: 8.016 kB / 1.082 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/0.3653, allocations: 126 kB / 1.082 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3653, allocations: 3.938 kB / 1.082 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.3653, allocations: 4.188 kB / 1.082 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3653, allocations: 0 / 1.082 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.3655, allocations: 193.6 kB / 1.083 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3656, allocations: 0 / 1.083 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.3657, allocations: 19.98 kB / 1.083 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3657, allocations: 4 kB / 1.083 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.3657, allocations: 0 / 1.083 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3657, allocations: 3.938 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3657, allocations: 3.938 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.366, allocations: 215.9 kB / 1.083 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.3661, allocations: 88.95 kB / 1.083 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.3661, allocations: 3.984 kB / 1.083 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3662, allocations: 11.94 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.3663, allocations: 7.984 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.3663, allocations: 4 kB / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.652e-05/0.3663, allocations: 95.27 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3663, allocations: 0 / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002566/0.3666, allocations: 24 kB / 1.083 GB, free: 13.91 MB / 0.8419 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.0002106/0.3668, allocations: 115.2 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.3671, allocations: 83.97 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3671, allocations: 4.062 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.3672, allocations: 47.91 kB / 1.083 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.3675, allocations: 8 kB / 1.083 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.368, allocations: 256.3 kB / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.3682, allocations: 0.6887 MB / 1.084 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.076e-05/0.3683, allocations: 8 kB / 1.084 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.3683, allocations: 15.42 kB / 1.084 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3683, allocations: 3.938 kB / 1.084 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of Templates: time 0.003803/0.3721, allocations: 0.9252 MB / 1.085 GB, free: 11.72 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)