Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001142, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 197 kB / 16.14 MB, free: 6.703 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.667/1.667, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6048/0.6048, allocations: 95.47 MB / 364.8 MB, free: 10.13 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 67.91 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4333, allocations: 69.06 MB / 0.5017 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002658/0.4361, allocations: 1.846 MB / 0.5035 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007813/0.4369, allocations: 448.6 kB / 0.5039 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.496e-05/0.437, allocations: 4 kB / 0.5039 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.138e-05/0.4371, allocations: 11.92 kB / 0.504 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.969e-05/0.4372, allocations: 19.78 kB / 0.504 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.4376, allocations: 71.88 kB / 0.504 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.4378, allocations: 131.4 kB / 0.5042 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.4379, allocations: 53.44 kB / 0.5042 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.4381, allocations: 39.84 kB / 0.5043 GB, free: 15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.4382, allocations: 59.7 kB / 0.5043 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.4382, allocations: 8 kB / 0.5043 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.4385, allocations: 99.89 kB / 0.5044 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.154e-05/0.4385, allocations: 19.92 kB / 0.5044 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.708e-05/0.4386, allocations: 63.59 kB / 0.5045 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.4389, allocations: 161.4 kB / 0.5047 GB, free: 14.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.4389, allocations: 0 / 0.5047 GB, free: 14.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4389, allocations: 0 / 0.5047 GB, free: 14.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.4389, allocations: 0 / 0.5047 GB, free: 14.6 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008929/0.4398, allocations: 471.2 kB / 0.5051 GB, free: 14.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.4399, allocations: 11.98 kB / 0.5051 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.331e-05/0.4399, allocations: 16.75 kB / 0.5051 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.4401, allocations: 194.1 kB / 0.5053 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.4401, allocations: 8.234 kB / 0.5053 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.4401, allocations: 12 kB / 0.5053 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.4405, allocations: 127.5 kB / 0.5055 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.4406, allocations: 0 / 0.5055 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.4406, allocations: 12 kB / 0.5055 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.4406, allocations: 3.938 kB / 0.5055 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003717/0.441, allocations: 128.5 kB / 0.5056 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006809/0.4417, allocations: 436.4 kB / 0.506 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.4421, allocations: 114.5 kB / 0.5061 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.4422, allocations: 72.8 kB / 0.5062 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003703/0.4426, allocations: 0.5622 MB / 0.5067 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.4426, allocations: 30.56 kB / 0.5068 GB, free: 12.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.783e-06/0.4427, allocations: 0 / 0.5068 GB, free: 12.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005764/0.4432, allocations: 197.3 kB / 0.507 GB, free: 11.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.4433, allocations: 55.41 kB / 0.507 GB, free: 11.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.4434, allocations: 183.5 kB / 0.5072 GB, free: 11.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.4434, allocations: 29.7 kB / 0.5072 GB, free: 11.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.4435, allocations: 108.1 kB / 0.5073 GB, free: 11.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.4435, allocations: 39.44 kB / 0.5074 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.4435, allocations: 17.72 kB / 0.5074 GB, free: 11.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.242e-05/0.4436, allocations: 330.8 kB / 0.5077 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.4438, allocations: 48.33 kB / 0.5077 GB, free: 11.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.4439, allocations: 51.89 kB / 0.5078 GB, free: 11.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.4442, allocations: 104.7 kB / 0.5079 GB, free: 10.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4442, allocations: 0 / 0.5079 GB, free: 10.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003378/0.4445, allocations: 153.4 kB / 0.508 GB, free: 10.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.4445, allocations: 8 kB / 0.508 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4446, allocations: 0 / 0.508 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.4446, allocations: 0 / 0.508 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.4447, allocations: 31.97 kB / 0.5081 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.4447, allocations: 0 / 0.5081 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.599e-05/0.4448, allocations: 23.83 kB / 0.5081 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.4449, allocations: 4 kB / 0.5081 GB, free: 10.73 MB / 382.1 MB 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 (10): * Single equations (assignments): 10 * 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 6.832e-05/0.4449, allocations: 121.8 kB / 0.5082 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.445, allocations: 11.91 kB / 0.5082 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003859/0.4454, allocations: 166.9 kB / 0.5084 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4454, allocations: 3.938 kB / 0.5084 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4454, allocations: 0 / 0.5084 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4454, allocations: 3.984 kB / 0.5084 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.4456, allocations: 237.3 kB / 0.5086 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.4456, allocations: 384 / 0.5086 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.4457, allocations: 27.97 kB / 0.5086 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4457, allocations: 0 / 0.5086 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.4457, allocations: 0 / 0.5086 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4457, allocations: 3.938 kB / 0.5086 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4457, allocations: 4 kB / 0.5086 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.4461, allocations: 251.2 kB / 0.5089 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.4462, allocations: 96.91 kB / 0.509 GB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.4462, allocations: 4 kB / 0.509 GB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.4463, allocations: 15.98 kB / 0.509 GB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.4464, allocations: 7.984 kB / 0.509 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.4464, allocations: 4 kB / 0.509 GB, free: 9.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.025e-05/0.4464, allocations: 136.1 kB / 0.5091 GB, free: 9.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4465, allocations: 0 / 0.5091 GB, free: 9.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.4467, allocations: 24 kB / 0.5092 GB, free: 9.539 MB / 382.1 MB 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 (10): * Single equations (assignments): 10 * 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.0001673/0.4469, allocations: 111.2 kB / 0.5093 GB, free: 9.418 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003615/0.4472, allocations: 115.8 kB / 0.5094 GB, free: 9.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4472, allocations: 0 / 0.5094 GB, free: 9.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.4474, allocations: 63.89 kB / 0.5094 GB, free: 9.242 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.4479, allocations: 40.44 kB / 0.5095 GB, free: 9.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.4483, allocations: 309.9 kB / 0.5098 GB, free: 8.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.4484, allocations: 0.7045 MB / 0.5105 GB, free: 8.145 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.648e-05/0.4485, allocations: 12.64 kB / 0.5105 GB, free: 8.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.4485, allocations: 15.44 kB / 0.5105 GB, free: 8.117 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4485, allocations: 0 / 0.5105 GB, free: 8.117 MB / 382.1 MB Notification: Performance of Templates: time 0.004183/0.4527, allocations: 1.699 MB / 0.5121 GB, free: 6.457 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1)