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.00152/0.00152, allocations: 105.4 kB / 15.7 MB, free: 24 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.001768/0.001768, allocations: 196 kB / 16.64 MB, free: 6.453 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.457/1.457, allocations: 205.1 MB / 222.5 MB, free: 4.566 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 1.641/1.641, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001396/0.001396, allocations: 68.92 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2101, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002969/0.2131, allocations: 1.753 MB / 0.7854 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.2142, allocations: 0.7507 MB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.178e-05/0.2143, allocations: 0 / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.213e-05/0.2143, allocations: 15.8 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.902e-05/0.2144, allocations: 19.8 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.2148, allocations: 103 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.2149, allocations: 107.6 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.215, allocations: 33.33 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.534e-05/0.2151, allocations: 43.84 kB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.724e-05/0.2152, allocations: 55.77 kB / 0.7865 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.2152, allocations: 8 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.2154, allocations: 107.8 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.2154, allocations: 19.92 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.2155, allocations: 55.72 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.2157, allocations: 143.6 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2158, allocations: 0 / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.527e-06/0.2158, allocations: 7.922 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2158, allocations: 0 / 0.7868 GB, free: 10.01 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.0006299/0.2164, allocations: 453.3 kB / 0.7872 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2164, allocations: 12.03 kB / 0.7872 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.2165, allocations: 42.73 kB / 0.7873 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.2165, allocations: 16.78 kB / 0.7873 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.2166, allocations: 172.2 kB / 0.7874 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2167, allocations: 8.375 kB / 0.7875 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.2167, allocations: 11.94 kB / 0.7875 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.217, allocations: 128.3 kB / 0.7876 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.217, allocations: 3.938 kB / 0.7876 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.217, allocations: 4 kB / 0.7876 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.217, allocations: 4 kB / 0.7876 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.2173, allocations: 103.9 kB / 0.7877 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/0.2178, allocations: 404.2 kB / 0.7881 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.2182, allocations: 106.5 kB / 0.7882 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.2183, allocations: 60.86 kB / 0.7882 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005335/0.2189, allocations: 0.5661 MB / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.2189, allocations: 42.48 kB / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.2189, allocations: 0 / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005755/0.2195, allocations: 189.3 kB / 0.789 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.2195, allocations: 55.41 kB / 0.7891 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.2197, allocations: 156.5 kB / 0.7892 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.2197, allocations: 29.7 kB / 0.7892 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.2197, allocations: 104.1 kB / 0.7893 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.2198, allocations: 27.55 kB / 0.7894 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.2198, allocations: 25.7 kB / 0.7894 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2199, allocations: 326.8 kB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.2201, allocations: 43.97 kB / 0.7898 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.2202, allocations: 44.33 kB / 0.7898 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.2205, allocations: 108.8 kB / 0.7899 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2205, allocations: 0 / 0.7899 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003735/0.2209, allocations: 137.4 kB / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2209, allocations: 8 kB / 0.79 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.221, allocations: 3.984 kB / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.221, allocations: 3.938 kB / 0.79 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.2211, allocations: 23.98 kB / 0.7901 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2211, allocations: 8 kB / 0.7901 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.187e-05/0.2212, allocations: 19.83 kB / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.2212, allocations: 0 / 0.7901 GB, free: 6.262 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 0.0001039/0.2214, allocations: 117.8 kB / 0.7902 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.2214, allocations: 23.75 kB / 0.7902 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004038/0.2218, allocations: 158.9 kB / 0.7904 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2218, allocations: 0 / 0.7904 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2218, allocations: 0 / 0.7904 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2218, allocations: 0 / 0.7904 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.222, allocations: 209.5 kB / 0.7906 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.222, allocations: 0 / 0.7906 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.2222, allocations: 31.91 kB / 0.7906 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.2222, allocations: 4 kB / 0.7906 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.2222, allocations: 0 / 0.7906 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2222, allocations: 0 / 0.7906 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2222, allocations: 192 / 0.7906 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.2226, allocations: 243.2 kB / 0.7908 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.2227, allocations: 96.91 kB / 0.7909 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.2227, allocations: 8 kB / 0.7909 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.2228, allocations: 11.98 kB / 0.791 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.2229, allocations: 7.984 kB / 0.791 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.2229, allocations: 4 kB / 0.791 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.849e-05/0.223, allocations: 126.1 kB / 0.7911 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.223, allocations: 0 / 0.7911 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002291/0.2232, allocations: 20 kB / 0.7911 GB, free: 5.121 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.0006833/0.2239, allocations: 0.7864 MB / 0.7919 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003612/0.2243, allocations: 107.9 kB / 0.792 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2243, allocations: 0 / 0.792 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.2245, allocations: 59.89 kB / 0.792 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.2248, allocations: 38.89 kB / 0.7921 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.227, allocations: 1.769 MB / 0.7938 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.2272, allocations: 0.7041 MB / 0.7945 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.834e-05/0.2273, allocations: 12.55 kB / 0.7945 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.2274, allocations: 35.42 kB / 0.7945 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.2274, allocations: 0 / 0.7945 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.2474, allocations: 3.106 MB / 0.7976 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.287, allocations: 13.78 kB / 0.7976 GB, free: 14.52 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --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)