Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.337/2.337, allocations: 248.7 MB / 256.2 MB, free: 7.031 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.002434/0.002434, allocations: 179.8 kB / 315.4 MB, free: 4.02 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.3 MB / 0.5662 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 96.83 kB / 0.6704 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.644e-05/2.654e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2057, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.165/7.371, allocations: 2.183 GB / 3.067 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003619/7.371, allocations: 94.44 kB / 3.067 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1747/7.546, allocations: 49.13 MB / 3.115 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.703e-06/7.546, allocations: 0 / 3.115 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.498e-05/7.546, allocations: 8 kB / 3.115 GB, free: 128.9 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.001763/7.548, allocations: 0.6516 MB / 3.116 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.555e-05/7.548, allocations: 12.03 kB / 3.116 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002428/7.551, allocations: 155.5 kB / 3.116 GB, free: 128 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008056/7.551, allocations: 302.4 kB / 3.116 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.717e-05/7.551, allocations: 41.7 kB / 3.116 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.34e-05/7.552, allocations: 16 kB / 3.116 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003508/7.552, allocations: 115.9 kB / 3.116 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/7.552, allocations: 184.2 kB / 3.116 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/7.552, allocations: 0 / 3.116 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/7.552, allocations: 11.92 kB / 3.116 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/7.552, allocations: 0 / 3.116 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004149/7.557, allocations: 0.9623 MB / 3.117 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/7.558, allocations: 158.5 kB / 3.117 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/7.558, allocations: 92.83 kB / 3.118 GB, free: 126 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/7.558, allocations: 4 kB / 3.118 GB, free: 126 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00037/7.559, allocations: 189 kB / 3.118 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 3.166e-06/7.559, allocations: 0 / 3.118 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.005558/7.564, allocations: 0.6181 MB / 3.118 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/7.564, allocations: 81.11 kB / 3.118 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004722/7.565, allocations: 269.1 kB / 3.119 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001409/7.565, allocations: 25.7 kB / 3.119 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/7.565, allocations: 156.5 kB / 3.119 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.917e-05/7.565, allocations: 63.19 kB / 3.119 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/7.565, allocations: 0 / 3.119 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.932e-05/7.565, allocations: 342.8 kB / 3.119 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003206/7.566, allocations: 124.6 kB / 3.119 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003983/7.566, allocations: 193.2 kB / 3.12 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/7.566, allocations: 141 kB / 3.12 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/7.567, allocations: 0 / 3.12 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.006369/7.573, allocations: 0.805 MB / 3.12 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.462e-05/7.573, allocations: 29.7 kB / 3.12 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/7.573, allocations: 4 kB / 3.12 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/7.574, allocations: 173.7 kB / 3.121 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/7.575, allocations: 47.91 kB / 3.121 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003608/7.579, allocations: 2.16 MB / 3.123 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000885/7.579, allocations: 43.66 kB / 3.123 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.344e-05/7.58, allocations: 23.92 kB / 3.123 GB, free: 120.3 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.0003386/7.58, allocations: 160.3 kB / 3.123 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005142/7.585, allocations: 0.6147 MB / 3.124 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/7.585, allocations: 27.62 kB / 3.124 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.876e-05/7.585, allocations: 26.09 kB / 3.124 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/7.585, allocations: 8 kB / 3.124 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/7.585, allocations: 0 / 3.124 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/7.586, allocations: 0 / 3.124 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00556/7.591, allocations: 0.9802 MB / 3.125 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/7.591, allocations: 0 / 3.125 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/7.591, allocations: 11.95 kB / 3.125 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003084/7.592, allocations: 88.81 kB / 3.125 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.471e-05/7.592, allocations: 7.984 kB / 3.125 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/7.593, allocations: 0.7458 MB / 3.125 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/7.593, allocations: 0 / 3.125 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005455/7.598, allocations: 0.832 MB / 3.126 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/7.599, allocations: 140.7 kB / 3.126 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/7.599, allocations: 4 kB / 3.126 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004521/7.599, allocations: 20 kB / 3.126 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/7.599, allocations: 15.98 kB / 3.126 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/7.599, allocations: 11.98 kB / 3.126 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002775/7.6, allocations: 200.6 kB / 3.127 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.432e-06/7.6, allocations: 0 / 3.127 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009198/7.601, allocations: 151.8 kB / 3.127 GB, free: 116.1 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.002728/7.603, allocations: 1.772 MB / 3.129 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002213/7.606, allocations: 0.51 MB / 3.129 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/7.606, allocations: 0 / 3.129 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/7.607, allocations: 236.1 kB / 3.129 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006654/7.607, allocations: 48.64 kB / 3.129 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/7.609, allocations: 0.4902 MB / 3.13 GB, free: 113 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/7.61, allocations: 0.7641 MB / 3.131 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002538/7.61, allocations: 30.06 kB / 3.131 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/7.61, allocations: 79.41 kB / 3.131 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of SimCode: time 9.31e-07/7.61, allocations: 0 / 3.131 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07082/7.681, allocations: 13.31 MB / 3.144 GB, free: 98.83 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000285/7.681, allocations: 183.4 kB / 3.144 GB, free: 98.63 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.151/10.83, allocations: 0 / 3.144 GB, free: 98.63 MB / 0.8698 GB