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.5757/0.5757, allocations: 94.78 MB / 102.3 MB, free: 10.12 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.001112/0.001113, allocations: 171.2 kB / 125.6 MB, free: 11.87 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.971/1.971, allocations: 170.6 MB / 319.4 MB, free: 9.344 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.001894/0.001894, allocations: 104.3 kB / 381.3 MB, free: 18.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.912e-05, allocations: 4 kB / 449.1 MB, free: 1.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1743, allocations: 61.53 MB / 0.4987 GB, free: 4.113 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.98/16.16, allocations: 5.202 GB / 5.701 GB, free: 75.11 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004298/16.16, allocations: 91.94 kB / 5.701 GB, free: 75.02 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1508/16.31, allocations: 71.52 MB / 5.771 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.494e-06/16.31, allocations: 4 kB / 5.771 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.259e-05/16.31, allocations: 4 kB / 5.771 GB, free: 2.66 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.001651/16.31, allocations: 0.6324 MB / 5.772 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/16.31, allocations: 8.031 kB / 5.772 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004978/16.31, allocations: 51.69 kB / 5.772 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005789/16.31, allocations: 278.5 kB / 5.772 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.705e-05/16.31, allocations: 41.64 kB / 5.772 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.288e-05/16.31, allocations: 16 kB / 5.772 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002311/16.31, allocations: 92.2 kB / 5.772 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/16.31, allocations: 172.3 kB / 5.772 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/16.31, allocations: 0 / 5.772 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/16.31, allocations: 3.984 kB / 5.772 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/16.31, allocations: 4 kB / 5.772 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/16.31, allocations: 0.7977 MB / 5.773 GB, free: 436 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006459/16.31, allocations: 138.5 kB / 5.773 GB, free: 288 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/16.31, allocations: 72.83 kB / 5.773 GB, free: 212 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/16.31, allocations: 3.984 kB / 5.773 GB, free: 208 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002582/16.32, allocations: 169 kB / 5.773 GB, free: 20 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 2.244e-06/16.32, allocations: 0 / 5.773 GB, free: 20 kB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.4535/16.77, allocations: 0.5245 MB / 5.774 GB, free: 136 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/16.77, allocations: 84.11 kB / 5.774 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/16.77, allocations: 240.2 kB / 5.774 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.092e-05/16.77, allocations: 30.56 kB / 5.774 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.424e-05/16.77, allocations: 145.5 kB / 5.774 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/16.77, allocations: 46.12 kB / 5.774 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/16.77, allocations: 0.625 kB / 5.774 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.835e-05/16.77, allocations: 339.6 kB / 5.775 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/16.77, allocations: 106 kB / 5.775 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/16.77, allocations: 169.3 kB / 5.775 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/16.77, allocations: 130.8 kB / 5.775 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/16.77, allocations: 2.922 kB / 5.775 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.002337/16.77, allocations: 0.6478 MB / 5.776 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/16.77, allocations: 37.52 kB / 5.776 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/16.77, allocations: 6.906 kB / 5.776 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004948/16.77, allocations: 137.3 kB / 5.776 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/16.77, allocations: 34.3 kB / 5.776 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008546/16.77, allocations: 1.264 MB / 5.777 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/16.77, allocations: 32.45 kB / 5.777 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-05/16.77, allocations: 23.64 kB / 5.777 GB, free: 134.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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: eva.XEvaWetBulOut_nominal:VARIABLE(min = 0.0 max = 1.0 unit = "1" fixed = false protected = true final = true ) "Water vapor mass fraction at nominal outlet wet bulb condition" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: eva.XEvaWetBulOut:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at wet bulb conditions at air inlet" type: Real eva.mEva_flow:VARIABLE(max = 0.0 unit = "kg/s" ) "Moisture mass flow rate that evaporates into air stream" type: Real eva.mTotWat_flow:VARIABLE(unit = "kg/s" ) "Total moisture mass flow rate into the air stream" type: Real eva.dX:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Difference in water vapor concentration that drives mass transfer" type: Real 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.0002253/16.77, allocations: 164.5 kB / 5.777 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/16.77, allocations: 25.28 kB / 5.777 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/16.77, allocations: 27.03 kB / 5.777 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/16.77, allocations: 5.969 kB / 5.777 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/16.77, allocations: 0 / 5.777 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/16.77, allocations: 3.281 kB / 5.777 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009961/16.78, allocations: 0.6585 MB / 5.778 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/16.78, allocations: 0 / 5.778 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.872e-05/16.78, allocations: 8.969 kB / 5.778 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001553/16.78, allocations: 86.83 kB / 5.778 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/16.78, allocations: 6.391 kB / 5.778 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005543/16.78, allocations: 0.7238 MB / 5.779 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/16.78, allocations: 5.219 kB / 5.779 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008808/16.78, allocations: 0.5241 MB / 5.779 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/16.78, allocations: 124.7 kB / 5.779 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/16.78, allocations: 5.531 kB / 5.779 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/16.78, allocations: 9.266 kB / 5.779 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/16.78, allocations: 14.09 kB / 5.779 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/16.78, allocations: 12.47 kB / 5.78 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001542/16.78, allocations: 183.3 kB / 5.78 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/16.78, allocations: 3.844 kB / 5.78 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007005/16.78, allocations: 185.1 kB / 5.78 GB, free: 132.7 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.001346/16.78, allocations: 0.8944 MB / 5.781 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00093/16.78, allocations: 349.7 kB / 5.781 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/16.78, allocations: 0 / 5.781 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005278/16.78, allocations: 195.9 kB / 5.781 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/16.78, allocations: 48.33 kB / 5.781 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007803/16.78, allocations: 374.4 kB / 5.782 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/16.78, allocations: 0.7615 MB / 5.782 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.758e-05/16.78, allocations: 22.36 kB / 5.782 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/16.78, allocations: 18.34 kB / 5.782 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/16.78, allocations: 0 / 5.782 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.0178/16.8, allocations: 8.998 MB / 5.791 GB, free: 131 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)