Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.803/1.803, allocations: 288.4 MB / 303.3 MB, free: 8.215 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.001031/0.001031, allocations: 182.7 kB / 372 MB, free: 10.33 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.4 MB / 0.6307 GB, free: 10.07 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.0007554/0.0007555, allocations: 83.73 kB / 0.744 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003795, allocations: 12.97 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2008, allocations: 115.3 MB / 0.9797 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.001912/0.2028, allocations: 1.423 MB / 0.9811 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009533/0.2038, allocations: 0.7072 MB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.2038, allocations: 0 / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.2039, allocations: 11.86 kB / 0.9818 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.367e-05/0.2039, allocations: 15.86 kB / 0.9818 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.2042, allocations: 67.86 kB / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.865e-05/0.2043, allocations: 103.6 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2044, allocations: 33.52 kB / 0.982 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.646e-05/0.2045, allocations: 35.89 kB / 0.982 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.154e-05/0.2046, allocations: 39.78 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.2046, allocations: 4 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.2048, allocations: 95.84 kB / 0.9821 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.2048, allocations: 23.91 kB / 0.9822 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.2048, allocations: 37.7 kB / 0.9822 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.2049, allocations: 103.7 kB / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.205, allocations: 4 kB / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.205, allocations: 0 / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.205, allocations: 0 / 0.9823 GB, free: 24.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.0005223/0.2055, allocations: 438.9 kB / 0.9827 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2055, allocations: 8.031 kB / 0.9827 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.105e-05/0.2056, allocations: 42.55 kB / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.2056, allocations: 15.86 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.957e-05/0.2057, allocations: 170.9 kB / 0.9829 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.2057, allocations: 8 kB / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.2058, allocations: 15.94 kB / 0.983 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.2061, allocations: 132.5 kB / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2061, allocations: 0 / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2061, allocations: 4 kB / 0.9831 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.2062, allocations: 4 kB / 0.9831 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003485/0.2065, allocations: 131.9 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.207, allocations: 408.2 kB / 0.9836 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.2073, allocations: 122.5 kB / 0.9837 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.2074, allocations: 72.86 kB / 0.9838 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003276/0.2078, allocations: 0.5583 MB / 0.9843 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.2078, allocations: 34.56 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.2078, allocations: 0 / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0006046/0.2084, allocations: 217.7 kB / 0.9846 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.2085, allocations: 59.44 kB / 0.9846 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.2086, allocations: 169.2 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.2086, allocations: 25.7 kB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.762e-05/0.2086, allocations: 104.2 kB / 0.9849 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.2087, allocations: 27.56 kB / 0.985 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-06/0.2087, allocations: 4 kB / 0.985 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.819e-05/0.2087, allocations: 322.8 kB / 0.9853 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.2089, allocations: 55.95 kB / 0.9853 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.2091, allocations: 59.89 kB / 0.9854 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.2092, allocations: 59.92 kB / 0.9854 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2092, allocations: 0 / 0.9854 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003593/0.2096, allocations: 165.5 kB / 0.9856 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.2096, allocations: 4 kB / 0.9856 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2096, allocations: 0 / 0.9856 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2096, allocations: 0 / 0.9856 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.2098, allocations: 31.98 kB / 0.9856 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2098, allocations: 0 / 0.9856 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.2099, allocations: 31.88 kB / 0.9857 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.2099, allocations: 4 kB / 0.9857 GB, free: 21.09 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 8.656e-05/0.21, allocations: 117.8 kB / 0.9858 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.2101, allocations: 11.91 kB / 0.9858 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004325/0.2105, allocations: 183.2 kB / 0.986 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2105, allocations: 0 / 0.986 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2105, allocations: 96 / 0.986 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2105, allocations: 3.938 kB / 0.986 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.2107, allocations: 217.5 kB / 0.9862 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2107, allocations: 3.953 kB / 0.9862 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.2109, allocations: 27.92 kB / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2109, allocations: 8 kB / 0.9862 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.2109, allocations: 4 kB / 0.9862 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2109, allocations: 0 / 0.9862 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2109, allocations: 0 / 0.9862 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.2113, allocations: 259.3 kB / 0.9865 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.2113, allocations: 100.9 kB / 0.9866 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.2114, allocations: 0 / 0.9866 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.2115, allocations: 23.97 kB / 0.9866 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.2115, allocations: 11.94 kB / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.2116, allocations: 4 kB / 0.9866 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.986e-05/0.2116, allocations: 129.6 kB / 0.9867 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2116, allocations: 0 / 0.9867 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002217/0.2119, allocations: 24 kB / 0.9867 GB, free: 19.89 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.0006137/0.2125, allocations: 0.7982 MB / 0.9875 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003888/0.2129, allocations: 132 kB / 0.9876 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2129, allocations: 0 / 0.9876 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.2131, allocations: 76.02 kB / 0.9877 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.2135, allocations: 23.98 kB / 0.9877 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.2147, allocations: 0.8167 MB / 0.9885 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.2149, allocations: 0.7002 MB / 0.9892 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.569e-05/0.215, allocations: 16.55 kB / 0.9892 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.215, allocations: 27.44 kB / 0.9893 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.215, allocations: 0 / 0.9893 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01299/0.228, allocations: 2.711 MB / 0.9919 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/0.2282, allocations: 230.8 kB / 0.9921 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/1.867, allocations: 112 / 0.9921 GB, free: 14.48 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1)