Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.605/1.605, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.001177/0.001177, allocations: 176.9 kB / 361.4 MB, free: 6.816 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.621/1.621, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008329/0.0008329, allocations: 92.2 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.193e-05/2.182e-05, allocations: 8 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.715/0.715, allocations: 115.3 MB / 0.9645 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.448/6.163, allocations: 2.064 GB / 3.028 GB, free: 50.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/6.163, allocations: 92.56 kB / 3.028 GB, free: 50.45 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1019/6.265, allocations: 50.15 MB / 3.077 GB, free: 3.758 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.943e-06/6.265, allocations: 4 kB / 3.077 GB, free: 3.754 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.697e-05/6.265, allocations: 4 kB / 3.077 GB, free: 3.75 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.001107/6.266, allocations: 0.6514 MB / 3.078 GB, free: 3.047 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/6.267, allocations: 8.031 kB / 3.078 GB, free: 3.039 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/6.268, allocations: 159.4 kB / 3.078 GB, free: 2.883 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/6.268, allocations: 303 kB / 3.078 GB, free: 2.547 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.207e-05/6.268, allocations: 33.7 kB / 3.078 GB, free: 2.508 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/6.268, allocations: 16 kB / 3.078 GB, free: 2.492 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001924/6.269, allocations: 115.9 kB / 3.079 GB, free: 2.379 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/6.269, allocations: 198.6 kB / 3.079 GB, free: 2.172 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/6.269, allocations: 3.953 kB / 3.079 GB, free: 2.168 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/6.269, allocations: 0 / 3.079 GB, free: 2.168 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/6.269, allocations: 4 kB / 3.079 GB, free: 2.164 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/6.271, allocations: 0.9688 MB / 3.08 GB, free: 1.148 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006482/6.272, allocations: 150.5 kB / 3.08 GB, free: 0.9922 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/6.272, allocations: 97.92 kB / 3.08 GB, free: 0.8945 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/6.272, allocations: 4 kB / 3.08 GB, free: 0.8906 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/6.272, allocations: 185.1 kB / 3.08 GB, free: 0.6914 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 2.004e-06/6.272, allocations: 0 / 3.08 GB, free: 0.6914 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.002808/6.275, allocations: 0.607 MB / 3.081 GB, free: 84 kB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.6018/6.877, allocations: 83.64 kB / 3.081 GB, free: 328 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004936/6.877, allocations: 265.7 kB / 3.081 GB, free: 327.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001434/6.878, allocations: 27.39 kB / 3.081 GB, free: 327.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/6.878, allocations: 156.8 kB / 3.081 GB, free: 327.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.447e-05/6.878, allocations: 55.25 kB / 3.081 GB, free: 327.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/6.878, allocations: 0 / 3.081 GB, free: 327.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.786e-05/6.878, allocations: 337.1 kB / 3.082 GB, free: 327.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/6.878, allocations: 124.5 kB / 3.082 GB, free: 327.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/6.879, allocations: 199 kB / 3.082 GB, free: 327.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/6.879, allocations: 134.1 kB / 3.082 GB, free: 327.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/6.879, allocations: 1.5 kB / 3.082 GB, free: 327.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003731/6.883, allocations: 0.8106 MB / 3.083 GB, free: 327.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.76e-05/6.883, allocations: 38.98 kB / 3.083 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/6.883, allocations: 1.781 kB / 3.083 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000864/6.884, allocations: 182.6 kB / 3.083 GB, free: 327.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/6.884, allocations: 43.31 kB / 3.083 GB, free: 327.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/6.886, allocations: 2.166 MB / 3.085 GB, free: 325.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004915/6.887, allocations: 36.62 kB / 3.085 GB, free: 325.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.218e-05/6.887, allocations: 22.34 kB / 3.085 GB, free: 325.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.0002271/6.887, allocations: 165.5 kB / 3.085 GB, free: 325.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002902/6.89, allocations: 0.6092 MB / 3.086 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/6.89, allocations: 30.55 kB / 3.086 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.521e-05/6.89, allocations: 22.73 kB / 3.086 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/6.89, allocations: 4.5 kB / 3.086 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/6.89, allocations: 1.234 kB / 3.086 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/6.89, allocations: 0.6094 kB / 3.086 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/6.893, allocations: 0.9763 MB / 3.087 GB, free: 324.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/6.893, allocations: 4.016 kB / 3.087 GB, free: 324.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.811e-05/6.893, allocations: 5.906 kB / 3.087 GB, free: 324.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002054/6.894, allocations: 98.03 kB / 3.087 GB, free: 324.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/6.894, allocations: 3.906 kB / 3.087 GB, free: 324.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006938/6.894, allocations: 0.7415 MB / 3.088 GB, free: 324.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/6.894, allocations: 0 / 3.088 GB, free: 324.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003194/6.898, allocations: 0.8353 MB / 3.089 GB, free: 324.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/6.898, allocations: 138 kB / 3.089 GB, free: 324 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.779e-05/6.898, allocations: 7.703 kB / 3.089 GB, free: 324 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/6.898, allocations: 14.84 kB / 3.089 GB, free: 324 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/6.898, allocations: 14.81 kB / 3.089 GB, free: 324 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/6.898, allocations: 9.469 kB / 3.089 GB, free: 324 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003125/6.899, allocations: 204.3 kB / 3.089 GB, free: 324 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/6.899, allocations: 0 / 3.089 GB, free: 324 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009514/6.9, allocations: 153 kB / 3.089 GB, free: 324 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.002044/6.902, allocations: 1.774 MB / 3.091 GB, free: 323.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001517/6.903, allocations: 0.5064 MB / 3.091 GB, free: 323.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/6.903, allocations: 2.312 kB / 3.091 GB, free: 323.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006452/6.904, allocations: 235.5 kB / 3.092 GB, free: 323 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/6.904, allocations: 54.97 kB / 3.092 GB, free: 323 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/6.905, allocations: 0.496 MB / 3.092 GB, free: 322.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/6.906, allocations: 0.7684 MB / 3.093 GB, free: 322.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001602/6.906, allocations: 26.83 kB / 3.093 GB, free: 322.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/6.906, allocations: 81.11 kB / 3.093 GB, free: 322.1 MB / 0.948 GB Notification: Performance of SimCode: time 3.91e-07/6.906, allocations: 0 / 3.093 GB, free: 322.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03962/6.946, allocations: 13.3 MB / 3.106 GB, free: 321.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/6.946, allocations: 192.2 kB / 3.106 GB, free: 321.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/9.427, allocations: 5.75 kB / 3.106 GB, free: 321.1 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)