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.5938/0.5938, allocations: 94.69 MB / 107.2 MB, free: 5.184 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.001566/0.001566, allocations: 179.5 kB / 130.7 MB, free: 7.547 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.898/1.898, allocations: 170.5 MB / 324.5 MB, free: 4.012 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.002125/0.002125, allocations: 109.9 kB / 386.6 MB, free: 16.21 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.456e-05/4.458e-05, allocations: 4 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5581/0.5582, allocations: 61.52 MB / 0.5054 GB, free: 49.31 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.4/16.96, allocations: 5.203 GB / 5.708 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004032/16.96, allocations: 97.39 kB / 5.708 GB, free: 25.57 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5982/17.56, allocations: 72.61 MB / 5.779 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.913e-06/17.56, allocations: 0 / 5.779 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.378e-05/17.56, allocations: 8.062 kB / 5.779 GB, free: 147.6 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.001341/17.56, allocations: 0.6288 MB / 5.78 GB, free: 147 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/17.56, allocations: 9.344 kB / 5.78 GB, free: 147 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003572/17.56, allocations: 55.52 kB / 5.78 GB, free: 147 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/17.56, allocations: 287.5 kB / 5.78 GB, free: 146.8 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.0003109/17.56, allocations: 170.8 kB / 5.78 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-05/17.56, allocations: 20.56 kB / 5.78 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/17.56, allocations: 189.7 kB / 5.781 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/17.56, allocations: 0 / 5.781 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/17.56, allocations: 10.16 kB / 5.781 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/17.56, allocations: 2.438 kB / 5.781 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/17.56, allocations: 97.95 kB / 5.781 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/17.57, allocations: 0.8363 MB / 5.782 GB, free: 146 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000663/17.57, allocations: 137 kB / 5.782 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/17.57, allocations: 79.59 kB / 5.782 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/17.57, allocations: 1.094 kB / 5.782 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002602/17.57, allocations: 178 kB / 5.782 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/17.57, allocations: 0 / 5.782 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.002649/17.57, allocations: 0.5733 MB / 5.782 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/17.57, allocations: 79.92 kB / 5.783 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003561/17.57, allocations: 280 kB / 5.783 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/17.57, allocations: 33.17 kB / 5.783 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.494e-05/17.57, allocations: 141.1 kB / 5.783 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/17.57, allocations: 50.41 kB / 5.783 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/17.57, allocations: 5.219 kB / 5.783 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.812e-05/17.57, allocations: 346.4 kB / 5.783 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/17.57, allocations: 110.9 kB / 5.783 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/17.57, allocations: 156.3 kB / 5.784 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/17.57, allocations: 155.2 kB / 5.784 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/17.57, allocations: 0 / 5.784 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.002525/17.57, allocations: 0.6795 MB / 5.784 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.3e-05/17.57, allocations: 35.88 kB / 5.784 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/17.57, allocations: 3.234 kB / 5.784 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006321/17.57, allocations: 146.5 kB / 5.785 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/17.57, allocations: 32.41 kB / 5.785 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/17.58, allocations: 1.265 MB / 5.786 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003555/17.58, allocations: 34.69 kB / 5.786 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.581e-05/17.58, allocations: 22.78 kB / 5.786 GB, free: 143.1 MB / 0.5261 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = false 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 () * 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.0002708/17.58, allocations: 159.9 kB / 5.786 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/17.58, allocations: 33.14 kB / 5.786 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.976e-05/17.58, allocations: 24.11 kB / 5.786 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/17.58, allocations: 1.219 kB / 5.786 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/17.58, allocations: 0 / 5.786 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/17.58, allocations: 4.5 kB / 5.786 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/17.58, allocations: 0.7306 MB / 5.787 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/17.58, allocations: 1.125 kB / 5.787 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.189e-05/17.58, allocations: 4.375 kB / 5.787 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002153/17.58, allocations: 87.84 kB / 5.787 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/17.58, allocations: 14.95 kB / 5.787 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007163/17.58, allocations: 0.7128 MB / 5.788 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/17.58, allocations: 1.062 kB / 5.788 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/17.58, allocations: 0.5632 MB / 5.788 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/17.58, allocations: 128.2 kB / 5.788 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/17.58, allocations: 3.094 kB / 5.788 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/17.58, allocations: 9.875 kB / 5.788 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/17.58, allocations: 12.89 kB / 5.788 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/17.58, allocations: 14.06 kB / 5.788 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002759/17.58, allocations: 220.7 kB / 5.789 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/17.58, allocations: 5.281 kB / 5.789 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001042/17.58, allocations: 184.4 kB / 5.789 GB, free: 141.1 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) * 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.001476/17.58, allocations: 0.7627 MB / 5.79 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001196/17.59, allocations: 376.5 kB / 5.79 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/17.59, allocations: 4 kB / 5.79 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005772/17.59, allocations: 198 kB / 5.79 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/17.59, allocations: 54.03 kB / 5.79 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008718/17.59, allocations: 382.2 kB / 5.79 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/17.59, allocations: 0.755 MB / 5.791 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001564/17.59, allocations: 21.98 kB / 5.791 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/17.59, allocations: 21.53 kB / 5.791 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of SimCode: time 3.2e-07/17.59, allocations: 0 / 5.791 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.02538/17.61, allocations: 16.09 MB / 5.807 GB, free: 137.4 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)