Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.584/1.584, allocations: 285.6 MB / 293.1 MB, free: 10.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 176.8 kB / 361.4 MB, free: 6.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.2 MB / 0.62 GB, free: 11.67 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008308/0.0008308, allocations: 84.64 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.3e-05/2.301e-05, allocations: 8 kB / 0.8518 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7162/0.7163, allocations: 115.3 MB / 0.9644 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.524/5.24, allocations: 2.064 GB / 3.028 GB, free: 97.71 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/5.24, allocations: 95.94 kB / 3.028 GB, free: 97.61 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.09829/5.339, allocations: 50.15 MB / 3.077 GB, free: 47.27 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.643e-06/5.339, allocations: 0 / 3.077 GB, free: 47.27 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.98e-05/5.339, allocations: 8 kB / 3.077 GB, free: 47.26 MB / 0.948 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.001233/5.34, allocations: 0.6436 MB / 3.078 GB, free: 46.56 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/5.34, allocations: 8.031 kB / 3.078 GB, free: 46.55 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/5.341, allocations: 159.4 kB / 3.078 GB, free: 46.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/5.342, allocations: 306.4 kB / 3.078 GB, free: 46.06 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.608e-05/5.342, allocations: 38.19 kB / 3.078 GB, free: 46.02 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.249e-05/5.342, allocations: 20 kB / 3.078 GB, free: 46 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001866/5.342, allocations: 104 kB / 3.078 GB, free: 45.89 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/5.342, allocations: 192.4 kB / 3.079 GB, free: 45.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/5.342, allocations: 3.953 kB / 3.079 GB, free: 45.69 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/5.342, allocations: 2.062 kB / 3.079 GB, free: 45.69 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/5.342, allocations: 4 kB / 3.079 GB, free: 45.69 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/5.344, allocations: 0.9742 MB / 3.08 GB, free: 44.66 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006287/5.345, allocations: 158.4 kB / 3.08 GB, free: 44.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/5.345, allocations: 88.84 kB / 3.08 GB, free: 44.41 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/5.345, allocations: 4 kB / 3.08 GB, free: 44.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/5.346, allocations: 185 kB / 3.08 GB, free: 44.21 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/5.346, allocations: 4 kB / 3.08 GB, free: 44.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.002776/5.348, allocations: 0.6069 MB / 3.081 GB, free: 43.59 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/5.348, allocations: 81.11 kB / 3.081 GB, free: 43.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/5.349, allocations: 265 kB / 3.081 GB, free: 43.23 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/5.349, allocations: 29.7 kB / 3.081 GB, free: 43.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/5.349, allocations: 152.5 kB / 3.081 GB, free: 43.05 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/5.349, allocations: 55.27 kB / 3.081 GB, free: 42.99 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/5.349, allocations: 0 / 3.081 GB, free: 42.99 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.434e-05/5.349, allocations: 342.8 kB / 3.082 GB, free: 42.65 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/5.349, allocations: 124.6 kB / 3.082 GB, free: 42.52 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/5.349, allocations: 202.8 kB / 3.082 GB, free: 42.31 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/5.35, allocations: 141 kB / 3.082 GB, free: 42.17 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/5.35, allocations: 0 / 3.082 GB, free: 42.17 MB / 0.948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003079/5.353, allocations: 0.7975 MB / 3.083 GB, free: 41.37 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/5.353, allocations: 41.62 kB / 3.083 GB, free: 41.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/5.353, allocations: 4 kB / 3.083 GB, free: 41.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007259/5.353, allocations: 185.7 kB / 3.083 GB, free: 41.13 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/5.354, allocations: 35.97 kB / 3.083 GB, free: 41.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/5.356, allocations: 2.159 MB / 3.085 GB, free: 38.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/5.356, allocations: 39.62 kB / 3.085 GB, free: 38.76 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.045e-05/5.356, allocations: 23.97 kB / 3.085 GB, free: 38.73 MB / 0.948 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.0001924/5.356, allocations: 174.7 kB / 3.085 GB, free: 38.56 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/5.356, allocations: 27.62 kB / 3.085 GB, free: 38.53 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/5.356, allocations: 26.09 kB / 3.085 GB, free: 38.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/5.356, allocations: 0 / 3.085 GB, free: 38.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/5.356, allocations: 0 / 3.085 GB, free: 38.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/5.356, allocations: 8 kB / 3.085 GB, free: 38.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002709/5.359, allocations: 0.9671 MB / 3.086 GB, free: 37.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/5.359, allocations: 0 / 3.086 GB, free: 37.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.733e-05/5.359, allocations: 7.938 kB / 3.086 GB, free: 37.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001447/5.359, allocations: 96.8 kB / 3.086 GB, free: 37.38 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/5.359, allocations: 12.86 kB / 3.086 GB, free: 37.37 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005593/5.36, allocations: 0.7305 MB / 3.087 GB, free: 36.61 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/5.36, allocations: 0 / 3.087 GB, free: 36.61 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/5.363, allocations: 0.8382 MB / 3.088 GB, free: 35.76 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/5.363, allocations: 140 kB / 3.088 GB, free: 35.61 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.331e-05/5.363, allocations: 7.953 kB / 3.088 GB, free: 35.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/5.363, allocations: 11.98 kB / 3.088 GB, free: 35.59 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/5.363, allocations: 20.05 kB / 3.088 GB, free: 35.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/5.363, allocations: 11.98 kB / 3.088 GB, free: 35.56 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001596/5.363, allocations: 207.4 kB / 3.088 GB, free: 35.36 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/5.363, allocations: 0 / 3.088 GB, free: 35.36 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006116/5.364, allocations: 139.9 kB / 3.089 GB, free: 35.22 MB / 0.948 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.0008776/5.365, allocations: 0.8191 MB / 3.089 GB, free: 34.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001118/5.366, allocations: 0.5139 MB / 3.09 GB, free: 33.86 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/5.366, allocations: 0 / 3.09 GB, free: 33.86 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000561/5.367, allocations: 228.1 kB / 3.09 GB, free: 33.62 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/5.367, allocations: 52.69 kB / 3.09 GB, free: 33.57 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007074/5.368, allocations: 414.2 kB / 3.09 GB, free: 33.14 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/5.368, allocations: 0.7679 MB / 3.091 GB, free: 32.35 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001334/5.368, allocations: 27 kB / 3.091 GB, free: 32.32 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/5.368, allocations: 19.44 kB / 3.091 GB, free: 32.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.4e-07/5.368, allocations: 0 / 3.091 GB, free: 32.3 MB / 0.948 GB Notification: Performance of Templates: time 0.01269/5.381, allocations: 9.621 MB / 3.101 GB, free: 22.77 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)