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.001958/0.001958, 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.002083/0.002083, allocations: 192 kB / 16.25 MB, free: 6.633 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.948/2.948, allocations: 472.6 MB / 0.7448 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 66.14 kB / 0.9115 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3333, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.004752/0.3381, allocations: 1.669 MB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004535/0.3427, allocations: 3.225 MB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.862e-05/0.3428, allocations: 0 / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.743e-05/0.3429, allocations: 4 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.343, allocations: 19.84 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006003/0.3436, allocations: 107.6 kB / 1.073 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.3438, allocations: 83.69 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.91e-05/0.3439, allocations: 8.188 kB / 1.073 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.344, allocations: 35.91 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.3442, allocations: 43.83 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.3442, allocations: 8 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000339/0.3445, allocations: 99.78 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.3446, allocations: 15.92 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.336e-05/0.3446, allocations: 31.84 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.3449, allocations: 123.9 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.345, allocations: 0 / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.453e-06/0.345, allocations: 3.938 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.082e-05/0.345, allocations: 0 / 1.073 GB, free: 5.355 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.0006823/0.3457, allocations: 395.2 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3457, allocations: 12.03 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.3458, allocations: 4.844 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.3459, allocations: 180.2 kB / 1.074 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.346, allocations: 8.375 kB / 1.074 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.346, allocations: 4.375 kB / 1.074 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.3462, allocations: 81.58 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3463, allocations: 4 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.3463, allocations: 4 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3463, allocations: 3.938 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.3465, allocations: 75.94 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.3471, allocations: 320.6 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.3474, allocations: 94.55 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.3475, allocations: 48.95 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009819/0.3485, allocations: 0.7527 MB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.3485, allocations: 34.56 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.3485, allocations: 0 / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004545/0.349, allocations: 137.5 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.3491, allocations: 55.44 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.3492, allocations: 125.8 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3492, allocations: 25.7 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.3493, allocations: 95.98 kB / 1.075 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.3494, allocations: 31.62 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.3494, allocations: 17.72 kB / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3496, allocations: 322.8 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.419e-05/0.3497, allocations: 27.98 kB / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.3498, allocations: 45.69 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.35, allocations: 77.62 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.35, allocations: 0 / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002581/0.3503, allocations: 109.6 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3503, allocations: 4 kB / 1.076 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3503, allocations: 8.219 kB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.3503, allocations: 3.938 kB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.3505, allocations: 27.86 kB / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.3505, allocations: 0 / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.884e-05/0.3506, allocations: 8 kB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.3506, allocations: 7.984 kB / 1.076 GB, free: 1.898 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 9.937e-05/0.3507, allocations: 110 kB / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.3508, allocations: 11.84 kB / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003285/0.3511, allocations: 122 kB / 1.076 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3511, allocations: 3.938 kB / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3511, allocations: 0 / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3511, allocations: 3.984 kB / 1.076 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.3514, allocations: 193.5 kB / 1.076 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3514, allocations: 0 / 1.076 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.3515, allocations: 19.98 kB / 1.077 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.3515, allocations: 4 kB / 1.077 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3515, allocations: 0 / 1.077 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3515, allocations: 3.938 kB / 1.077 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3515, allocations: 0 / 1.077 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.3518, allocations: 200 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.3519, allocations: 88.94 kB / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.3519, allocations: 0 / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.87e-05/0.352, allocations: 19.86 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.3521, allocations: 11.98 kB / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.3521, allocations: 0 / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.388e-05/0.3522, allocations: 95.7 kB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3522, allocations: 0 / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002696/0.3525, allocations: 20 kB / 1.077 GB, free: 0.9062 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.0002696/0.3528, allocations: 123.2 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002796/0.353, allocations: 83.95 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3531, allocations: 0 / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.669e-05/0.3532, allocations: 35.98 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.3535, allocations: 20.25 kB / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.354, allocations: 245.9 kB / 1.077 GB, free: 384 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.3544, allocations: 0.6885 MB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.208e-05/0.3544, allocations: 8 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.3545, allocations: 15.42 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.3545, allocations: 0 / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of Templates: time 0.004137/0.3586, allocations: 0.9673 MB / 1.079 GB, free: 14.68 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)