Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.038/4.038, allocations: 433.2 MB / 440.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.002e-05/3.001e-05, allocations: 6.344 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2089, allocations: 98.73 MB / 0.6289 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.841/7.05, allocations: 2.178 GB / 2.807 GB, free: 158.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/7.05, allocations: 93.8 kB / 2.807 GB, free: 158.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1711/7.221, allocations: 48.87 MB / 2.854 GB, free: 118.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.583e-06/7.221, allocations: 0 / 2.854 GB, free: 118.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.25e-05/7.221, allocations: 11.98 kB / 2.854 GB, free: 118.5 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001615/7.223, allocations: 0.6416 MB / 2.855 GB, free: 117.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/7.223, allocations: 8.031 kB / 2.855 GB, free: 117.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/7.225, allocations: 151.3 kB / 2.855 GB, free: 117.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005914/7.226, allocations: 295.9 kB / 2.855 GB, free: 117.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/7.226, allocations: 37.69 kB / 2.855 GB, free: 117.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.648e-05/7.226, allocations: 15.94 kB / 2.855 GB, free: 117.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002774/7.226, allocations: 101.6 kB / 2.856 GB, free: 117.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/7.227, allocations: 159.3 kB / 2.856 GB, free: 117.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/7.227, allocations: 0 / 2.856 GB, free: 117.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-05/7.227, allocations: 0 / 2.856 GB, free: 117.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/7.227, allocations: 7.984 kB / 2.856 GB, free: 117.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/7.23, allocations: 0.7957 MB / 2.856 GB, free: 116.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/7.232, allocations: 144.8 kB / 2.857 GB, free: 116.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/7.232, allocations: 87.77 kB / 2.857 GB, free: 116.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/7.232, allocations: 0 / 2.857 GB, free: 116.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003357/7.232, allocations: 189.2 kB / 2.857 GB, free: 116.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=19): time 2.164e-06/7.232, allocations: 3.938 kB / 2.857 GB, free: 116.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=19): time 0.005062/7.237, allocations: 0.5571 MB / 2.857 GB, free: 115.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/7.237, allocations: 81.11 kB / 2.858 GB, free: 115.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004096/7.238, allocations: 258.2 kB / 2.858 GB, free: 115.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/7.238, allocations: 33.62 kB / 2.858 GB, free: 115.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/7.238, allocations: 140.8 kB / 2.858 GB, free: 115.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.001e-05/7.238, allocations: 58.08 kB / 2.858 GB, free: 115 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/7.238, allocations: 0 / 2.858 GB, free: 115 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.828e-05/7.238, allocations: 337.7 kB / 2.858 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/7.239, allocations: 118.9 kB / 2.858 GB, free: 114.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/7.239, allocations: 182 kB / 2.859 GB, free: 114.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/7.239, allocations: 139.4 kB / 2.859 GB, free: 114.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/7.239, allocations: 0 / 2.859 GB, free: 114.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.005922/7.245, allocations: 0.7333 MB / 2.859 GB, free: 113.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.962e-05/7.245, allocations: 45.06 kB / 2.859 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/7.245, allocations: 0 / 2.859 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/7.247, allocations: 178 kB / 2.86 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/7.247, allocations: 47.41 kB / 2.86 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00328/7.251, allocations: 2.155 MB / 2.862 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008134/7.251, allocations: 31.67 kB / 2.862 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.683e-05/7.251, allocations: 26.47 kB / 2.862 GB, free: 111.3 MB / 0.823 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 = 0.0 max = 1.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: 3 * Number of states: 0 () * Number of discrete variables: 10 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 21 * 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.0002926/7.252, allocations: 162.8 kB / 2.862 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004811/7.257, allocations: 0.5652 MB / 2.863 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/7.257, allocations: 23.72 kB / 2.863 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.589e-05/7.257, allocations: 31.16 kB / 2.863 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/7.257, allocations: 11.94 kB / 2.863 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/7.257, allocations: 0 / 2.863 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/7.257, allocations: 0 / 2.863 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005196/7.262, allocations: 0.9171 MB / 2.864 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/7.262, allocations: 0 / 2.864 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.848e-05/7.262, allocations: 4 kB / 2.864 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000321/7.263, allocations: 100 kB / 2.864 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.497e-05/7.263, allocations: 7.984 kB / 2.864 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/7.264, allocations: 0.75 MB / 2.864 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/7.264, allocations: 0 / 2.864 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00512/7.269, allocations: 0.7648 MB / 2.865 GB, free: 108.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/7.269, allocations: 135.5 kB / 2.865 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.662e-05/7.269, allocations: 4 kB / 2.865 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/7.27, allocations: 16.05 kB / 2.865 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.556e-05/7.27, allocations: 10.3 kB / 2.865 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.505e-05/7.27, allocations: 18.11 kB / 2.865 GB, free: 108.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002549/7.27, allocations: 190.8 kB / 2.865 GB, free: 108 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.41e-07/7.27, allocations: 4 kB / 2.865 GB, free: 108 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008651/7.271, allocations: 147.8 kB / 2.866 GB, free: 107.8 MB / 0.823 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 (7): * Single equations (assignments): 5 * 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.002546/7.274, allocations: 1.715 MB / 2.867 GB, free: 106.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002095/7.276, allocations: 0.5004 MB / 2.868 GB, free: 105.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/7.276, allocations: 0 / 2.868 GB, free: 105.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/7.277, allocations: 239.9 kB / 2.868 GB, free: 105.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006219/7.278, allocations: 42.42 kB / 2.868 GB, free: 105.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/7.279, allocations: 493.5 kB / 2.869 GB, free: 105.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/7.279, allocations: 0.7588 MB / 2.869 GB, free: 104.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002275/7.28, allocations: 26.08 kB / 2.869 GB, free: 104.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/7.28, allocations: 78.58 kB / 2.869 GB, free: 104.2 MB / 0.823 GB Notification: Performance of SimCode: time 1.112e-06/7.28, allocations: 0 / 2.869 GB, free: 104.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06894/7.349, allocations: 13.03 MB / 2.882 GB, free: 91.25 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003035/7.349, allocations: 180.2 kB / 2.882 GB, free: 91.06 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.077/10.43, allocations: 0 / 2.882 GB, free: 91.06 MB / 0.823 GB