Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.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.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",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.001119/0.001119, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001141/0.001141, allocations: 196 kB / 16.14 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.114/1.114, allocations: 205.1 MB / 222 MB, free: 4.723 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.486/1.486, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001294/0.001294, allocations: 63.28 kB / 0.6709 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1622, allocations: 114.5 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002524/0.1648, allocations: 1.8 MB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1658, allocations: 0.7653 MB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.1659, allocations: 4 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.818e-05/0.1659, allocations: 7.922 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.727e-05/0.166, allocations: 15.86 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.1663, allocations: 63.86 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.1664, allocations: 111.6 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.465e-05/0.1665, allocations: 41.33 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.072e-05/0.1666, allocations: 43.78 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.983e-05/0.1666, allocations: 47.75 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.1666, allocations: 8 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.1668, allocations: 95.92 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.1669, allocations: 27.89 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.1669, allocations: 43.73 kB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.1671, allocations: 135.6 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1671, allocations: 0 / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.92e-07/0.1671, allocations: 7.938 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.1671, allocations: 0 / 0.7859 GB, free: 10.67 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005424/0.1677, allocations: 443 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.1677, allocations: 12.03 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/0.1677, allocations: 42.69 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.1678, allocations: 12.84 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.1679, allocations: 180.2 kB / 0.7866 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1679, allocations: 8.375 kB / 0.7866 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.1679, allocations: 11.94 kB / 0.7866 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.1682, allocations: 128.5 kB / 0.7867 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.1682, allocations: 0 / 0.7867 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1682, allocations: 4 kB / 0.7867 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1683, allocations: 7.984 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.1686, allocations: 107.9 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.1691, allocations: 404.3 kB / 0.7872 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.1694, allocations: 106.6 kB / 0.7873 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.1695, allocations: 60.81 kB / 0.7874 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003986/0.17, allocations: 0.566 MB / 0.788 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.17, allocations: 34.56 kB / 0.788 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.17, allocations: 0 / 0.788 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005587/0.1706, allocations: 197.3 kB / 0.7882 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.1706, allocations: 51.41 kB / 0.7882 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.1707, allocations: 164.5 kB / 0.7884 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.1707, allocations: 33.7 kB / 0.7884 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.1708, allocations: 96.14 kB / 0.7885 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.1708, allocations: 35.53 kB / 0.7885 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.1709, allocations: 17.72 kB / 0.7886 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.124e-05/0.171, allocations: 326.8 kB / 0.7889 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.1711, allocations: 47.95 kB / 0.7889 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.1713, allocations: 43.95 kB / 0.789 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.1716, allocations: 100.7 kB / 0.7891 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1716, allocations: 4 kB / 0.7891 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003448/0.1719, allocations: 145.3 kB / 0.7892 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.1719, allocations: 4 kB / 0.7892 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.1719, allocations: 0 / 0.7892 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.455e-06/0.172, allocations: 0 / 0.7892 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.1721, allocations: 32.62 kB / 0.7892 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1721, allocations: 0 / 0.7892 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.411e-05/0.1722, allocations: 23.83 kB / 0.7893 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.1722, allocations: 0 / 0.7893 GB, free: 6.918 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * 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 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.606e-05/0.1723, allocations: 114.5 kB / 0.7894 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.1723, allocations: 23.75 kB / 0.7894 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003924/0.1727, allocations: 158.9 kB / 0.7895 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1728, allocations: 0 / 0.7895 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1728, allocations: 4 kB / 0.7895 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1728, allocations: 3.984 kB / 0.7895 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.173, allocations: 205.5 kB / 0.7897 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.173, allocations: 0 / 0.7897 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.1731, allocations: 27.92 kB / 0.7898 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1731, allocations: 3.984 kB / 0.7898 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1731, allocations: 4 kB / 0.7898 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1731, allocations: 0 / 0.7898 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1731, allocations: 0 / 0.7898 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.1735, allocations: 243.2 kB / 0.79 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.1736, allocations: 96.91 kB / 0.7901 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.1736, allocations: 8 kB / 0.7901 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1737, allocations: 11.98 kB / 0.7901 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.1738, allocations: 7.984 kB / 0.7901 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.1738, allocations: 4 kB / 0.7901 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.983e-05/0.1739, allocations: 124 kB / 0.7902 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1739, allocations: 0 / 0.7902 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002239/0.1741, allocations: 24 kB / 0.7903 GB, free: 5.773 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 (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 Backend phase and start with SimCode phase: time 0.0006303/0.1747, allocations: 0.7828 MB / 0.791 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003356/0.1751, allocations: 111.8 kB / 0.7911 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.1751, allocations: 0 / 0.7911 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.1752, allocations: 63.89 kB / 0.7912 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.1756, allocations: 23.98 kB / 0.7912 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.1775, allocations: 1.798 MB / 0.793 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.1777, allocations: 0.7002 MB / 0.7937 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.295e-05/0.1778, allocations: 20.53 kB / 0.7937 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.1779, allocations: 30.56 kB / 0.7937 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1779, allocations: 0 / 0.7937 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.492/1.67, allocations: 2.814 MB / 0.7965 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003402/1.67, allocations: 229.3 kB / 0.7967 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/3.622, allocations: 0 / 0.7967 GB, free: 15.21 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1)