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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 108 kB / 15.6 MB, free: 132 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.001215/0.001215, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.15/1.15, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.528/1.528, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001284/0.001284, allocations: 73.06 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1694, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002461/0.1719, allocations: 1.61 MB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003076/0.175, allocations: 3.258 MB / 0.7882 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.1751, allocations: 7.875 kB / 0.7882 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.1751, allocations: 3.938 kB / 0.7882 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.583e-05/0.1752, allocations: 11.86 kB / 0.7883 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.1755, allocations: 119.5 kB / 0.7884 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.271e-05/0.1756, allocations: 71.78 kB / 0.7884 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.177e-05/0.1757, allocations: 20.14 kB / 0.7885 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.02e-05/0.1758, allocations: 43.8 kB / 0.7885 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.251e-05/0.1759, allocations: 31.91 kB / 0.7885 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1759, allocations: 8 kB / 0.7885 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.1761, allocations: 107.8 kB / 0.7886 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.1762, allocations: 15.92 kB / 0.7887 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.1762, allocations: 31.8 kB / 0.7887 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.1764, allocations: 123.9 kB / 0.7888 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.185e-06/0.1764, allocations: 0 / 0.7888 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1764, allocations: 0 / 0.7888 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.1764, allocations: 0 / 0.7888 GB, free: 7.871 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.0004746/0.1769, allocations: 387.2 kB / 0.7892 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.177, allocations: 16.03 kB / 0.7892 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.177, allocations: 38.73 kB / 0.7892 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.177, allocations: 8.844 kB / 0.7892 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.1771, allocations: 176.2 kB / 0.7894 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1772, allocations: 7.938 kB / 0.7894 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.1772, allocations: 4 kB / 0.7894 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.1774, allocations: 81.58 kB / 0.7895 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1774, allocations: 0 / 0.7895 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1774, allocations: 4 kB / 0.7895 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1774, allocations: 4 kB / 0.7895 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.1776, allocations: 75.89 kB / 0.7896 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.178, allocations: 320.7 kB / 0.7899 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.1782, allocations: 102.4 kB / 0.79 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.731e-05/0.1783, allocations: 44.84 kB / 0.79 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006996/0.179, allocations: 0.7526 MB / 0.7908 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.1791, allocations: 38.5 kB / 0.7908 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1791, allocations: 4 kB / 0.7908 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003497/0.1794, allocations: 133.8 kB / 0.7909 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.1795, allocations: 55.41 kB / 0.791 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.508e-05/0.1795, allocations: 121.8 kB / 0.7911 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.1796, allocations: 29.7 kB / 0.7911 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.1796, allocations: 88.05 kB / 0.7912 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.1796, allocations: 31.64 kB / 0.7912 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.1797, allocations: 21.72 kB / 0.7913 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.435e-05/0.1798, allocations: 318.8 kB / 0.7916 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.047e-05/0.1798, allocations: 27.98 kB / 0.7916 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.39e-05/0.1799, allocations: 45.69 kB / 0.7916 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.1801, allocations: 85.61 kB / 0.7917 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1801, allocations: 0 / 0.7917 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002208/0.1803, allocations: 113.6 kB / 0.7918 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1804, allocations: 11.88 kB / 0.7918 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1804, allocations: 0 / 0.7918 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.1804, allocations: 0 / 0.7918 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1805, allocations: 19.98 kB / 0.7918 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1805, allocations: 4.031 kB / 0.7919 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.744e-05/0.1806, allocations: 8 kB / 0.7919 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1806, allocations: 7.984 kB / 0.7919 GB, free: 4.371 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 6.39e-05/0.1807, allocations: 113.8 kB / 0.792 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.1807, allocations: 11.84 kB / 0.792 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.181, allocations: 122.1 kB / 0.7921 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.181, allocations: 4 kB / 0.7921 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.181, allocations: 0 / 0.7921 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.181, allocations: 0 / 0.7921 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.1812, allocations: 201.5 kB / 0.7923 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1812, allocations: 4 kB / 0.7923 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.829e-05/0.1813, allocations: 15.98 kB / 0.7923 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1813, allocations: 3.938 kB / 0.7923 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.1813, allocations: 0 / 0.7923 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1813, allocations: 4.469 kB / 0.7923 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1813, allocations: 4 kB / 0.7923 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.1816, allocations: 207.3 kB / 0.7925 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/0.1816, allocations: 93.02 kB / 0.7926 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1816, allocations: 0 / 0.7926 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/0.1817, allocations: 4 kB / 0.7926 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.1818, allocations: 7.984 kB / 0.7926 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.1818, allocations: 4 kB / 0.7926 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.272e-05/0.1818, allocations: 95.27 kB / 0.7927 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1818, allocations: 0 / 0.7927 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002325/0.1821, allocations: 20 kB / 0.7927 GB, free: 3.371 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.000514/0.1826, allocations: 0.7708 MB / 0.7935 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.1828, allocations: 71.95 kB / 0.7936 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1828, allocations: 0 / 0.7936 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.751e-05/0.1829, allocations: 39.92 kB / 0.7936 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.1831, allocations: 11.98 kB / 0.7936 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005107/0.1837, allocations: 259.5 kB / 0.7939 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.1839, allocations: 0.6885 MB / 0.7945 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.609e-05/0.1839, allocations: 11.94 kB / 0.7945 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.184, allocations: 23.42 kB / 0.7946 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.184, allocations: 0 / 0.7946 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.607/1.791, allocations: 2.201 MB / 0.7967 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.497/9.287, allocations: 17.16 kB / 0.7967 GB, free: 15.3 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)