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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.773/1.773, allocations: 289.9 MB / 297.4 MB, free: 6.43 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.001352/0.001352, allocations: 188.8 kB / 366.7 MB, free: 1.688 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.762/1.762, allocations: 205.3 MB / 0.626 GB, free: 7.164 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.0008514/0.0008515, allocations: 81.72 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.168e-05/3.161e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7815/0.7816, allocations: 116.3 MB / 0.9734 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.358/6.139, allocations: 2.065 GB / 3.038 GB, free: 18.77 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/6.14, allocations: 94.75 kB / 3.038 GB, free: 18.72 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9212/7.061, allocations: 50.14 MB / 3.087 GB, free: 332.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.847e-06/7.061, allocations: 1.031 kB / 3.087 GB, free: 332.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.641e-05/7.061, allocations: 5.125 kB / 3.087 GB, free: 332.5 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.002035/7.063, allocations: 0.6522 MB / 3.088 GB, free: 331.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/7.063, allocations: 9.469 kB / 3.088 GB, free: 331.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/7.065, allocations: 155.9 kB / 3.088 GB, free: 331.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008553/7.066, allocations: 316.9 kB / 3.088 GB, free: 331.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.594e-05/7.066, allocations: 33.83 kB / 3.088 GB, free: 331.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/7.066, allocations: 12.84 kB / 3.088 GB, free: 331.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003255/7.067, allocations: 109.3 kB / 3.088 GB, free: 331.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/7.067, allocations: 196.7 kB / 3.089 GB, free: 331.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/7.067, allocations: 0.75 kB / 3.089 GB, free: 331.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/7.067, allocations: 5.562 kB / 3.089 GB, free: 331.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/7.067, allocations: 2.531 kB / 3.089 GB, free: 331.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003027/7.07, allocations: 0.972 MB / 3.09 GB, free: 330.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007723/7.071, allocations: 156.1 kB / 3.09 GB, free: 330.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/7.071, allocations: 95.17 kB / 3.09 GB, free: 330.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/7.071, allocations: 1.734 kB / 3.09 GB, free: 330.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003253/7.072, allocations: 184.6 kB / 3.09 GB, free: 330.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 2.134e-06/7.072, allocations: 0 / 3.09 GB, free: 330.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.00335/7.075, allocations: 0.6119 MB / 3.091 GB, free: 330.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/7.075, allocations: 80.72 kB / 3.091 GB, free: 330.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003936/7.075, allocations: 270.1 kB / 3.091 GB, free: 330.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/7.076, allocations: 31.67 kB / 3.091 GB, free: 330.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/7.076, allocations: 150.7 kB / 3.091 GB, free: 330.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/7.076, allocations: 59.48 kB / 3.091 GB, free: 330.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/7.076, allocations: 1.031 kB / 3.091 GB, free: 330.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001027/7.076, allocations: 339.4 kB / 3.091 GB, free: 329.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/7.076, allocations: 123.4 kB / 3.092 GB, free: 329.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/7.076, allocations: 198.6 kB / 3.092 GB, free: 329.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/7.077, allocations: 142.8 kB / 3.092 GB, free: 329.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/7.077, allocations: 0 / 3.092 GB, free: 329.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003576/7.08, allocations: 0.8033 MB / 3.093 GB, free: 329.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.573e-05/7.08, allocations: 39.31 kB / 3.093 GB, free: 329.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/7.08, allocations: 1.062 kB / 3.093 GB, free: 329.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008659/7.081, allocations: 174.2 kB / 3.093 GB, free: 329.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/7.082, allocations: 44.97 kB / 3.093 GB, free: 329.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/7.084, allocations: 2.162 MB / 3.095 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/7.085, allocations: 32.14 kB / 3.095 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.637e-05/7.085, allocations: 24.27 kB / 3.095 GB, free: 327.2 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.000286/7.085, allocations: 167.1 kB / 3.095 GB, free: 327.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003104/7.088, allocations: 0.6199 MB / 3.096 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.028e-05/7.088, allocations: 35.8 kB / 3.096 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.359e-05/7.088, allocations: 24.08 kB / 3.096 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/7.088, allocations: 1.219 kB / 3.096 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/7.088, allocations: 1.844 kB / 3.096 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/7.088, allocations: 0.6094 kB / 3.096 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0034/7.092, allocations: 0.9652 MB / 3.097 GB, free: 326.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/7.092, allocations: 1.312 kB / 3.097 GB, free: 326.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.733e-05/7.092, allocations: 17.94 kB / 3.097 GB, free: 326.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002165/7.092, allocations: 92.12 kB / 3.097 GB, free: 326.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/7.092, allocations: 10.86 kB / 3.097 GB, free: 326.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007814/7.093, allocations: 0.7489 MB / 3.098 GB, free: 325.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/7.093, allocations: 0 / 3.098 GB, free: 325.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003315/7.096, allocations: 0.8305 MB / 3.099 GB, free: 325.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/7.096, allocations: 144.1 kB / 3.099 GB, free: 325.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.326e-05/7.096, allocations: 3.609 kB / 3.099 GB, free: 325.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/7.097, allocations: 11.72 kB / 3.099 GB, free: 325.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/7.097, allocations: 16.72 kB / 3.099 GB, free: 325.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/7.097, allocations: 10.62 kB / 3.099 GB, free: 325.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002849/7.097, allocations: 205.1 kB / 3.099 GB, free: 325.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/7.097, allocations: 0 / 3.099 GB, free: 325.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001015/7.098, allocations: 141.5 kB / 3.099 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.002873/7.101, allocations: 1.767 MB / 3.101 GB, free: 324.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001633/7.103, allocations: 0.5042 MB / 3.101 GB, free: 323.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/7.103, allocations: 0 / 3.101 GB, free: 323.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006916/7.103, allocations: 240.9 kB / 3.102 GB, free: 323.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/7.104, allocations: 43.95 kB / 3.102 GB, free: 323.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/7.105, allocations: 0.49 MB / 3.102 GB, free: 323.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/7.106, allocations: 0.7739 MB / 3.103 GB, free: 322.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001938/7.106, allocations: 31.59 kB / 3.103 GB, free: 322.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/7.106, allocations: 80.19 kB / 3.103 GB, free: 322.7 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/7.106, allocations: 0.9062 kB / 3.103 GB, free: 322.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0466/7.153, allocations: 13.31 MB / 3.116 GB, free: 321.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/7.153, allocations: 173.1 kB / 3.116 GB, free: 321.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/9.728, allocations: 1.406 kB / 3.116 GB, free: 321.3 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)