Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001455/0.001455, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 188.1 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.769/1.769, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 75.27 kB / 0.6723 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2443, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002841/0.2472, allocations: 1.598 MB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003329/0.2506, allocations: 3.258 MB / 0.7889 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.2506, allocations: 3.938 kB / 0.7889 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.249e-05/0.2507, allocations: 7.875 kB / 0.7889 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.689e-05/0.2508, allocations: 15.84 kB / 0.7889 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.2512, allocations: 119.5 kB / 0.789 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.2514, allocations: 75.83 kB / 0.7891 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.513e-05/0.2515, allocations: 20.09 kB / 0.7891 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.783e-05/0.2516, allocations: 39.84 kB / 0.7891 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.56e-05/0.2517, allocations: 35.84 kB / 0.7892 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.2517, allocations: 8 kB / 0.7892 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.252, allocations: 99.83 kB / 0.7893 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.252, allocations: 19.92 kB / 0.7893 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.569e-05/0.252, allocations: 31.8 kB / 0.7893 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.2523, allocations: 131.6 kB / 0.7895 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2523, allocations: 0 / 0.7895 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2523, allocations: 0 / 0.7895 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2523, allocations: 0 / 0.7895 GB, free: 7.246 MB / 0.6075 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.0005675/0.2529, allocations: 383.2 kB / 0.7898 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.2529, allocations: 12.03 kB / 0.7898 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.253, allocations: 8.844 kB / 0.7898 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.2531, allocations: 176.2 kB / 0.79 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.2531, allocations: 12.12 kB / 0.79 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.2531, allocations: 4 kB / 0.79 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.2533, allocations: 85.52 kB / 0.7901 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2534, allocations: 3.938 kB / 0.7901 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.2534, allocations: 4 kB / 0.7901 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2534, allocations: 0 / 0.7901 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.2536, allocations: 79.94 kB / 0.7902 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.2541, allocations: 316.7 kB / 0.7905 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.2543, allocations: 94.48 kB / 0.7906 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.2544, allocations: 44.83 kB / 0.7906 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007972/0.2552, allocations: 0.7527 MB / 0.7914 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.2553, allocations: 34.56 kB / 0.7914 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2553, allocations: 0 / 0.7914 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003923/0.2557, allocations: 141.7 kB / 0.7915 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.2557, allocations: 55.39 kB / 0.7916 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.697e-05/0.2558, allocations: 121.8 kB / 0.7917 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.2558, allocations: 25.7 kB / 0.7917 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/0.2559, allocations: 92.05 kB / 0.7918 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.2559, allocations: 27.64 kB / 0.7918 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.256, allocations: 21.7 kB / 0.7919 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.2561, allocations: 319 kB / 0.7922 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.244e-05/0.2562, allocations: 39.86 kB / 0.7922 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.167e-05/0.2563, allocations: 41.69 kB / 0.7922 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.2565, allocations: 81.61 kB / 0.7923 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2565, allocations: 4 kB / 0.7923 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002414/0.2567, allocations: 109.6 kB / 0.7924 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.2567, allocations: 7.938 kB / 0.7924 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2568, allocations: 4 kB / 0.7924 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2568, allocations: 0 / 0.7924 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.2569, allocations: 27.92 kB / 0.7925 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2569, allocations: 0 / 0.7925 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.789e-05/0.257, allocations: 7.984 kB / 0.7925 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.257, allocations: 4.031 kB / 0.7925 GB, free: 3.801 MB / 0.6075 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 7.615e-05/0.2571, allocations: 113.8 kB / 0.7926 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.2571, allocations: 11.84 kB / 0.7926 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.2574, allocations: 126.3 kB / 0.7927 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2575, allocations: 3.984 kB / 0.7927 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2575, allocations: 0 / 0.7927 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2575, allocations: 4 kB / 0.7927 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.2577, allocations: 193.5 kB / 0.7929 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.2577, allocations: 0 / 0.7929 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.2578, allocations: 19.98 kB / 0.7929 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2578, allocations: 3.938 kB / 0.7929 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.2578, allocations: 4 kB / 0.7929 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2578, allocations: 0 / 0.7929 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2578, allocations: 0 / 0.7929 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.2581, allocations: 207.4 kB / 0.7931 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.2581, allocations: 85.14 kB / 0.7932 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.2582, allocations: 7.922 kB / 0.7932 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.888e-05/0.2583, allocations: 11.94 kB / 0.7932 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.2583, allocations: 7.984 kB / 0.7932 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.2583, allocations: 0 / 0.7932 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.734e-05/0.2584, allocations: 99.2 kB / 0.7933 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2584, allocations: 0 / 0.7933 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002513/0.2586, allocations: 20 kB / 0.7933 GB, free: 2.797 MB / 0.6075 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.0001978/0.2588, allocations: 123.2 kB / 0.7935 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.2591, allocations: 75.89 kB / 0.7935 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2591, allocations: 0 / 0.7935 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.018e-05/0.2592, allocations: 39.98 kB / 0.7936 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.2595, allocations: 18.45 kB / 0.7936 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.2599, allocations: 213.9 kB / 0.7938 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.2601, allocations: 0.6947 MB / 0.7945 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.354e-05/0.2602, allocations: 4 kB / 0.7945 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.2602, allocations: 15.42 kB / 0.7945 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2602, allocations: 0 / 0.7945 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of Templates: time 0.003452/0.2637, allocations: 1.009 MB / 0.7955 GB, free: 0.5664 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)