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.001106/0.001105, allocations: 106.6 kB / 16.36 MB, free: 6.297 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.001083/0.001084, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.417/1.417, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.744/1.744, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.002697/0.002697, allocations: 79.81 kB / 0.6729 GB, free: 5.777 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2445, allocations: 114.6 MB / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002869/0.2474, allocations: 1.606 MB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3756/0.623, allocations: 3.249 MB / 0.7895 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.909e-05/0.6231, allocations: 4.719 kB / 0.7895 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.203e-05/0.6233, allocations: 9.516 kB / 0.7895 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.972e-05/0.6234, allocations: 12.62 kB / 0.7896 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005532/0.6239, allocations: 113.8 kB / 0.7897 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.624, allocations: 85 kB / 0.7897 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.6242, allocations: 15.14 kB / 0.7898 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.6243, allocations: 36.67 kB / 0.7898 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.441e-05/0.6244, allocations: 35.08 kB / 0.7898 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.6244, allocations: 6.469 kB / 0.7898 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003079/0.6247, allocations: 111.1 kB / 0.7899 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.6248, allocations: 15.27 kB / 0.79 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.6248, allocations: 32.2 kB / 0.79 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.625, allocations: 119.7 kB / 0.7901 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6251, allocations: 0 / 0.7901 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.086e-06/0.6251, allocations: 0 / 0.7901 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.6251, allocations: 4.562 kB / 0.7901 GB, free: 46.47 MB / 0.6544 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.0004925/0.6256, allocations: 390.1 kB / 0.7905 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.6256, allocations: 10.5 kB / 0.7905 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.6257, allocations: 7.469 kB / 0.7905 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.666e-05/0.6258, allocations: 174.2 kB / 0.7907 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.6258, allocations: 5.625 kB / 0.7907 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.6258, allocations: 6.562 kB / 0.7907 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.626, allocations: 80.08 kB / 0.7907 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.626, allocations: 4.969 kB / 0.7907 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.626, allocations: 1.844 kB / 0.7908 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.626, allocations: 0 / 0.7908 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.6262, allocations: 75.48 kB / 0.7908 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.6266, allocations: 337.5 kB / 0.7911 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.6268, allocations: 97.38 kB / 0.7912 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.527e-05/0.6269, allocations: 41.11 kB / 0.7913 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000593/0.6275, allocations: 0.7574 MB / 0.792 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.6276, allocations: 34.81 kB / 0.7921 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.6276, allocations: 0 / 0.7921 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0003749/0.6279, allocations: 144.1 kB / 0.7922 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.628, allocations: 54 kB / 0.7922 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.972e-05/0.6281, allocations: 116.7 kB / 0.7924 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.6281, allocations: 26.45 kB / 0.7924 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.6281, allocations: 97.66 kB / 0.7925 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.6281, allocations: 24.55 kB / 0.7925 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.6282, allocations: 20.47 kB / 0.7925 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.706e-05/0.6282, allocations: 322.5 kB / 0.7928 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.783e-05/0.6283, allocations: 29.28 kB / 0.7928 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.368e-05/0.6284, allocations: 46.23 kB / 0.7929 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.6286, allocations: 80.36 kB / 0.793 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6286, allocations: 2.625 kB / 0.793 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001984/0.6288, allocations: 114.1 kB / 0.7931 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.6288, allocations: 7.875 kB / 0.7931 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6288, allocations: 3.938 kB / 0.7931 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.6288, allocations: 0 / 0.7931 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.629, allocations: 19.36 kB / 0.7931 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.629, allocations: 2.391 kB / 0.7931 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.749e-05/0.629, allocations: 19.06 kB / 0.7931 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.6291, allocations: 1.922 kB / 0.7931 GB, free: 44.02 MB / 0.6544 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.578e-05/0.6291, allocations: 121.9 kB / 0.7932 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.6292, allocations: 2.812 kB / 0.7933 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.6294, allocations: 130.2 kB / 0.7934 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.6294, allocations: 0 / 0.7934 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6294, allocations: 0 / 0.7934 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.6295, allocations: 3.125 kB / 0.7934 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.6296, allocations: 193.7 kB / 0.7936 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6296, allocations: 0.6875 kB / 0.7936 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.786e-05/0.6297, allocations: 20.62 kB / 0.7936 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.6297, allocations: 3.469 kB / 0.7936 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.6297, allocations: 7.453 kB / 0.7936 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.6297, allocations: 4.031 kB / 0.7936 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6297, allocations: 1.062 kB / 0.7936 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.63, allocations: 199 kB / 0.7938 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.63, allocations: 83.73 kB / 0.7939 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.63, allocations: 3.938 kB / 0.7939 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.058e-05/0.6301, allocations: 8.109 kB / 0.7939 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.6302, allocations: 5.25 kB / 0.7939 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.6302, allocations: 6.781 kB / 0.7939 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.223e-05/0.6302, allocations: 91.61 kB / 0.794 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6302, allocations: 0 / 0.794 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002431/0.6305, allocations: 27.17 kB / 0.794 GB, free: 43.35 MB / 0.6544 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.0001785/0.6306, allocations: 117.8 kB / 0.7941 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.6309, allocations: 76.34 kB / 0.7942 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6309, allocations: 3.938 kB / 0.7942 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.656e-05/0.631, allocations: 47.11 kB / 0.7942 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.6312, allocations: 6.25 kB / 0.7942 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.6316, allocations: 248.4 kB / 0.7945 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.6317, allocations: 0.6893 MB / 0.7952 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.6318, allocations: 17.44 kB / 0.7952 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.6318, allocations: 0 / 0.7952 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of Templates: time 0.002408/0.6342, allocations: 1.256 MB / 0.7964 GB, free: 42.3 MB / 0.6544 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)