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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 289.7 MB / 302.2 MB, free: 2.129 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.00116/0.00116, allocations: 179.1 kB / 371.6 MB, free: 3.418 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.636/1.636, allocations: 205.2 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009073/0.0009074, allocations: 91.25 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 8.565e-05/8.6e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2854, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9318/1.217, allocations: 141.4 MB / 1.118 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/1.218, allocations: 96.58 kB / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.007944/1.226, allocations: 2.972 MB / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.282e-06/1.226, allocations: 0 / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.873e-06/1.226, allocations: 0 / 1.121 GB, free: 41.07 MB / 0.7448 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.0004651/1.226, allocations: 430.5 kB / 1.121 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.226, allocations: 22.47 kB / 1.121 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/1.226, allocations: 38.69 kB / 1.121 GB, free: 40.58 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/1.226, allocations: 13.53 kB / 1.121 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/1.226, allocations: 192.3 kB / 1.122 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/1.226, allocations: 10.83 kB / 1.122 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/1.226, allocations: 7.25 kB / 1.122 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/1.227, allocations: 89.31 kB / 1.122 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/1.227, allocations: 7.938 kB / 1.122 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/1.227, allocations: 3.562 kB / 1.122 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/1.227, allocations: 0.7031 kB / 1.122 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/1.227, allocations: 72.81 kB / 1.122 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/1.227, allocations: 399.7 kB / 1.122 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/1.227, allocations: 88.53 kB / 1.122 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.498e-05/1.227, allocations: 50.66 kB / 1.122 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003301/1.228, allocations: 0.5535 MB / 1.123 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/1.228, allocations: 34.81 kB / 1.123 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/1.228, allocations: 0 / 1.123 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002051/1.228, allocations: 91.22 kB / 1.123 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/1.228, allocations: 59.41 kB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.6e-05/1.228, allocations: 145.4 kB / 1.123 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/1.228, allocations: 33.39 kB / 1.123 GB, free: 38.74 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/1.228, allocations: 98.83 kB / 1.123 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/1.228, allocations: 27.69 kB / 1.123 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/1.228, allocations: 3.688 kB / 1.123 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.27e-05/1.228, allocations: 318 kB / 1.124 GB, free: 38.31 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.337e-05/1.228, allocations: 26.64 kB / 1.124 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.682e-05/1.228, allocations: 26.98 kB / 1.124 GB, free: 38.28 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.291e-05/1.228, allocations: 20.41 kB / 1.124 GB, free: 38.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.228, allocations: 0 / 1.124 GB, free: 38.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001307/1.229, allocations: 99.78 kB / 1.124 GB, free: 38.19 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/1.229, allocations: 7.953 kB / 1.124 GB, free: 38.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/1.229, allocations: 0 / 1.124 GB, free: 38.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/1.229, allocations: 0 / 1.124 GB, free: 38.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/1.229, allocations: 36.14 kB / 1.124 GB, free: 38.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.229, allocations: 4.703 kB / 1.124 GB, free: 38.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/1.229, allocations: 27.66 kB / 1.124 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/1.229, allocations: 4 kB / 1.124 GB, free: 38.13 MB / 0.7448 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 () * 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 4.975e-05/1.229, allocations: 104.7 kB / 1.124 GB, free: 38.02 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/1.229, allocations: 15.81 kB / 1.124 GB, free: 38.01 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/1.229, allocations: 115.4 kB / 1.124 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/1.229, allocations: 0.5 kB / 1.124 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.229, allocations: 0.75 kB / 1.124 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.229, allocations: 0 / 1.124 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/1.23, allocations: 207.6 kB / 1.124 GB, free: 37.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/1.23, allocations: 0.5 kB / 1.124 GB, free: 37.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/1.23, allocations: 34.22 kB / 1.124 GB, free: 37.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.23, allocations: 0 / 1.124 GB, free: 37.69 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/1.23, allocations: 4.562 kB / 1.124 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/1.23, allocations: 4.578 kB / 1.124 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.23, allocations: 0.5625 kB / 1.124 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/1.23, allocations: 193.3 kB / 1.125 GB, free: 37.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.441e-05/1.23, allocations: 99.59 kB / 1.125 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/1.23, allocations: 5.625 kB / 1.125 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/1.23, allocations: 23.3 kB / 1.125 GB, free: 37.38 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/1.23, allocations: 14.92 kB / 1.125 GB, free: 37.37 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/1.23, allocations: 1.875 kB / 1.125 GB, free: 37.37 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001015/1.231, allocations: 125.7 kB / 1.125 GB, free: 37.26 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.7e-07/1.231, allocations: 0 / 1.125 GB, free: 37.26 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003603/1.231, allocations: 20 kB / 1.125 GB, free: 37.24 MB / 0.7448 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 () * 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.0005247/1.231, allocations: 0.7489 MB / 1.126 GB, free: 36.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001842/1.232, allocations: 57.56 kB / 1.126 GB, free: 36.46 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.232, allocations: 0 / 1.126 GB, free: 36.46 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.103e-05/1.232, allocations: 35.44 kB / 1.126 GB, free: 36.44 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/1.232, allocations: 37.19 kB / 1.126 GB, free: 36.42 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006824/1.233, allocations: 177.7 kB / 1.126 GB, free: 36.24 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/1.233, allocations: 0.7022 MB / 1.127 GB, free: 35.53 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001/1.233, allocations: 12.3 kB / 1.127 GB, free: 35.52 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.306e-05/1.233, allocations: 33.72 kB / 1.127 GB, free: 35.51 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/1.233, allocations: 0 / 1.127 GB, free: 35.51 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/1.252, allocations: 2.636 MB / 1.129 GB, free: 34.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/1.253, allocations: 179.8 kB / 1.129 GB, free: 33.85 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.996, allocations: 0 / 1.129 GB, free: 33.85 MB / 0.7448 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/linux/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)