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.001219/0.001219, allocations: 111.4 kB / 15.99 MB, free: 6.348 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.001167/0.001166, allocations: 194.3 kB / 16.91 MB, free: 6.188 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.485/1.485, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.663/1.663, allocations: 292.3 MB / 0.5492 GB, free: 13.65 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.001566/0.001566, allocations: 71.36 kB / 0.6717 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2273, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003573/0.2309, allocations: 1.664 MB / 0.7851 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004021/0.235, allocations: 3.226 MB / 0.7883 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.753e-05/0.2351, allocations: 0 / 0.7883 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.34e-05/0.2352, allocations: 7.938 kB / 0.7883 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.693e-05/0.2353, allocations: 11.91 kB / 0.7883 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005151/0.2358, allocations: 103.6 kB / 0.7884 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.2359, allocations: 79.75 kB / 0.7885 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.688e-05/0.236, allocations: 16.17 kB / 0.7885 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.2362, allocations: 43.78 kB / 0.7885 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.487e-05/0.2363, allocations: 35.89 kB / 0.7886 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.2363, allocations: 8 kB / 0.7886 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.2366, allocations: 103.7 kB / 0.7887 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.053e-05/0.2366, allocations: 11.98 kB / 0.7887 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.094e-05/0.2367, allocations: 39.78 kB / 0.7887 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.2369, allocations: 80.11 kB / 0.7888 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.971e-05/0.2369, allocations: 0 / 0.7888 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2369, allocations: 4 kB / 0.7888 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.353e-06/0.2369, allocations: 0 / 0.7888 GB, free: 8.449 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.0006065/0.2376, allocations: 391.2 kB / 0.7892 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.2376, allocations: 8.031 kB / 0.7892 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.2377, allocations: 12.84 kB / 0.7892 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.2378, allocations: 172.2 kB / 0.7894 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.2378, allocations: 12.12 kB / 0.7894 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.2378, allocations: 4 kB / 0.7894 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.2381, allocations: 89.52 kB / 0.7895 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.505e-06/0.2381, allocations: 0 / 0.7895 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.2381, allocations: 4 kB / 0.7895 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2381, allocations: 0 / 0.7895 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.2383, allocations: 79.88 kB / 0.7896 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.2389, allocations: 324.7 kB / 0.7899 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.2391, allocations: 94.48 kB / 0.79 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.802e-05/0.2392, allocations: 44.83 kB / 0.79 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008373/0.2401, allocations: 0.7527 MB / 0.7907 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.2401, allocations: 34.56 kB / 0.7908 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.2401, allocations: 0 / 0.7908 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003956/0.2405, allocations: 141.7 kB / 0.7909 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.2406, allocations: 55.41 kB / 0.791 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.991e-05/0.2407, allocations: 125.8 kB / 0.7911 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.2407, allocations: 25.7 kB / 0.7911 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.563e-05/0.2408, allocations: 92.16 kB / 0.7912 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.2408, allocations: 27.58 kB / 0.7912 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.2408, allocations: 21.72 kB / 0.7912 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.241, allocations: 318.8 kB / 0.7915 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.314e-05/0.2411, allocations: 31.98 kB / 0.7916 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.128e-05/0.2412, allocations: 45.69 kB / 0.7916 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.2414, allocations: 77.62 kB / 0.7917 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2414, allocations: 0 / 0.7917 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002525/0.2416, allocations: 117.5 kB / 0.7918 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2417, allocations: 7.938 kB / 0.7918 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.2417, allocations: 4 kB / 0.7918 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.2417, allocations: 0 / 0.7918 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.2418, allocations: 23.92 kB / 0.7918 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2419, allocations: 4 kB / 0.7918 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.159e-05/0.2419, allocations: 7.984 kB / 0.7918 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.2419, allocations: 0 / 0.7918 GB, free: 4.996 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.951e-05/0.242, allocations: 114.5 kB / 0.792 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.2421, allocations: 15.88 kB / 0.792 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.2424, allocations: 130.5 kB / 0.7921 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2424, allocations: 0 / 0.7921 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.2424, allocations: 3.984 kB / 0.7921 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.2424, allocations: 0 / 0.7921 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.2426, allocations: 185.5 kB / 0.7923 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2426, allocations: 0 / 0.7923 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.2427, allocations: 23.97 kB / 0.7923 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2427, allocations: 7.938 kB / 0.7923 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.2428, allocations: 4 kB / 0.7923 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.2428, allocations: 0 / 0.7923 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2428, allocations: 4 kB / 0.7923 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.243, allocations: 203.4 kB / 0.7925 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.2431, allocations: 92.95 kB / 0.7926 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.2431, allocations: 3.938 kB / 0.7926 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.82e-05/0.2432, allocations: 8 kB / 0.7926 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.2433, allocations: 11.92 kB / 0.7926 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.2433, allocations: 0 / 0.7926 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.319e-05/0.2434, allocations: 95.27 kB / 0.7927 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2434, allocations: 0 / 0.7927 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002598/0.2436, allocations: 20 kB / 0.7927 GB, free: 3.988 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.0002357/0.2439, allocations: 119.2 kB / 0.7928 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002504/0.2441, allocations: 79.89 kB / 0.7929 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2441, allocations: 0 / 0.7929 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.2442, allocations: 35.98 kB / 0.793 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.2446, allocations: 15 kB / 0.793 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005082/0.2451, allocations: 259.6 kB / 0.7932 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.2454, allocations: 0.6885 MB / 0.7939 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.2455, allocations: 19.42 kB / 0.7939 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2455, allocations: 0 / 0.7939 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of Templates: time 0.003108/0.2486, allocations: 1.255 MB / 0.7951 GB, free: 1.473 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)