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.591/2.591, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.00154/0.00154, allocations: 183.5 kB / 370.8 MB, free: 10.87 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.125/2.125, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001183/0.001182, allocations: 103.4 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008106/0.0008108, allocations: 13.02 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2235, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002055/0.2257, allocations: 1.411 MB / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008614/0.2266, allocations: 432.6 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/0.2266, allocations: 0 / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.2267, allocations: 7.875 kB / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.2268, allocations: 27.95 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.2271, allocations: 71.78 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.2273, allocations: 63.86 kB / 0.9803 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2274, allocations: 29.58 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.406e-05/0.2275, allocations: 39.83 kB / 0.9803 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.968e-05/0.2276, allocations: 39.78 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.2276, allocations: 4 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.2278, allocations: 91.89 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.2279, allocations: 11.92 kB / 0.9805 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.2279, allocations: 41.64 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.2281, allocations: 99.77 kB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2281, allocations: 0 / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2281, allocations: 0 / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2281, allocations: 4 kB / 0.9806 GB, free: 25.89 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.0007107/0.2288, allocations: 438.9 kB / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.2289, allocations: 8.031 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.229, allocations: 38.56 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.229, allocations: 19.89 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.2291, allocations: 185.5 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.2292, allocations: 11.94 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.2292, allocations: 12 kB / 0.9813 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/0.2297, allocations: 131.9 kB / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.2297, allocations: 0 / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.2297, allocations: 0 / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2297, allocations: 4 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005997/0.2303, allocations: 135.9 kB / 0.9815 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006212/0.231, allocations: 396.2 kB / 0.9819 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.2315, allocations: 130.5 kB / 0.9821 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004573/0.232, allocations: 0.5583 MB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.232, allocations: 34.56 kB / 0.9826 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.505e-06/0.232, allocations: 4 kB / 0.9826 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.001045/0.2331, allocations: 221.9 kB / 0.9828 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.2331, allocations: 51.41 kB / 0.9829 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.2333, allocations: 160.3 kB / 0.983 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.2333, allocations: 29.8 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.2334, allocations: 108.2 kB / 0.9832 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.483e-05/0.2334, allocations: 27.56 kB / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-06/0.2334, allocations: 0 / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.616e-05/0.2335, allocations: 326.8 kB / 0.9835 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.2338, allocations: 55.95 kB / 0.9836 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.2341, allocations: 55.95 kB / 0.9836 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.2344, allocations: 59.91 kB / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2344, allocations: 0 / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006451/0.2351, allocations: 161.5 kB / 0.9838 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.2351, allocations: 4 kB / 0.9838 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2351, allocations: 7.922 kB / 0.9838 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2352, allocations: 4 kB / 0.9838 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.2354, allocations: 23.98 kB / 0.9839 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.2355, allocations: 4 kB / 0.9839 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.2356, allocations: 23.89 kB / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.2357, allocations: 0 / 0.9839 GB, free: 22.18 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 9.139e-05/0.2358, allocations: 121.8 kB / 0.984 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.2358, allocations: 19.8 kB / 0.984 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007174/0.2365, allocations: 182.9 kB / 0.9842 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.2366, allocations: 384 / 0.9842 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2366, allocations: 0 / 0.9842 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2366, allocations: 0 / 0.9842 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.2369, allocations: 209.5 kB / 0.9844 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2369, allocations: 3.938 kB / 0.9844 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.2371, allocations: 35.91 kB / 0.9844 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.2371, allocations: 3.953 kB / 0.9845 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2372, allocations: 8 kB / 0.9845 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2372, allocations: 4 kB / 0.9845 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2372, allocations: 0 / 0.9845 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006508/0.2379, allocations: 259.3 kB / 0.9847 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.734e-05/0.2379, allocations: 96.91 kB / 0.9848 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.238, allocations: 3.953 kB / 0.9848 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.2382, allocations: 19.98 kB / 0.9848 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.2383, allocations: 7.984 kB / 0.9848 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.2383, allocations: 8 kB / 0.9848 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.588e-05/0.2384, allocations: 124.9 kB / 0.985 GB, free: 21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2384, allocations: 0 / 0.985 GB, free: 21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003473/0.2388, allocations: 24 kB / 0.985 GB, free: 20.97 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.0009775/0.2397, allocations: 0.8021 MB / 0.9858 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006733/0.2405, allocations: 127.9 kB / 0.9859 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2405, allocations: 0 / 0.9859 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.2408, allocations: 68.27 kB / 0.986 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.2413, allocations: 40.05 kB / 0.986 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.2434, allocations: 0.8216 MB / 0.9868 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.2437, allocations: 0.708 MB / 0.9875 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000127/0.2438, allocations: 12.53 kB / 0.9875 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.081e-05/0.2439, allocations: 35.42 kB / 0.9875 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of SimCode: time 1.873e-06/0.2439, allocations: 0 / 0.9875 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.2709, allocations: 2.672 MB / 0.9901 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/0.2712, allocations: 210 kB / 0.9903 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.437/2.708, allocations: 0 / 0.9903 GB, free: 15.55 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)