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.001548/0.001548, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001732/0.001733, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.572/1.572, allocations: 205.1 MB / 222.4 MB, free: 4.602 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 2.03/2.03, allocations: 292.3 MB / 0.5489 GB, free: 12.78 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.001393/0.001393, allocations: 77.42 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2326, allocations: 114.5 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.003099/0.2357, allocations: 1.746 MB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.237, allocations: 0.7507 MB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.265e-05/0.237, allocations: 0 / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.13e-05/0.2371, allocations: 15.86 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.459e-05/0.2372, allocations: 23.78 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.2375, allocations: 87.72 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.2377, allocations: 111.6 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.2378, allocations: 41.31 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.983e-05/0.2379, allocations: 47.78 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.311e-05/0.238, allocations: 51.77 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.238, allocations: 8 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.2383, allocations: 107.8 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.2383, allocations: 19.92 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.138e-05/0.2384, allocations: 51.73 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.2386, allocations: 147.6 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2386, allocations: 0 / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2386, allocations: 3.938 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.2386, allocations: 0 / 0.7866 GB, free: 10.12 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.0006455/0.2393, allocations: 446.9 kB / 0.787 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.2393, allocations: 8.031 kB / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.2394, allocations: 42.73 kB / 0.7871 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.2394, allocations: 20.78 kB / 0.7871 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.2395, allocations: 176.2 kB / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.2396, allocations: 8.375 kB / 0.7873 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.2396, allocations: 15.94 kB / 0.7873 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.2399, allocations: 120.5 kB / 0.7874 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.2399, allocations: 3.984 kB / 0.7874 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.24, allocations: 0 / 0.7874 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.24, allocations: 4 kB / 0.7874 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003572/0.2403, allocations: 111.9 kB / 0.7875 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.2409, allocations: 400.2 kB / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.2412, allocations: 114.5 kB / 0.788 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.2414, allocations: 64.81 kB / 0.7881 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004957/0.2419, allocations: 0.5544 MB / 0.7886 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.242, allocations: 38.56 kB / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.242, allocations: 0 / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0006238/0.2426, allocations: 189.3 kB / 0.7888 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.2427, allocations: 55.41 kB / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.2428, allocations: 160.5 kB / 0.789 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.2428, allocations: 29.7 kB / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.2429, allocations: 100.1 kB / 0.7892 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.2429, allocations: 31.55 kB / 0.7892 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.243, allocations: 25.66 kB / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2431, allocations: 318.8 kB / 0.7895 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.2433, allocations: 43.95 kB / 0.7896 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.2434, allocations: 51.95 kB / 0.7896 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.2438, allocations: 101.3 kB / 0.7897 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2438, allocations: 0 / 0.7897 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003756/0.2442, allocations: 149.3 kB / 0.7899 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2442, allocations: 10.66 kB / 0.7899 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2442, allocations: 0 / 0.7899 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2442, allocations: 0 / 0.7899 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.2444, allocations: 23.97 kB / 0.7899 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2444, allocations: 0 / 0.7899 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.2445, allocations: 35.75 kB / 0.7899 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.2445, allocations: 0 / 0.7899 GB, free: 6.367 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 8.387e-05/0.2446, allocations: 118.5 kB / 0.79 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.2446, allocations: 19.75 kB / 0.7901 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004886/0.2451, allocations: 154.9 kB / 0.7902 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2451, allocations: 0 / 0.7902 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2452, allocations: 4 kB / 0.7902 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2452, allocations: 0 / 0.7902 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.2454, allocations: 213.5 kB / 0.7904 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2454, allocations: 0 / 0.7904 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.2455, allocations: 27.97 kB / 0.7904 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2455, allocations: 0 / 0.7904 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.2456, allocations: 4 kB / 0.7904 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2456, allocations: 0 / 0.7904 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2456, allocations: 0 / 0.7904 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004193/0.246, allocations: 247.4 kB / 0.7907 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.2461, allocations: 96.91 kB / 0.7908 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.2461, allocations: 4 kB / 0.7908 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.2462, allocations: 7.984 kB / 0.7908 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.2463, allocations: 11.98 kB / 0.7908 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.2463, allocations: 12 kB / 0.7908 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.47e-05/0.2464, allocations: 122.1 kB / 0.7909 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.423e-06/0.2464, allocations: 0 / 0.7909 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002465/0.2466, allocations: 27.94 kB / 0.7909 GB, free: 5.219 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.000775/0.2474, allocations: 0.7786 MB / 0.7917 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003892/0.2478, allocations: 107.8 kB / 0.7918 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2478, allocations: 0 / 0.7918 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.248, allocations: 59.95 kB / 0.7919 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.2485, allocations: 42.89 kB / 0.7919 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.251, allocations: 1.766 MB / 0.7936 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.2513, allocations: 0.7002 MB / 0.7943 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.718e-05/0.2514, allocations: 12.55 kB / 0.7943 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.227e-05/0.2514, allocations: 35.42 kB / 0.7944 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.2515, allocations: 0 / 0.7944 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.2725, allocations: 3.097 MB / 0.7974 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/7.927, allocations: 2.953 kB / 0.7974 GB, free: 14.64 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-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)