Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.685/2.685, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001644/0.001643, allocations: 184.8 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001134/0.001133, allocations: 98.22 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.291e-05/4.296e-05, allocations: 8 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8123/0.8124, allocations: 115.3 MB / 0.9634 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.025/6.837, allocations: 2.064 GB / 3.027 GB, free: 54.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/6.837, allocations: 97.12 kB / 3.027 GB, free: 54.25 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1825/7.02, allocations: 49.88 MB / 3.076 GB, free: 8.039 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.515e-06/7.02, allocations: 0 / 3.076 GB, free: 8.039 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.56e-05/7.02, allocations: 12 kB / 3.076 GB, free: 8.027 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.001852/7.022, allocations: 0.6571 MB / 3.077 GB, free: 7.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/7.022, allocations: 12.03 kB / 3.077 GB, free: 7.309 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002456/7.024, allocations: 151.5 kB / 3.077 GB, free: 7.16 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007558/7.025, allocations: 310.3 kB / 3.077 GB, free: 6.82 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.981e-05/7.025, allocations: 37.69 kB / 3.077 GB, free: 6.777 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.161e-05/7.025, allocations: 12 kB / 3.077 GB, free: 6.766 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003088/7.026, allocations: 104 kB / 3.077 GB, free: 6.664 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/7.026, allocations: 205.3 kB / 3.077 GB, free: 6.449 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/7.026, allocations: 3.984 kB / 3.077 GB, free: 6.445 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/7.026, allocations: 6.906 kB / 3.077 GB, free: 6.441 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/7.026, allocations: 0 / 3.077 GB, free: 6.441 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004132/7.03, allocations: 0.9663 MB / 3.078 GB, free: 5.426 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/7.032, allocations: 158.5 kB / 3.079 GB, free: 5.262 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/7.032, allocations: 92.84 kB / 3.079 GB, free: 5.168 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/7.032, allocations: 7.984 kB / 3.079 GB, free: 5.16 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003731/7.032, allocations: 181 kB / 3.079 GB, free: 4.965 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 3.016e-06/7.032, allocations: 0 / 3.079 GB, free: 4.965 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.005646/7.038, allocations: 0.6084 MB / 3.079 GB, free: 4.355 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/7.038, allocations: 89.05 kB / 3.079 GB, free: 4.25 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004434/7.039, allocations: 265.1 kB / 3.08 GB, free: 3.984 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001307/7.039, allocations: 25.7 kB / 3.08 GB, free: 3.953 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/7.039, allocations: 160.5 kB / 3.08 GB, free: 3.793 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.053e-05/7.039, allocations: 55.2 kB / 3.08 GB, free: 3.738 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/7.039, allocations: 0 / 3.08 GB, free: 3.738 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.335e-05/7.039, allocations: 338.8 kB / 3.08 GB, free: 3.398 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/7.039, allocations: 124.6 kB / 3.08 GB, free: 3.27 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/7.04, allocations: 201.2 kB / 3.081 GB, free: 3.059 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/7.04, allocations: 137 kB / 3.081 GB, free: 2.926 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/7.04, allocations: 3.953 kB / 3.081 GB, free: 2.922 MB / 0.948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.006211/7.047, allocations: 0.7993 MB / 3.081 GB, free: 2.117 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.976e-05/7.047, allocations: 37.69 kB / 3.082 GB, free: 2.074 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/7.047, allocations: 4 kB / 3.082 GB, free: 2.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/7.048, allocations: 177.7 kB / 3.082 GB, free: 1.891 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/7.049, allocations: 39.92 kB / 3.082 GB, free: 1.852 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6508/7.699, allocations: 2.161 MB / 3.084 GB, free: 324.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009498/7.7, allocations: 36.41 kB / 3.084 GB, free: 324.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/7.701, allocations: 23.8 kB / 3.084 GB, free: 324.4 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.0003514/7.701, allocations: 167.3 kB / 3.084 GB, free: 324.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005579/7.706, allocations: 0.6199 MB / 3.085 GB, free: 324.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/7.707, allocations: 30.02 kB / 3.085 GB, free: 324.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.361e-05/7.707, allocations: 24.58 kB / 3.085 GB, free: 324.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/7.707, allocations: 2.875 kB / 3.085 GB, free: 324.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/7.707, allocations: 2.688 kB / 3.085 GB, free: 324.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.026e-06/7.707, allocations: 8.406 kB / 3.085 GB, free: 324.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006065/7.713, allocations: 0.9732 MB / 3.086 GB, free: 324 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/7.713, allocations: 0 / 3.086 GB, free: 324 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/7.713, allocations: 6.875 kB / 3.086 GB, free: 324 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003649/7.714, allocations: 98.59 kB / 3.086 GB, free: 324 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.389e-05/7.714, allocations: 10.27 kB / 3.086 GB, free: 324 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/7.715, allocations: 0.7374 MB / 3.087 GB, free: 323.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/7.715, allocations: 5.047 kB / 3.087 GB, free: 323.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006109/7.721, allocations: 0.8422 MB / 3.087 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000322/7.721, allocations: 137.1 kB / 3.087 GB, free: 323.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.302e-05/7.721, allocations: 3.547 kB / 3.087 GB, free: 323.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/7.722, allocations: 11.47 kB / 3.087 GB, free: 323.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.217e-05/7.722, allocations: 15.22 kB / 3.088 GB, free: 323.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.862e-05/7.722, allocations: 11.33 kB / 3.088 GB, free: 323.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003573/7.722, allocations: 204.8 kB / 3.088 GB, free: 323 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.11e-07/7.723, allocations: 0 / 3.088 GB, free: 323 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001177/7.724, allocations: 151.7 kB / 3.088 GB, free: 323 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.003451/7.727, allocations: 1.765 MB / 3.09 GB, free: 322.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002418/7.73, allocations: 0.5146 MB / 3.09 GB, free: 322.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/7.73, allocations: 0 / 3.09 GB, free: 322.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001234/7.731, allocations: 231.7 kB / 3.09 GB, free: 322 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000721/7.732, allocations: 50.88 kB / 3.09 GB, free: 322 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/7.734, allocations: 497.3 kB / 3.091 GB, free: 321.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/7.734, allocations: 0.7683 MB / 3.092 GB, free: 321.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002889/7.734, allocations: 34.73 kB / 3.092 GB, free: 321.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/7.734, allocations: 80.77 kB / 3.092 GB, free: 321.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.283e-06/7.734, allocations: 0 / 3.092 GB, free: 321.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08046/7.815, allocations: 13.3 MB / 3.105 GB, free: 320.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003569/7.815, allocations: 188.1 kB / 3.105 GB, free: 320.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.546/11.36, allocations: 0 / 3.105 GB, free: 320.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)