Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.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.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.581/1.581, allocations: 252 MB / 267 MB, free: 10.97 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.001045/0.001045, allocations: 182.4 kB / 326.6 MB, free: 2.223 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.547/1.547, allocations: 205.4 MB / 0.5777 GB, free: 20.23 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.0009937/0.0009937, allocations: 96.41 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003055, allocations: 13.03 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1736, allocations: 106.3 MB / 0.9003 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.001514/0.1751, allocations: 1.433 MB / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009081/0.1761, allocations: 0.7187 MB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.891e-05/0.1761, allocations: 4 kB / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.382e-05/0.1762, allocations: 7.922 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.584e-05/0.1762, allocations: 11.86 kB / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.1765, allocations: 67.88 kB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.122e-05/0.1766, allocations: 107.6 kB / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.492e-05/0.1767, allocations: 29.23 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.23e-05/0.1768, allocations: 27.92 kB / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.576e-05/0.1768, allocations: 43.77 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.1769, allocations: 8 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.177, allocations: 99.83 kB / 0.9028 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.1771, allocations: 15.92 kB / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.1771, allocations: 37.7 kB / 0.9029 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.1772, allocations: 100 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1772, allocations: 0 / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1772, allocations: 3.938 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.1773, allocations: 0 / 0.903 GB, free: 61.03 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004862/0.1777, allocations: 431 kB / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1778, allocations: 11.97 kB / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.1778, allocations: 42.52 kB / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.1779, allocations: 19.8 kB / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.872e-05/0.1779, allocations: 176.2 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.178, allocations: 12 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.178, allocations: 12 kB / 0.9036 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.1783, allocations: 127.6 kB / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.1783, allocations: 0 / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1783, allocations: 0 / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1783, allocations: 11.94 kB / 0.9038 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.1787, allocations: 135.9 kB / 0.9039 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.1791, allocations: 392.2 kB / 0.9043 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.1794, allocations: 122.5 kB / 0.9044 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.1796, allocations: 76.81 kB / 0.9045 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003066/0.1799, allocations: 0.5583 MB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.18, allocations: 34.56 kB / 0.905 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.18, allocations: 0 / 0.905 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0005968/0.1806, allocations: 221.3 kB / 0.9053 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.822e-05/0.1806, allocations: 63.39 kB / 0.9053 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.874e-05/0.1807, allocations: 162.2 kB / 0.9055 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.1807, allocations: 25.7 kB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.112e-05/0.1808, allocations: 96.33 kB / 0.9056 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.1808, allocations: 31.55 kB / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.1808, allocations: 4 kB / 0.9056 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.575e-05/0.1809, allocations: 326.8 kB / 0.9059 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.181, allocations: 55.95 kB / 0.906 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.1812, allocations: 51.97 kB / 0.906 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.1813, allocations: 63.89 kB / 0.9061 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1814, allocations: 4 kB / 0.9061 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003535/0.1817, allocations: 157.4 kB / 0.9063 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1817, allocations: 4 kB / 0.9063 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1817, allocations: 3.938 kB / 0.9063 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1818, allocations: 4 kB / 0.9063 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.1819, allocations: 32.62 kB / 0.9063 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1819, allocations: 3.938 kB / 0.9063 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.1821, allocations: 27.92 kB / 0.9063 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.1821, allocations: 3.984 kB / 0.9063 GB, free: 57.23 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.267e-05/0.1821, allocations: 121.8 kB / 0.9064 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.1822, allocations: 19.8 kB / 0.9065 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004202/0.1826, allocations: 182.9 kB / 0.9066 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1826, allocations: 4 kB / 0.9066 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1826, allocations: 0 / 0.9066 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1826, allocations: 0 / 0.9066 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.1828, allocations: 205.6 kB / 0.9068 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1828, allocations: 0 / 0.9068 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.1829, allocations: 39.91 kB / 0.9069 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1829, allocations: 4 kB / 0.9069 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.183, allocations: 0 / 0.9069 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.183, allocations: 0 / 0.9069 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.183, allocations: 0 / 0.9069 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.1833, allocations: 267.2 kB / 0.9071 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.1834, allocations: 96.94 kB / 0.9072 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.1834, allocations: 0 / 0.9072 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.1836, allocations: 23.98 kB / 0.9072 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.1836, allocations: 7.984 kB / 0.9073 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.1836, allocations: 4 kB / 0.9073 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.758e-05/0.1837, allocations: 120.9 kB / 0.9074 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1837, allocations: 0 / 0.9074 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002231/0.1839, allocations: 28 kB / 0.9074 GB, free: 56.04 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005875/0.1845, allocations: 0.8101 MB / 0.9082 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003686/0.1849, allocations: 131.8 kB / 0.9083 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1849, allocations: 0 / 0.9083 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.1851, allocations: 75.89 kB / 0.9084 GB, free: 55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.1855, allocations: 25.47 kB / 0.9084 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.1867, allocations: 0.8087 MB / 0.9092 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.1868, allocations: 0.7002 MB / 0.9099 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.823e-05/0.1869, allocations: 12.56 kB / 0.9099 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/0.187, allocations: 27.42 kB / 0.9099 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.187, allocations: 0 / 0.9099 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01122/0.1982, allocations: 2.702 MB / 0.9126 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001367/0.1984, allocations: 227.2 kB / 0.9128 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/1.808, allocations: 0 / 0.9128 GB, free: 50.64 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1)