Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.205/2.205, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001117/0.001118, allocations: 188.8 kB / 487.4 MB, free: 5.031 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.436/1.436, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009766/0.0009768, allocations: 91.91 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.294e-05/2.297e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2871, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.438/4.725, allocations: 1.722 GB / 2.928 GB, free: 135.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/4.725, allocations: 98.11 kB / 2.928 GB, free: 135.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1013/4.827, allocations: 49.28 MB / 2.976 GB, free: 92.66 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.176e-06/4.827, allocations: 0 / 2.976 GB, free: 92.66 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.202e-05/4.827, allocations: 8 kB / 2.976 GB, free: 92.66 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.00157/4.828, allocations: 0.6405 MB / 2.976 GB, free: 91.96 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/4.829, allocations: 12.56 kB / 2.976 GB, free: 91.95 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/4.83, allocations: 155.5 kB / 2.977 GB, free: 91.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/4.831, allocations: 306.4 kB / 2.977 GB, free: 91.46 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.795e-05/4.831, allocations: 37.7 kB / 2.977 GB, free: 91.41 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.63e-05/4.831, allocations: 12 kB / 2.977 GB, free: 91.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002524/4.831, allocations: 116.3 kB / 2.977 GB, free: 91.29 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/4.831, allocations: 197.1 kB / 2.977 GB, free: 91.08 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/4.831, allocations: 0 / 2.977 GB, free: 91.08 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/4.831, allocations: 4.219 kB / 2.977 GB, free: 91.08 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/4.831, allocations: 0 / 2.977 GB, free: 91.08 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/4.834, allocations: 0.9772 MB / 2.978 GB, free: 90.05 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000666/4.834, allocations: 150.5 kB / 2.978 GB, free: 89.89 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/4.834, allocations: 92.83 kB / 2.978 GB, free: 89.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/4.835, allocations: 4 kB / 2.978 GB, free: 89.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/4.835, allocations: 190.3 kB / 2.979 GB, free: 89.59 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 2.074e-06/4.835, allocations: 0 / 2.979 GB, free: 89.59 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.00291/4.838, allocations: 0.6156 MB / 2.979 GB, free: 88.96 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/4.838, allocations: 85.11 kB / 2.979 GB, free: 88.86 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/4.838, allocations: 261.1 kB / 2.98 GB, free: 88.61 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.644e-05/4.838, allocations: 25.7 kB / 2.98 GB, free: 88.57 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.589e-05/4.838, allocations: 160.5 kB / 2.98 GB, free: 88.41 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/4.838, allocations: 55.2 kB / 2.98 GB, free: 88.36 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/4.838, allocations: 7.938 kB / 2.98 GB, free: 88.35 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.325e-05/4.838, allocations: 342.8 kB / 2.98 GB, free: 88 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/4.839, allocations: 124.6 kB / 2.98 GB, free: 87.88 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/4.839, allocations: 197.2 kB / 2.98 GB, free: 87.67 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/4.839, allocations: 145.3 kB / 2.981 GB, free: 87.53 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/4.839, allocations: 7.938 kB / 2.981 GB, free: 87.52 MB / 1.151 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003184/4.842, allocations: 0.7899 MB / 2.981 GB, free: 86.72 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/4.842, allocations: 37.69 kB / 2.981 GB, free: 86.68 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/4.842, allocations: 0 / 2.981 GB, free: 86.68 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007577/4.843, allocations: 177.6 kB / 2.982 GB, free: 86.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/4.843, allocations: 39.97 kB / 2.982 GB, free: 86.46 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/4.845, allocations: 2.172 MB / 2.984 GB, free: 84.14 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/4.846, allocations: 35.67 kB / 2.984 GB, free: 84.11 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.757e-05/4.846, allocations: 27.97 kB / 2.984 GB, free: 84.08 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.0002311/4.846, allocations: 159.6 kB / 2.984 GB, free: 83.91 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00265/4.849, allocations: 0.6165 MB / 2.984 GB, free: 83.29 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.985e-05/4.849, allocations: 27.72 kB / 2.985 GB, free: 83.26 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.11e-05/4.849, allocations: 22.09 kB / 2.985 GB, free: 83.24 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/4.849, allocations: 4 kB / 2.985 GB, free: 83.23 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/4.849, allocations: 8 kB / 2.985 GB, free: 83.23 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/4.849, allocations: 144 / 2.985 GB, free: 83.23 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/4.852, allocations: 0.9736 MB / 2.986 GB, free: 82.21 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-06/4.852, allocations: 3.984 kB / 2.986 GB, free: 82.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.938e-05/4.852, allocations: 11.94 kB / 2.986 GB, free: 82.19 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001584/4.852, allocations: 92.81 kB / 2.986 GB, free: 82.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/4.852, allocations: 11.98 kB / 2.986 GB, free: 82.09 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006198/4.853, allocations: 0.7403 MB / 2.986 GB, free: 81.32 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/4.853, allocations: 4 kB / 2.986 GB, free: 81.32 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/4.856, allocations: 0.8352 MB / 2.987 GB, free: 80.46 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/4.856, allocations: 132.8 kB / 2.987 GB, free: 80.32 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.536e-05/4.856, allocations: 4 kB / 2.987 GB, free: 80.31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/4.856, allocations: 27.94 kB / 2.987 GB, free: 80.29 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/4.856, allocations: 7.984 kB / 2.987 GB, free: 80.28 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/4.856, allocations: 8 kB / 2.987 GB, free: 80.27 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001875/4.856, allocations: 208.6 kB / 2.988 GB, free: 80.06 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/4.856, allocations: 0 / 2.988 GB, free: 80.06 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007232/4.857, allocations: 151.8 kB / 2.988 GB, free: 79.91 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.001878/4.859, allocations: 1.774 MB / 2.989 GB, free: 78.12 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001313/4.86, allocations: 0.506 MB / 2.99 GB, free: 77.59 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/4.86, allocations: 0 / 2.99 GB, free: 77.59 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006004/4.861, allocations: 232.1 kB / 2.99 GB, free: 77.35 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/4.861, allocations: 56.72 kB / 2.99 GB, free: 77.29 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/4.863, allocations: 0.4979 MB / 2.991 GB, free: 76.76 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/4.863, allocations: 0.764 MB / 2.991 GB, free: 75.97 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001612/4.863, allocations: 30.06 kB / 2.991 GB, free: 75.94 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/4.863, allocations: 79.41 kB / 2.992 GB, free: 75.86 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/4.863, allocations: 0 / 2.992 GB, free: 75.86 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03515/4.898, allocations: 13.34 MB / 3.005 GB, free: 62.59 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/4.898, allocations: 184.6 kB / 3.005 GB, free: 62.39 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.356/7.255, allocations: 0 / 3.005 GB, free: 62.39 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat does not exist to compare? outputFormat=mat