Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 249.5 MB / 257 MB, free: 6.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 176.8 kB / 316.3 MB, free: 3.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009511/0.0009511, allocations: 98.62 kB / 0.6714 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.184e-05/2.177e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2092, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.606/5.815, allocations: 2.183 GB / 3.068 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/5.816, allocations: 98.25 kB / 3.068 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.09544/5.911, allocations: 49.39 MB / 3.116 GB, free: 140 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.134e-06/5.911, allocations: 0 / 3.116 GB, free: 140 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.019e-05/5.911, allocations: 4 kB / 3.116 GB, free: 140 MB / 0.8698 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.913, allocations: 0.6632 MB / 3.117 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/5.913, allocations: 8.031 kB / 3.117 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/5.914, allocations: 155.4 kB / 3.117 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/5.915, allocations: 302.5 kB / 3.118 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.29e-05/5.915, allocations: 33.7 kB / 3.118 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/5.915, allocations: 16 kB / 3.118 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002218/5.915, allocations: 108 kB / 3.118 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/5.915, allocations: 198 kB / 3.118 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/5.915, allocations: 0 / 3.118 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/5.915, allocations: 7.984 kB / 3.118 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/5.915, allocations: 4 kB / 3.118 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/5.918, allocations: 0.9585 MB / 3.119 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006399/5.918, allocations: 158.5 kB / 3.119 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/5.918, allocations: 92.83 kB / 3.119 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/5.918, allocations: 0 / 3.119 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/5.919, allocations: 192.9 kB / 3.119 GB, free: 137 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/5.919, allocations: 0 / 3.119 GB, free: 137 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.002795/5.921, allocations: 0.6104 MB / 3.12 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/5.921, allocations: 81.11 kB / 3.12 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/5.922, allocations: 265 kB / 3.12 GB, free: 136 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/5.922, allocations: 33.69 kB / 3.12 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.424e-05/5.922, allocations: 156.5 kB / 3.12 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/5.922, allocations: 51.27 kB / 3.12 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/5.922, allocations: 0 / 3.12 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.637e-05/5.922, allocations: 338.8 kB / 3.121 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/5.922, allocations: 120.6 kB / 3.121 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/5.922, allocations: 205.1 kB / 3.121 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/5.923, allocations: 137 kB / 3.121 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/5.923, allocations: 11.89 kB / 3.121 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003119/5.926, allocations: 0.7972 MB / 3.122 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/5.926, allocations: 37.69 kB / 3.122 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/5.926, allocations: 0 / 3.122 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007327/5.927, allocations: 177.6 kB / 3.122 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/5.927, allocations: 39.91 kB / 3.122 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/5.929, allocations: 2.164 MB / 3.124 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004647/5.929, allocations: 39.66 kB / 3.124 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.477e-05/5.929, allocations: 23.98 kB / 3.124 GB, free: 131.5 MB / 0.8698 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.0002099/5.93, allocations: 160.4 kB / 3.125 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002537/5.932, allocations: 0.6196 MB / 3.125 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/5.932, allocations: 23.72 kB / 3.125 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.929e-05/5.932, allocations: 26.09 kB / 3.125 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/5.932, allocations: 0 / 3.125 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/5.932, allocations: 3.938 kB / 3.125 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/5.932, allocations: 7.984 kB / 3.125 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/5.935, allocations: 0.9637 MB / 3.126 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/5.935, allocations: 0 / 3.126 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.72e-05/5.935, allocations: 11.98 kB / 3.126 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001692/5.935, allocations: 104.7 kB / 3.126 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/5.935, allocations: 11.92 kB / 3.126 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005797/5.936, allocations: 0.7381 MB / 3.127 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/5.936, allocations: 0 / 3.127 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/5.939, allocations: 0.8289 MB / 3.128 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/5.939, allocations: 136.8 kB / 3.128 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/5.939, allocations: 4 kB / 3.128 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/5.939, allocations: 15.92 kB / 3.128 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/5.939, allocations: 15.94 kB / 3.128 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/5.939, allocations: 15.98 kB / 3.128 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001691/5.939, allocations: 196.6 kB / 3.128 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/5.939, allocations: 0 / 3.128 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006608/5.94, allocations: 159.8 kB / 3.128 GB, free: 127.3 MB / 0.8698 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.001549/5.942, allocations: 1.774 MB / 3.13 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0012/5.943, allocations: 0.5101 MB / 3.131 GB, free: 125 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/5.943, allocations: 0 / 3.131 GB, free: 125 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005692/5.943, allocations: 228.1 kB / 3.131 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/5.944, allocations: 52.73 kB / 3.131 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009635/5.945, allocations: 0.4952 MB / 3.131 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/5.945, allocations: 0.768 MB / 3.132 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001644/5.945, allocations: 26.06 kB / 3.132 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.802e-05/5.945, allocations: 79.41 kB / 3.132 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of SimCode: time 2.41e-07/5.945, allocations: 0 / 3.132 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/5.976, allocations: 13.32 MB / 3.145 GB, free: 110 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/5.976, allocations: 195.5 kB / 3.145 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/8.32, allocations: 0 / 3.145 GB, free: 109.8 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)