Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.612/1.612, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.001398/0.001398, allocations: 180.8 kB / 366.7 MB, free: 1.664 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.731/1.731, allocations: 205.2 MB / 0.626 GB, free: 7.148 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.0008152/0.0008148, allocations: 83.81 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.135e-05/2.138e-05, allocations: 15.98 kB / 0.8597 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6682/0.6682, allocations: 116.3 MB / 0.9733 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.651/5.32, allocations: 2.065 GB / 3.038 GB, free: 19.27 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/5.32, allocations: 101.3 kB / 3.038 GB, free: 19.22 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6744/5.994, allocations: 50.15 MB / 3.087 GB, free: 332.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.343e-06/5.994, allocations: 0 / 3.087 GB, free: 332.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.71e-05/5.994, allocations: 10.72 kB / 3.087 GB, free: 332.3 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001624/5.996, allocations: 0.6494 MB / 3.088 GB, free: 331.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/5.996, allocations: 9.5 kB / 3.088 GB, free: 331.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/5.998, allocations: 153.8 kB / 3.088 GB, free: 331.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006276/5.998, allocations: 310.1 kB / 3.088 GB, free: 331.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/5.998, allocations: 34.61 kB / 3.088 GB, free: 331.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/5.999, allocations: 12.09 kB / 3.088 GB, free: 331.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002603/5.999, allocations: 110.5 kB / 3.088 GB, free: 331.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/5.999, allocations: 193 kB / 3.089 GB, free: 331.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/5.999, allocations: 0 / 3.089 GB, free: 331.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/5.999, allocations: 1.156 kB / 3.089 GB, free: 331.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/5.999, allocations: 3.625 kB / 3.089 GB, free: 331.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/6.002, allocations: 0.9685 MB / 3.089 GB, free: 330.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007472/6.003, allocations: 159.4 kB / 3.09 GB, free: 330.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/6.003, allocations: 94.97 kB / 3.09 GB, free: 330.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/6.003, allocations: 4.969 kB / 3.09 GB, free: 330.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003109/6.003, allocations: 181.7 kB / 3.09 GB, free: 330.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 2.024e-06/6.003, allocations: 3.469 kB / 3.09 GB, free: 330.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.003328/6.006, allocations: 0.6104 MB / 3.09 GB, free: 330.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/6.007, allocations: 80.84 kB / 3.091 GB, free: 330.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003907/6.007, allocations: 269.9 kB / 3.091 GB, free: 330.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.627e-05/6.007, allocations: 28.11 kB / 3.091 GB, free: 330.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/6.007, allocations: 154.1 kB / 3.091 GB, free: 330 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/6.007, allocations: 51.45 kB / 3.091 GB, free: 329.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/6.007, allocations: 1.125 kB / 3.091 GB, free: 329.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.896e-05/6.007, allocations: 339.9 kB / 3.091 GB, free: 329.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/6.008, allocations: 128.1 kB / 3.092 GB, free: 329.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/6.008, allocations: 202 kB / 3.092 GB, free: 329.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/6.008, allocations: 134.7 kB / 3.092 GB, free: 329.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/6.008, allocations: 0.9688 kB / 3.092 GB, free: 329.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003514/6.012, allocations: 0.8 MB / 3.093 GB, free: 329.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/6.012, allocations: 41.53 kB / 3.093 GB, free: 329.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/6.012, allocations: 5.375 kB / 3.093 GB, free: 329.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008132/6.013, allocations: 178.1 kB / 3.093 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/6.013, allocations: 43.03 kB / 3.093 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/6.015, allocations: 2.156 MB / 3.095 GB, free: 327.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005601/6.016, allocations: 41.06 kB / 3.095 GB, free: 327.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-05/6.016, allocations: 24.02 kB / 3.095 GB, free: 327.1 MB / 0.948 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 equation system with analytic Jacobian: eva.mTotWat_flow:VARIABLE(unit = "kg/s" ) "Total moisture mass flow rate into the air stream" type: Real eva.XiSatRefOut:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at saturation, referenced to outlet mass flow rate" type: Real eva.dX:VARIABLE(min = -1.0 max = 0.0 unit = "1" protected = true ) "Difference in water vapor concentration that drives mass transfer" type: Real 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.eva.off,eva.off,$whenCondition1,mAir_flow.a,mAir_flow.b,mAir_flow.last,$PRE.mAir_flow.nextEvent,mAir_flow.nextEvent,mAir_flow.nextEventScaled,int.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * 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 {7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000288/6.016, allocations: 170.1 kB / 3.095 GB, free: 327 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.625e-05/6.016, allocations: 30.59 kB / 3.095 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/6.016, allocations: 23.75 kB / 3.095 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/6.016, allocations: 1.188 kB / 3.095 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/6.016, allocations: 1.703 kB / 3.095 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/6.016, allocations: 0.7969 kB / 3.095 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003399/6.02, allocations: 0.9747 MB / 3.096 GB, free: 326.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/6.02, allocations: 0 / 3.096 GB, free: 326.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.997e-05/6.02, allocations: 7.938 kB / 3.096 GB, free: 326.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000187/6.02, allocations: 91.11 kB / 3.096 GB, free: 326.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/6.02, allocations: 11.55 kB / 3.096 GB, free: 326.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006658/6.021, allocations: 0.7374 MB / 3.097 GB, free: 325.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/6.021, allocations: 3.938 kB / 3.097 GB, free: 325.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003007/6.024, allocations: 0.8406 MB / 3.098 GB, free: 325.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/6.024, allocations: 146.7 kB / 3.098 GB, free: 325.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.191e-05/6.024, allocations: 3.438 kB / 3.098 GB, free: 325.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/6.024, allocations: 12.2 kB / 3.098 GB, free: 325.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/6.025, allocations: 8.531 kB / 3.098 GB, free: 325.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/6.025, allocations: 14.64 kB / 3.098 GB, free: 325.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002422/6.025, allocations: 205.1 kB / 3.098 GB, free: 325.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/6.025, allocations: 7.844 kB / 3.098 GB, free: 325.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008324/6.026, allocations: 146 kB / 3.098 GB, free: 325.2 MB / 0.948 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: 8 ($whenCondition2,$whenCondition1,eva.off,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,mAir_flow.nextEventScaled) * Number of discrete states: 7 (eva.off,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.nextEventScaled,mAir_flow.b,mAir_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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 {7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001516/6.027, allocations: 0.7981 MB / 3.099 GB, free: 324.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001495/6.029, allocations: 0.5117 MB / 3.1 GB, free: 324.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/6.029, allocations: 1.219 kB / 3.1 GB, free: 324.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006659/6.029, allocations: 233.3 kB / 3.1 GB, free: 324.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/6.03, allocations: 53.94 kB / 3.1 GB, free: 324.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009733/6.031, allocations: 412.2 kB / 3.1 GB, free: 324.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/6.031, allocations: 0.7703 MB / 3.101 GB, free: 323.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000228/6.031, allocations: 27.09 kB / 3.101 GB, free: 323.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.948e-05/6.031, allocations: 21.38 kB / 3.101 GB, free: 323.5 MB / 0.948 GB Notification: Performance of SimCode: time 3.81e-07/6.031, allocations: 0 / 3.101 GB, free: 323.5 MB / 0.948 GB Notification: Performance of Templates: time 0.01844/6.05, allocations: 9.613 MB / 3.111 GB, free: 322.5 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)