Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.806/3.806, allocations: 251.1 MB / 266.7 MB, free: 11.54 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.001429/0.001428, allocations: 179.6 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.681/2.681, allocations: 205.4 MB / 0.5772 GB, free: 20.82 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.0009986/0.0009987, allocations: 89.55 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.0004711, allocations: 18.47 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2134, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.255/1.469, allocations: 353.4 MB / 1.245 GB, free: 28 kB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004311/1.469, allocations: 93 kB / 1.245 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.04657/1.516, allocations: 12.35 MB / 1.257 GB, free: 6.254 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.064e-06/1.516, allocations: 0 / 1.257 GB, free: 6.254 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.515e-06/1.516, allocations: 0 / 1.257 GB, free: 6.254 MB / 0.7605 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.0006806/1.516, allocations: 386.7 kB / 1.257 GB, free: 5.828 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/1.517, allocations: 12.03 kB / 1.257 GB, free: 5.816 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/1.517, allocations: 12.59 kB / 1.257 GB, free: 5.809 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/1.517, allocations: 168.3 kB / 1.257 GB, free: 5.605 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/1.517, allocations: 384 / 1.257 GB, free: 5.605 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/1.517, allocations: 4.375 kB / 1.257 GB, free: 5.602 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/1.517, allocations: 83.89 kB / 1.257 GB, free: 5.527 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/1.517, allocations: 4.125 kB / 1.257 GB, free: 5.523 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/1.517, allocations: 7.5 kB / 1.257 GB, free: 5.52 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/1.517, allocations: 8 kB / 1.257 GB, free: 5.512 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000339/1.518, allocations: 78.33 kB / 1.257 GB, free: 5.449 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007183/1.518, allocations: 324.4 kB / 1.258 GB, free: 5.117 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/1.519, allocations: 103.2 kB / 1.258 GB, free: 5.031 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/1.519, allocations: 43.59 kB / 1.258 GB, free: 4.996 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/1.52, allocations: 0.7459 MB / 1.259 GB, free: 4.16 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/1.52, allocations: 42.06 kB / 1.259 GB, free: 4.113 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 3.136e-06/1.52, allocations: 0 / 1.259 GB, free: 4.113 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.0006743/1.521, allocations: 140.1 kB / 1.259 GB, free: 3.996 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/1.521, allocations: 63.34 kB / 1.259 GB, free: 3.922 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/1.521, allocations: 117.2 kB / 1.259 GB, free: 3.805 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/1.521, allocations: 25.7 kB / 1.259 GB, free: 3.773 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/1.521, allocations: 99.91 kB / 1.259 GB, free: 3.676 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/1.521, allocations: 27.19 kB / 1.259 GB, free: 3.652 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/1.521, allocations: 0 / 1.259 GB, free: 3.652 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.521, allocations: 318.3 kB / 1.259 GB, free: 3.336 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/1.521, allocations: 35.3 kB / 1.259 GB, free: 3.309 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/1.522, allocations: 52.25 kB / 1.26 GB, free: 3.262 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/1.522, allocations: 35.09 kB / 1.26 GB, free: 3.238 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.522, allocations: 3.938 kB / 1.26 GB, free: 3.234 MB / 0.7605 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004396/1.522, allocations: 123.8 kB / 1.26 GB, free: 3.125 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.522, allocations: 4 kB / 1.26 GB, free: 3.121 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/1.522, allocations: 7.938 kB / 1.26 GB, free: 3.113 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/1.522, allocations: 0 / 1.26 GB, free: 3.113 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/1.523, allocations: 23.98 kB / 1.26 GB, free: 3.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/1.523, allocations: 0 / 1.26 GB, free: 3.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/1.523, allocations: 19.5 kB / 1.26 GB, free: 3.074 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/1.523, allocations: 4 kB / 1.26 GB, free: 3.07 MB / 0.7605 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001314/1.523, allocations: 121.3 kB / 1.26 GB, free: 2.945 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/1.523, allocations: 7.906 kB / 1.26 GB, free: 2.938 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005091/1.524, allocations: 127.2 kB / 1.26 GB, free: 2.836 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/1.524, allocations: 0 / 1.26 GB, free: 2.836 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/1.524, allocations: 0 / 1.26 GB, free: 2.836 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/1.524, allocations: 7.938 kB / 1.26 GB, free: 2.828 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/1.524, allocations: 188 kB / 1.26 GB, free: 2.609 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.524, allocations: 4 kB / 1.26 GB, free: 2.605 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/1.524, allocations: 19.92 kB / 1.26 GB, free: 2.586 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/1.524, allocations: 4 kB / 1.26 GB, free: 2.582 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/1.524, allocations: 7.938 kB / 1.26 GB, free: 2.578 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.524, allocations: 0 / 1.26 GB, free: 2.578 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.524, allocations: 480 / 1.26 GB, free: 2.578 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/1.525, allocations: 209.5 kB / 1.26 GB, free: 2.375 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/1.525, allocations: 96.45 kB / 1.26 GB, free: 2.266 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/1.525, allocations: 3.984 kB / 1.26 GB, free: 2.262 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/1.525, allocations: 4 kB / 1.26 GB, free: 2.258 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/1.525, allocations: 11.92 kB / 1.26 GB, free: 2.246 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/1.525, allocations: 0 / 1.26 GB, free: 2.246 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.492e-05/1.525, allocations: 98.64 kB / 1.261 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4e-07/1.525, allocations: 3.938 kB / 1.261 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003558/1.526, allocations: 23.81 kB / 1.261 GB, free: 2.133 MB / 0.7605 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003531/1.526, allocations: 131.2 kB / 1.261 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004162/1.526, allocations: 85.52 kB / 1.261 GB, free: 1.926 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.526, allocations: 0 / 1.261 GB, free: 1.926 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/1.527, allocations: 46.3 kB / 1.261 GB, free: 1.891 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/1.527, allocations: 17.42 kB / 1.261 GB, free: 1.879 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000608/1.528, allocations: 248.8 kB / 1.261 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/1.528, allocations: 0.6926 MB / 1.262 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001144/1.528, allocations: 4 kB / 1.262 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/1.528, allocations: 7.438 kB / 1.262 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of SimCode: time 1.312e-06/1.528, allocations: 4 kB / 1.262 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of Templates: time 0.005747/1.534, allocations: 1.196 MB / 1.263 GB, free: 15.71 MB / 0.7761 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)