Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_8_0_0_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_0_0_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 8.0.0/package.mo): time 2.532/2.532, allocations: 287.5 MB / 302.4 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001361/0.00136, allocations: 172.2 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000953/0.000953, allocations: 95.64 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004935, allocations: 13.64 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2037, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.001992/0.2057, allocations: 1.422 MB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008918/0.2067, allocations: 432.7 kB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.159e-05/0.2067, allocations: 0 / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.379e-05/0.2068, allocations: 3.938 kB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.338e-05/0.2069, allocations: 27.78 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.2072, allocations: 67.86 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.2074, allocations: 95.64 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.2075, allocations: 33.5 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.561e-05/0.2076, allocations: 39.83 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.605e-05/0.2077, allocations: 43.78 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.2077, allocations: 4 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000234/0.208, allocations: 91.89 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.208, allocations: 15.92 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.208, allocations: 41.64 kB / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.2082, allocations: 99.77 kB / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2082, allocations: 0 / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2083, allocations: 0 / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.2083, allocations: 0 / 0.9808 GB, free: 25.81 MB / 0.6198 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.000696/0.209, allocations: 444.9 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.209, allocations: 8.031 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.2091, allocations: 38.56 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.2091, allocations: 15.89 kB / 0.9813 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.2092, allocations: 186.8 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2093, allocations: 12 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.2093, allocations: 12 kB / 0.9815 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/0.2098, allocations: 125.5 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2098, allocations: 0 / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.2098, allocations: 4 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.2098, allocations: 4 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006045/0.2105, allocations: 139.8 kB / 0.9818 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000603/0.2111, allocations: 396.2 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/0.2115, allocations: 118.6 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.2119, allocations: 76.75 kB / 0.9823 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004408/0.2123, allocations: 0.5583 MB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.2124, allocations: 38.5 kB / 0.9829 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.535e-06/0.2124, allocations: 3.938 kB / 0.9829 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0009853/0.2134, allocations: 217.4 kB / 0.9831 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.2134, allocations: 59.39 kB / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.2136, allocations: 160.3 kB / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.2136, allocations: 25.7 kB / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.2137, allocations: 104.2 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.2137, allocations: 35.53 kB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/0.2137, allocations: 0 / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.098e-05/0.2138, allocations: 322.8 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.2141, allocations: 55.95 kB / 0.9838 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.2144, allocations: 55.97 kB / 0.9839 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.2147, allocations: 55.95 kB / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2147, allocations: 3.953 kB / 0.984 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006403/0.2154, allocations: 162 kB / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.2154, allocations: 4 kB / 0.9841 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2154, allocations: 4 kB / 0.9841 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.2154, allocations: 0 / 0.9841 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.2157, allocations: 31.97 kB / 0.9841 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.2157, allocations: 4.031 kB / 0.9842 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.2159, allocations: 31.83 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.2159, allocations: 0 / 0.9842 GB, free: 22 MB / 0.6198 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 0.0001005/0.216, allocations: 117.8 kB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.2161, allocations: 15.86 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007022/0.2168, allocations: 186.9 kB / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2168, allocations: 0 / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2168, allocations: 0 / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2169, allocations: 0 / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.2171, allocations: 209.5 kB / 0.9847 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2171, allocations: 0 / 0.9847 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.2174, allocations: 35.92 kB / 0.9847 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.2174, allocations: 4 kB / 0.9847 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.2174, allocations: 0 / 0.9847 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2174, allocations: 0 / 0.9847 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.2174, allocations: 3.984 kB / 0.9847 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006424/0.2181, allocations: 259.3 kB / 0.985 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.369e-05/0.2182, allocations: 104.9 kB / 0.9851 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.2182, allocations: 7.891 kB / 0.9851 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.2184, allocations: 19.98 kB / 0.9851 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.2185, allocations: 11.98 kB / 0.9851 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.2185, allocations: 4 kB / 0.9851 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.479e-05/0.2186, allocations: 124.9 kB / 0.9852 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2186, allocations: 3.938 kB / 0.9852 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003158/0.2189, allocations: 28 kB / 0.9853 GB, free: 20.8 MB / 0.6198 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.0009104/0.2199, allocations: 0.7983 MB / 0.986 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006358/0.2205, allocations: 127.9 kB / 0.9862 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2205, allocations: 0 / 0.9862 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.2209, allocations: 71.95 kB / 0.9862 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005186/0.2214, allocations: 31.92 kB / 0.9863 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.2234, allocations: 0.8243 MB / 0.9871 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.2235, allocations: 0.7002 MB / 0.9878 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.2237, allocations: 8.562 kB / 0.9878 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.111e-05/0.2238, allocations: 33.05 kB / 0.9878 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of SimCode: time 1.183e-06/0.2238, allocations: 0 / 0.9878 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.2505, allocations: 2.687 MB / 0.9904 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/0.2508, allocations: 222.6 kB / 0.9906 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.581/2.832, allocations: 4.062 kB / 0.9906 GB, free: 15.37 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1)