Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.391/2.391, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.001219, allocations: 180.9 kB / 491.2 MB, free: 1.566 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009227/0.0009227, allocations: 105.1 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.352e-05/2.33e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3071, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.843/5.15, allocations: 1.722 GB / 2.935 GB, free: 116.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/5.151, allocations: 91.38 kB / 2.935 GB, free: 116.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1018/5.252, allocations: 49.28 MB / 2.983 GB, free: 72.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.796e-06/5.253, allocations: 0 / 2.983 GB, free: 72.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.425e-05/5.253, allocations: 4 kB / 2.983 GB, free: 72.5 MB / 1.151 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.001306/5.254, allocations: 0.6561 MB / 2.984 GB, free: 71.79 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/5.254, allocations: 12.03 kB / 2.984 GB, free: 71.78 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/5.255, allocations: 147.7 kB / 2.984 GB, free: 71.64 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/5.256, allocations: 306.4 kB / 2.984 GB, free: 71.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.189e-05/5.256, allocations: 41.69 kB / 2.984 GB, free: 71.25 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-05/5.256, allocations: 15.95 kB / 2.984 GB, free: 71.23 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002128/5.256, allocations: 108 kB / 2.984 GB, free: 71.13 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/5.256, allocations: 188.7 kB / 2.984 GB, free: 70.93 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/5.256, allocations: 0 / 2.984 GB, free: 70.93 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/5.256, allocations: 0 / 2.984 GB, free: 70.93 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/5.256, allocations: 8 kB / 2.984 GB, free: 70.92 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/5.259, allocations: 0.974 MB / 2.985 GB, free: 69.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000654/5.259, allocations: 158.5 kB / 2.985 GB, free: 69.73 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/5.26, allocations: 88.84 kB / 2.986 GB, free: 69.64 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/5.26, allocations: 128 / 2.986 GB, free: 69.64 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002549/5.26, allocations: 197.8 kB / 2.986 GB, free: 69.43 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 2.395e-06/5.26, allocations: 0 / 2.986 GB, free: 69.43 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.002941/5.263, allocations: 0.6128 MB / 2.986 GB, free: 68.81 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/5.263, allocations: 77.11 kB / 2.986 GB, free: 68.72 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/5.263, allocations: 265.1 kB / 2.987 GB, free: 68.46 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/5.263, allocations: 29.7 kB / 2.987 GB, free: 68.42 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.457e-05/5.263, allocations: 160.5 kB / 2.987 GB, free: 68.26 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/5.263, allocations: 55.2 kB / 2.987 GB, free: 68.21 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/5.263, allocations: 0 / 2.987 GB, free: 68.21 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.443e-05/5.263, allocations: 342.8 kB / 2.987 GB, free: 67.86 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/5.264, allocations: 124.6 kB / 2.987 GB, free: 67.73 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/5.264, allocations: 201.8 kB / 2.988 GB, free: 67.52 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/5.264, allocations: 145.2 kB / 2.988 GB, free: 67.38 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/5.264, allocations: 0 / 2.988 GB, free: 67.38 MB / 1.151 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003192/5.267, allocations: 0.7972 MB / 2.988 GB, free: 66.57 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/5.267, allocations: 37.69 kB / 2.988 GB, free: 66.53 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/5.267, allocations: 0 / 2.988 GB, free: 66.53 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000733/5.268, allocations: 185.6 kB / 2.989 GB, free: 66.34 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/5.268, allocations: 35.97 kB / 2.989 GB, free: 66.31 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/5.27, allocations: 2.16 MB / 2.991 GB, free: 64 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/5.271, allocations: 43.66 kB / 2.991 GB, free: 63.96 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.683e-05/5.271, allocations: 23.92 kB / 2.991 GB, free: 63.94 MB / 1.151 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.0002262/5.271, allocations: 162.5 kB / 2.991 GB, free: 63.77 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002598/5.274, allocations: 0.6158 MB / 2.992 GB, free: 63.14 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/5.274, allocations: 27.72 kB / 2.992 GB, free: 63.12 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.078e-05/5.274, allocations: 26.09 kB / 2.992 GB, free: 63.09 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/5.274, allocations: 0 / 2.992 GB, free: 63.09 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/5.274, allocations: 0 / 2.992 GB, free: 63.09 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/5.274, allocations: 4 kB / 2.992 GB, free: 63.08 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/5.277, allocations: 0.9852 MB / 2.993 GB, free: 62.05 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/5.277, allocations: 0 / 2.993 GB, free: 62.05 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.408e-05/5.277, allocations: 8 kB / 2.993 GB, free: 62.04 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001721/5.277, allocations: 92.89 kB / 2.993 GB, free: 61.95 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/5.277, allocations: 11.98 kB / 2.993 GB, free: 61.93 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006028/5.278, allocations: 0.742 MB / 2.993 GB, free: 61.17 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/5.278, allocations: 0 / 2.993 GB, free: 61.17 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002695/5.28, allocations: 0.8429 MB / 2.994 GB, free: 60.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/5.281, allocations: 128.8 kB / 2.994 GB, free: 60.16 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.016e-05/5.281, allocations: 16.02 kB / 2.994 GB, free: 60.14 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/5.281, allocations: 11.98 kB / 2.994 GB, free: 60.13 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/5.281, allocations: 7.984 kB / 2.994 GB, free: 60.12 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/5.281, allocations: 15.98 kB / 2.994 GB, free: 60.11 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001807/5.281, allocations: 196.6 kB / 2.995 GB, free: 59.92 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/5.281, allocations: 0 / 2.995 GB, free: 59.92 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007097/5.282, allocations: 159.7 kB / 2.995 GB, free: 59.76 MB / 1.151 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.001677/5.284, allocations: 1.772 MB / 2.997 GB, free: 57.97 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001248/5.285, allocations: 0.5105 MB / 2.997 GB, free: 57.44 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/5.285, allocations: 0 / 2.997 GB, free: 57.44 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005791/5.285, allocations: 232.1 kB / 2.997 GB, free: 57.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/5.286, allocations: 51.42 kB / 2.997 GB, free: 57.15 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/5.287, allocations: 0.5018 MB / 2.998 GB, free: 56.61 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/5.287, allocations: 0.768 MB / 2.999 GB, free: 55.81 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000152/5.287, allocations: 26.08 kB / 2.999 GB, free: 55.79 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/5.287, allocations: 79.41 kB / 2.999 GB, free: 55.71 MB / 1.151 GB Notification: Performance of SimCode: time 4.11e-07/5.287, allocations: 0 / 2.999 GB, free: 55.71 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0368/5.324, allocations: 13.34 MB / 3.012 GB, free: 42.46 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/5.324, allocations: 181.1 kB / 3.012 GB, free: 42.27 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.526/7.851, allocations: 0 / 3.012 GB, free: 42.27 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat does not exist to compare? outputFormat=mat