Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001921/0.001921, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002123/0.002123, allocations: 195.6 kB / 16.14 MB, free: 6.66 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.453/1.453, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.873/2.873, allocations: 472.6 MB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 68.56 kB / 0.9114 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3425, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00288/0.3454, allocations: 1.664 MB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0035/0.3489, allocations: 3.241 MB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.519e-05/0.349, allocations: 3.938 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/0.349, allocations: 0 / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.154e-05/0.3491, allocations: 11.88 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.3496, allocations: 103.6 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.164e-05/0.3497, allocations: 71.72 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.466e-05/0.3498, allocations: 20.16 kB / 1.073 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.3499, allocations: 39.84 kB / 1.073 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.391e-05/0.35, allocations: 35.83 kB / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.35, allocations: 0 / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.3502, allocations: 103.8 kB / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.3503, allocations: 11.92 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.3503, allocations: 27.86 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.3506, allocations: 119.9 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3506, allocations: 0 / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3506, allocations: 0 / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.3506, allocations: 0 / 1.073 GB, free: 5.484 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.0005869/0.3512, allocations: 399.1 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3512, allocations: 8.031 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.3513, allocations: 8.844 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.3514, allocations: 184.1 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.3514, allocations: 4.375 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.3514, allocations: 8.375 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.3517, allocations: 77.59 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3517, allocations: 0 / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.3517, allocations: 0 / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3517, allocations: 3.984 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.3519, allocations: 75.95 kB / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.3524, allocations: 336.5 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.3526, allocations: 86.55 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.877e-05/0.3527, allocations: 48.84 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007841/0.3535, allocations: 0.7568 MB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.3535, allocations: 34.56 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.3536, allocations: 0 / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0003989/0.354, allocations: 141.5 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.354, allocations: 51.41 kB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/0.3541, allocations: 117.8 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.3541, allocations: 29.7 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.3542, allocations: 95.98 kB / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.3542, allocations: 31.64 kB / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.3542, allocations: 17.72 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3544, allocations: 322.8 kB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.655e-05/0.3544, allocations: 31.92 kB / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.883e-05/0.3545, allocations: 41.69 kB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.3547, allocations: 77.69 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3547, allocations: 0 / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000224/0.355, allocations: 117.5 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.355, allocations: 4 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.355, allocations: 4 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.355, allocations: 3.938 kB / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.3551, allocations: 20.17 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3552, allocations: 4.031 kB / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.035e-05/0.3552, allocations: 7.938 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3553, allocations: 8 kB / 1.076 GB, free: 2.023 MB / 0.8262 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.228e-05/0.3553, allocations: 121.9 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.3554, allocations: 11.84 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/0.3557, allocations: 118.4 kB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3557, allocations: 3.938 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3557, allocations: 3.984 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3557, allocations: 0 / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.3559, allocations: 197.5 kB / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3559, allocations: 0 / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.356, allocations: 23.92 kB / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.356, allocations: 0 / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.356, allocations: 0 / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3561, allocations: 3.938 kB / 1.076 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3561, allocations: 4.078 kB / 1.076 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.3563, allocations: 199.5 kB / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.3564, allocations: 88.95 kB / 1.077 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.3564, allocations: 3.984 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-05/0.3565, allocations: 7.938 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.3565, allocations: 7.984 kB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.3566, allocations: 4 kB / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.362e-05/0.3566, allocations: 99.27 kB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3566, allocations: 0 / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002543/0.3569, allocations: 16 kB / 1.077 GB, free: 1.023 MB / 0.8262 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.0002042/0.3571, allocations: 119.2 kB / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.3573, allocations: 80 kB / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3573, allocations: 0 / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.3575, allocations: 39.92 kB / 1.077 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.3578, allocations: 8 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.3583, allocations: 245.4 kB / 1.077 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.3587, allocations: 0.6932 MB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.492e-05/0.3587, allocations: 4 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.3588, allocations: 11.44 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.3588, allocations: 0 / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of Templates: time 0.003364/0.3621, allocations: 0.954 MB / 1.079 GB, free: 14.83 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)