Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 251.5 MB / 266.7 MB, free: 11.03 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.0008866/0.0008867, allocations: 177.3 kB / 325.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205 MB / 0.576 GB, free: 21 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.000626/0.000626, allocations: 87.02 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002812, allocations: 11.94 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1603, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001477/0.1618, allocations: 1.34 MB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002515/0.1644, allocations: 3.254 MB / 0.9007 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.1644, allocations: 4 kB / 0.9007 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.1644, allocations: 3.938 kB / 0.9007 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.768e-05/0.1645, allocations: 3.938 kB / 0.9007 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.1648, allocations: 111.6 kB / 0.9008 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.562e-05/0.1649, allocations: 79.7 kB / 0.9009 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.918e-05/0.165, allocations: 4.188 kB / 0.9009 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.877e-05/0.1651, allocations: 39.91 kB / 0.9009 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.547e-05/0.1651, allocations: 35.83 kB / 0.901 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.1651, allocations: 7.938 kB / 0.901 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.1654, allocations: 83.86 kB / 0.901 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.1654, allocations: 19.91 kB / 0.9011 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.1654, allocations: 23.86 kB / 0.9011 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.1656, allocations: 127.6 kB / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1656, allocations: 0 / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1656, allocations: 0 / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.1656, allocations: 0 / 0.9012 GB, free: 62.95 MB / 0.6042 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.0004303/0.166, allocations: 375.4 kB / 0.9016 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1661, allocations: 12.03 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.019e-05/0.1661, allocations: 38.75 kB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.1662, allocations: 8.844 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.461e-05/0.1663, allocations: 172.2 kB / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.1663, allocations: 4.312 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.1663, allocations: 12.12 kB / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.1665, allocations: 85.58 kB / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.1665, allocations: 4 kB / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1665, allocations: 0 / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1665, allocations: 0 / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.1667, allocations: 83.94 kB / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.167, allocations: 332.6 kB / 0.9023 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.1672, allocations: 94.48 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.558e-05/0.1673, allocations: 48.83 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005255/0.1679, allocations: 0.7527 MB / 0.9032 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.185e-05/0.1679, allocations: 34.56 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.874e-06/0.1679, allocations: 112 / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0003218/0.1682, allocations: 157.6 kB / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.541e-05/0.1682, allocations: 55.41 kB / 0.9034 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.186e-05/0.1683, allocations: 117.8 kB / 0.9035 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.1683, allocations: 33.7 kB / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.662e-05/0.1683, allocations: 88.05 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.1684, allocations: 27.64 kB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.1684, allocations: 13.72 kB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.542e-05/0.1684, allocations: 318.8 kB / 0.904 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.679e-05/0.1685, allocations: 35.98 kB / 0.904 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.62e-05/0.1686, allocations: 45.7 kB / 0.904 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.1688, allocations: 93.92 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1688, allocations: 0 / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001899/0.169, allocations: 113.6 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.169, allocations: 8 kB / 0.9043 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.169, allocations: 4.031 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.169, allocations: 3.938 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1691, allocations: 31.91 kB / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1691, allocations: 0 / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.1692, allocations: 12 kB / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/0.1692, allocations: 4 kB / 0.9043 GB, free: 59.41 MB / 0.6042 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 4.578e-05/0.1693, allocations: 109.8 kB / 0.9044 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.1693, allocations: 11.91 kB / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/0.1696, allocations: 141.8 kB / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1696, allocations: 192 / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1696, allocations: 0 / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1696, allocations: 3.938 kB / 0.9046 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.1697, allocations: 193.5 kB / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1697, allocations: 3.984 kB / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.689e-05/0.1698, allocations: 19.98 kB / 0.9048 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.1698, allocations: 0 / 0.9048 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1698, allocations: 3.938 kB / 0.9048 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1698, allocations: 7.938 kB / 0.9048 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1698, allocations: 0 / 0.9048 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.17, allocations: 215.4 kB / 0.905 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.1701, allocations: 81.02 kB / 0.9051 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.1701, allocations: 7.938 kB / 0.9051 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.1702, allocations: 7.984 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.1703, allocations: 4 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1703, allocations: 11.98 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.639e-05/0.1703, allocations: 87.28 kB / 0.9052 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1703, allocations: 4 kB / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002253/0.1705, allocations: 19.98 kB / 0.9052 GB, free: 58.39 MB / 0.6042 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.0003966/0.1709, allocations: 0.7647 MB / 0.9059 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000193/0.1711, allocations: 87.95 kB / 0.906 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1712, allocations: 4 kB / 0.906 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.303e-05/0.1712, allocations: 47.91 kB / 0.9061 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.1715, allocations: 8 kB / 0.9061 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.1719, allocations: 265.9 kB / 0.9063 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.405e-05/0.172, allocations: 0.6887 MB / 0.907 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.059e-05/0.1721, allocations: 23.89 kB / 0.907 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.1722, allocations: 25.25 kB / 0.9071 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.1722, allocations: 0 / 0.9071 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1318/0.304, allocations: 1.983 MB / 0.909 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/0.3042, allocations: 230.6 kB / 0.9092 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/2.045, allocations: 0 / 0.9092 GB, free: 54.34 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)