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.74/1.74, allocations: 289.9 MB / 297.4 MB, free: 6.414 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.001038/0.001039, allocations: 180.8 kB / 366.7 MB, free: 1.672 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.884/1.884, allocations: 205.3 MB / 0.626 GB, free: 7.18 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.0009885/0.0009886, allocations: 81.47 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.648e-05/2.651e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7688/0.7689, allocations: 116.3 MB / 0.9734 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2313/1, allocations: 140.8 MB / 1.111 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/1.001, allocations: 88.66 kB / 1.111 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.009196/1.01, allocations: 2.962 MB / 1.114 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.635e-06/1.01, allocations: 4 kB / 1.114 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.072e-05/1.01, allocations: 0 / 1.114 GB, free: 6.332 MB / 0.7136 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.0006664/1.011, allocations: 439.1 kB / 1.114 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/1.011, allocations: 8.031 kB / 1.114 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/1.011, allocations: 11.91 kB / 1.114 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/1.011, allocations: 192.8 kB / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/1.011, allocations: 0 / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/1.011, allocations: 11.03 kB / 1.114 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001643/1.011, allocations: 59.98 kB / 1.114 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/1.011, allocations: 77.67 kB / 1.115 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.011, allocations: 0 / 1.115 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/1.011, allocations: 0 / 1.115 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/1.011, allocations: 10.7 kB / 1.115 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006647/1.012, allocations: 364.9 kB / 1.115 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/1.012, allocations: 74.55 kB / 1.115 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.713e-05/1.012, allocations: 44.89 kB / 1.115 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005346/1.013, allocations: 0.5544 MB / 1.116 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/1.013, allocations: 38.52 kB / 1.116 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/1.013, allocations: 0 / 1.116 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002797/1.013, allocations: 85.72 kB / 1.116 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/1.013, allocations: 59.34 kB / 1.116 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/1.013, allocations: 110 kB / 1.116 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/1.013, allocations: 29.7 kB / 1.116 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.364e-05/1.013, allocations: 104.2 kB / 1.116 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/1.014, allocations: 27.56 kB / 1.116 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/1.014, allocations: 0 / 1.116 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.014, allocations: 322.8 kB / 1.116 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.389e-05/1.014, allocations: 20 kB / 1.116 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.858e-05/1.014, allocations: 16 kB / 1.116 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.613e-05/1.014, allocations: 29.14 kB / 1.116 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.014, allocations: 0 / 1.116 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001587/1.014, allocations: 88.41 kB / 1.116 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.014, allocations: 5.562 kB / 1.116 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/1.014, allocations: 4 kB / 1.116 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/1.014, allocations: 3.953 kB / 1.116 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/1.014, allocations: 35.91 kB / 1.117 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/1.014, allocations: 4 kB / 1.117 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/1.014, allocations: 23.89 kB / 1.117 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/1.014, allocations: 0 / 1.117 GB, free: 3.211 MB / 0.7136 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 8.761e-05/1.015, allocations: 101 kB / 1.117 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001651/1.015, allocations: 92.28 kB / 1.117 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/1.015, allocations: 11.86 kB / 1.117 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/1.015, allocations: 102.2 kB / 1.117 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.015, allocations: 4 kB / 1.117 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.015, allocations: 0 / 1.117 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/1.015, allocations: 0 / 1.117 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/1.015, allocations: 182.1 kB / 1.117 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.015, allocations: 0 / 1.117 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/1.015, allocations: 31.97 kB / 1.117 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.015, allocations: 1.688 kB / 1.117 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/1.015, allocations: 0 / 1.117 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/1.015, allocations: 3.953 kB / 1.117 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.015, allocations: 4 kB / 1.117 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/1.016, allocations: 187.4 kB / 1.117 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/1.016, allocations: 89 kB / 1.117 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/1.016, allocations: 4 kB / 1.117 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/1.016, allocations: 23.91 kB / 1.117 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/1.016, allocations: 7.953 kB / 1.117 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/1.016, allocations: 7.984 kB / 1.117 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.414e-05/1.016, allocations: 96.06 kB / 1.117 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/1.016, allocations: 4 kB / 1.117 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002524/1.016, allocations: 23.94 kB / 1.117 GB, free: 2.172 MB / 0.7136 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.0006717/1.017, allocations: 0.7241 MB / 1.118 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001501/1.017, allocations: 59.94 kB / 1.118 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.017, allocations: 0 / 1.118 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.178e-05/1.017, allocations: 35.92 kB / 1.118 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/1.018, allocations: 19.94 kB / 1.118 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/1.018, allocations: 170 kB / 1.118 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/1.018, allocations: 0.7048 MB / 1.119 GB, free: 372 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.661e-05/1.019, allocations: 7.781 kB / 1.119 GB, free: 364 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.925e-05/1.019, allocations: 36.64 kB / 1.119 GB, free: 328 kB / 0.7136 GB Notification: Performance of SimCode: time 4.41e-07/1.019, allocations: 0 / 1.119 GB, free: 328 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02717/1.046, allocations: 1.853 MB / 1.121 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/1.046, allocations: 164.2 kB / 1.121 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.786, allocations: 1.25 kB / 1.121 GB, free: 14.34 MB / 0.7292 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)