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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.4/1.4, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 181.9 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205 MB / 0.5766 GB, free: 21.04 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009293/0.0009294, allocations: 89.77 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.000305, allocations: 10.94 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.194, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001759/0.1958, allocations: 1.324 MB / 0.898 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003391/0.1992, allocations: 3.259 MB / 0.9012 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.805e-05/0.1993, allocations: 0 / 0.9012 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.046e-05/0.1994, allocations: 3.984 kB / 0.9012 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.9e-05/0.1995, allocations: 15.88 kB / 0.9012 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.2, allocations: 103.6 kB / 0.9013 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.2001, allocations: 75.72 kB / 0.9014 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.76e-05/0.2002, allocations: 24.05 kB / 0.9014 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.2003, allocations: 35.91 kB / 0.9015 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.339e-05/0.2004, allocations: 31.84 kB / 0.9015 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.2004, allocations: 0 / 0.9015 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.2007, allocations: 95.78 kB / 0.9016 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.2008, allocations: 15.97 kB / 0.9016 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.2008, allocations: 31.8 kB / 0.9016 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.201, allocations: 71.88 kB / 0.9017 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.201, allocations: 4 kB / 0.9017 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.201, allocations: 0 / 0.9017 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.201, allocations: 4 kB / 0.9017 GB, free: 63.03 MB / 0.6042 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.0004954/0.2015, allocations: 375.4 kB / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2016, allocations: 12.03 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.2016, allocations: 4.844 kB / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.337e-05/0.2017, allocations: 188.1 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.2018, allocations: 4.375 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.2018, allocations: 8.375 kB / 0.9023 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.202, allocations: 85.59 kB / 0.9024 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.202, allocations: 0 / 0.9024 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.202, allocations: 0 / 0.9024 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.202, allocations: 0 / 0.9024 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.2022, allocations: 91.88 kB / 0.9024 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.2027, allocations: 320.7 kB / 0.9028 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.2029, allocations: 94.53 kB / 0.9028 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.955e-05/0.203, allocations: 48.84 kB / 0.9029 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006052/0.2036, allocations: 0.7567 MB / 0.9036 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.2036, allocations: 42.55 kB / 0.9037 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.2036, allocations: 0 / 0.9037 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0003719/0.204, allocations: 145.5 kB / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.204, allocations: 55.41 kB / 0.9039 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.86e-05/0.2041, allocations: 113.8 kB / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.2041, allocations: 25.7 kB / 0.904 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.2042, allocations: 96.05 kB / 0.9041 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.2042, allocations: 27.64 kB / 0.9041 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.2042, allocations: 13.72 kB / 0.9041 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.802e-05/0.2043, allocations: 322.8 kB / 0.9044 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.2044, allocations: 36.02 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-05/0.2045, allocations: 57.62 kB / 0.9045 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.2046, allocations: 85.67 kB / 0.9046 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2046, allocations: 0 / 0.9046 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002098/0.2048, allocations: 125.8 kB / 0.9047 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2049, allocations: 8 kB / 0.9047 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2049, allocations: 0 / 0.9047 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2049, allocations: 3.938 kB / 0.9047 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.205, allocations: 23.98 kB / 0.9048 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2051, allocations: 0 / 0.9048 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.228e-05/0.2051, allocations: 12.03 kB / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.2052, allocations: 7.984 kB / 0.9048 GB, free: 59.54 MB / 0.6042 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 5.625e-05/0.2052, allocations: 117.8 kB / 0.9049 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.2053, allocations: 7.906 kB / 0.9049 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.2055, allocations: 126 kB / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2055, allocations: 3.938 kB / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2055, allocations: 0 / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.2055, allocations: 0 / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.2057, allocations: 201.5 kB / 0.9052 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2057, allocations: 3.938 kB / 0.9052 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.2058, allocations: 23.92 kB / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.2058, allocations: 0 / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.2058, allocations: 0 / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.2058, allocations: 7.938 kB / 0.9052 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2058, allocations: 4 kB / 0.9053 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.2061, allocations: 203.5 kB / 0.9054 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.2061, allocations: 85 kB / 0.9055 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.2061, allocations: 8 kB / 0.9055 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.234e-05/0.2062, allocations: 7.938 kB / 0.9055 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.2063, allocations: 8.172 kB / 0.9056 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.2063, allocations: 0 / 0.9056 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.362e-05/0.2063, allocations: 103.6 kB / 0.9056 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2063, allocations: 0 / 0.9056 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002383/0.2066, allocations: 24 kB / 0.9057 GB, free: 58.52 MB / 0.6042 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.0001842/0.2068, allocations: 131.1 kB / 0.9058 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.207, allocations: 79.95 kB / 0.9059 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.207, allocations: 0 / 0.9059 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.876e-05/0.2071, allocations: 47.98 kB / 0.9059 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.2074, allocations: 5.312 kB / 0.9059 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.2078, allocations: 271 kB / 0.9062 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.2079, allocations: 0.6887 MB / 0.9069 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.2079, allocations: 11.44 kB / 0.9069 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2079, allocations: 0 / 0.9069 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.002424/0.2103, allocations: 1.25 MB / 0.9081 GB, free: 55.99 MB / 0.6042 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)