Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5479/0.5479, allocations: 95.61 MB / 110.6 MB, free: 9.383 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001365/0.001365, allocations: 176 kB / 134.2 MB, free: 2.258 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.638/1.638, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001878/0.001878, allocations: 123.1 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003755, allocations: 15.98 kB / 462.7 MB, free: 35.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1522, allocations: 61.53 MB / 0.512 GB, free: 6.074 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.53/13.69, allocations: 5.203 GB / 5.715 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000428/13.69, allocations: 99.92 kB / 5.715 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5571/14.24, allocations: 72.77 MB / 5.786 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.158e-06/14.24, allocations: 4 kB / 5.786 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.397e-05/14.24, allocations: 4 kB / 5.786 GB, free: 149.3 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001935/14.25, allocations: 0.672 MB / 5.787 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/14.25, allocations: 11.98 kB / 5.787 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004833/14.25, allocations: 55.61 kB / 5.787 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005835/14.25, allocations: 286.4 kB / 5.787 GB, free: 148.2 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Fluid/HeatExchangers/DXCoils/BaseClasses/Evaporation.mo:172:6-179:62:writable] Warning: If-equations are only partially supported. Ignoring algorithm Modelica.Utilities.Streams.print("Warning: In DX coil model, gamma is too large for these coil conditions. Instead of gamma = " + String(eva.nomVal.gamma, 6, 0, true) + ", a value of " + String(eva.gammaMax, 6, 0, true) + ", which corresponds to a mass transfer effectiveness of 0.8, will be used. Coil nominal performance data are: nomVal.m_flow_nominal = " + String(eva.nomVal.m_flow_nominal, 6, 0, true) + " dX_nominal = XEvaOut_nominal-XEvaWetBulOut_nominal = " + String(eva.XEvaOut_nominal, 6, 0, true) + " - " + String(eva.XEvaWetBulOut_nominal, 6, 0, true) + " = " + String(eva.dX_nominal, 6, 0, true) + " QLat_flow_nominal = " + String(eva.QLat_flow_nominal, 6, 0, true) + "", "");. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Fluid/HeatExchangers/DXCoils/BaseClasses/Evaporation.mo:160:6-164:100:writable] Warning: If-equations are only partially supported. Ignoring algorithm Modelica.Utilities.Streams.print("Warning: In DX coil model, dX_nominal = " + String(eva.dX_nominal, 6, 0, true) + " This means that the coil is not dehumidifying air at the nominal conditions. Check nominal parameters. " + Buildings.Fluid.HeatExchangers.DXCoils.Data.Generic.BaseClasses.nominalValuesToString(eva.nomVal), "");. Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003254/14.25, allocations: 174.7 kB / 5.787 GB, free: 148 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/14.25, allocations: 19.98 kB / 5.787 GB, free: 148 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/14.25, allocations: 204.8 kB / 5.788 GB, free: 147.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/14.25, allocations: 0 / 5.788 GB, free: 147.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/14.25, allocations: 11.94 kB / 5.788 GB, free: 147.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/14.25, allocations: 4 kB / 5.788 GB, free: 147.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/14.25, allocations: 104.3 kB / 5.788 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/14.25, allocations: 0.8363 MB / 5.788 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008055/14.25, allocations: 150.5 kB / 5.789 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/14.25, allocations: 4 kB / 5.789 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003292/14.25, allocations: 184.9 kB / 5.789 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 2.525e-06/14.25, allocations: 0 / 5.789 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.003968/14.26, allocations: 0.879 MB / 5.79 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/14.26, allocations: 81.11 kB / 5.79 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/14.26, allocations: 283.6 kB / 5.79 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.871e-05/14.26, allocations: 33.7 kB / 5.79 GB, free: 145 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/14.26, allocations: 143.7 kB / 5.79 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.559e-05/14.26, allocations: 47.34 kB / 5.79 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/14.26, allocations: 8 kB / 5.79 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001137/14.26, allocations: 338.8 kB / 5.791 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/14.26, allocations: 124.2 kB / 5.791 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/14.26, allocations: 167.1 kB / 5.791 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/14.26, allocations: 163.2 kB / 5.791 GB, free: 144 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/14.26, allocations: 0 / 5.791 GB, free: 144 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.002909/14.26, allocations: 0.7188 MB / 5.792 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.955e-05/14.26, allocations: 37.69 kB / 5.792 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/14.26, allocations: 4 kB / 5.792 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007632/14.26, allocations: 165.6 kB / 5.792 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/14.26, allocations: 31.92 kB / 5.792 GB, free: 143 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/14.26, allocations: 1.275 MB / 5.793 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004146/14.26, allocations: 39.73 kB / 5.793 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.969e-05/14.26, allocations: 23.94 kB / 5.793 GB, free: 141.7 MB / 0.5261 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$PRE.eva.off,eva.off,$whenCondition1,mAir_flow.a,mAir_flow.b,mAir_flow.last,$PRE.mAir_flow.nextEvent,mAir_flow.nextEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {6} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003173/14.26, allocations: 171.5 kB / 5.793 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/14.26, allocations: 31.62 kB / 5.793 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.098e-05/14.26, allocations: 30.36 kB / 5.793 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/14.26, allocations: 0 / 5.793 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/14.26, allocations: 192 / 5.793 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/14.26, allocations: 8 kB / 5.793 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/14.27, allocations: 0.7544 MB / 5.794 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/14.27, allocations: 4 kB / 5.794 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.581e-05/14.27, allocations: 8 kB / 5.794 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003267/14.27, allocations: 100.8 kB / 5.794 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/14.27, allocations: 11.98 kB / 5.794 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008381/14.27, allocations: 0.7304 MB / 5.795 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/14.27, allocations: 0 / 5.795 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/14.27, allocations: 0.6217 MB / 5.796 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/14.27, allocations: 132.7 kB / 5.796 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.638e-05/14.27, allocations: 4 kB / 5.796 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/14.27, allocations: 16.05 kB / 5.796 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.624e-05/14.27, allocations: 11.97 kB / 5.796 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/14.27, allocations: 8 kB / 5.796 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002557/14.27, allocations: 223 kB / 5.796 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/14.27, allocations: 0 / 5.796 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001172/14.27, allocations: 184 kB / 5.796 GB, free: 138.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (eva.m,int.y) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,eva.off,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent) * Number of discrete states: 6 (eva.off,mAir_flow.last,mAir_flow.nextEvent,mAir_flow.b,mAir_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {6} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001965/14.27, allocations: 0.7621 MB / 5.797 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001352/14.27, allocations: 392 kB / 5.797 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/14.27, allocations: 0 / 5.797 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006823/14.27, allocations: 208.3 kB / 5.797 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/14.27, allocations: 65.98 kB / 5.798 GB, free: 137 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/14.28, allocations: 0.8056 MB / 5.798 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/14.28, allocations: 0.7596 MB / 5.799 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001664/14.28, allocations: 25.94 kB / 5.799 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/14.28, allocations: 19.44 kB / 5.799 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of SimCode: time 4.41e-07/14.28, allocations: 0 / 5.799 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.02223/14.3, allocations: 14.09 MB / 5.813 GB, free: 121.3 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)