Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4841/0.4841, allocations: 94.74 MB / 102 MB, free: 10.38 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00128/0.00128, allocations: 177.5 kB / 125.3 MB, free: 12.01 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.444/1.444, allocations: 170.5 MB / 319 MB, free: 9.355 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001687/0.001687, allocations: 105.6 kB / 381 MB, free: 18.2 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.864e-06/7.895e-06, allocations: 0 / 448.6 MB, free: 2.109 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1389, allocations: 61.52 MB / 0.4981 GB, free: 4.488 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.93/12.07, allocations: 5.202 GB / 5.7 GB, free: 78.94 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/12.07, allocations: 95.94 kB / 5.7 GB, free: 78.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.1486/12.22, allocations: 71.89 MB / 5.771 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.52e-05/12.22, allocations: 7.938 kB / 5.771 GB, free: 6.125 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001582/12.22, allocations: 0.6361 MB / 5.771 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/12.22, allocations: 8.031 kB / 5.771 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004985/12.22, allocations: 59.67 kB / 5.771 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006002/12.22, allocations: 288.1 kB / 5.772 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.818e-05/12.22, allocations: 33.7 kB / 5.772 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.497e-05/12.22, allocations: 20 kB / 5.772 GB, free: 4.996 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002248/12.22, allocations: 88.2 kB / 5.772 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/12.22, allocations: 164.3 kB / 5.772 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/12.22, allocations: 4 kB / 5.772 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/12.22, allocations: 0 / 5.772 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/12.22, allocations: 0 / 5.772 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/12.22, allocations: 0.7041 MB / 5.773 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/12.22, allocations: 134.4 kB / 5.773 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/12.22, allocations: 67.47 kB / 5.773 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/12.22, allocations: 7.984 kB / 5.773 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/12.22, allocations: 157 kB / 5.773 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 2.916e-06/12.22, allocations: 0 / 5.773 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.002994/12.23, allocations: 0.5173 MB / 5.773 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/12.23, allocations: 77.11 kB / 5.774 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/12.23, allocations: 243.4 kB / 5.774 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/12.23, allocations: 25.7 kB / 5.774 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.463e-05/12.23, allocations: 124.5 kB / 5.774 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.284e-05/12.23, allocations: 43.3 kB / 5.774 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.136e-05/12.23, allocations: 0 / 5.774 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001038/12.23, allocations: 342.8 kB / 5.774 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/12.23, allocations: 112.2 kB / 5.774 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/12.23, allocations: 163.8 kB / 5.775 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/12.23, allocations: 140.2 kB / 5.775 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/12.23, allocations: 4 kB / 5.775 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.002739/12.23, allocations: 0.6274 MB / 5.775 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/12.23, allocations: 4 kB / 5.775 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/12.23, allocations: 0 / 5.775 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005451/12.23, allocations: 141.7 kB / 5.775 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/12.23, allocations: 39.92 kB / 5.775 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2668/12.5, allocations: 1.272 MB / 5.777 GB, free: 203.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006107/12.5, allocations: 36.69 kB / 5.777 GB, free: 203.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.697e-05/12.5, allocations: 15.22 kB / 5.777 GB, free: 203.3 MB / 0.5261 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 torn nonlinear equation system: eva.XEvaWetBulOut_nominal:VARIABLE(min = 0.0 max = 1.0 unit = "1" fixed = false protected = true final = true ) "Water vapor mass fraction at nominal outlet wet bulb condition" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: 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 eva.mEva_flow:VARIABLE(max = 0.0 unit = "kg/s" ) "Moisture mass flow rate that evaporates into air stream" type: Real eva.mTotWat_flow:VARIABLE(unit = "kg/s" ) "Total moisture mass flow rate into the air stream" 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$PRE.eva.off,eva.off,$whenCondition1,mAir_flow.a,mAir_flow.b,mAir_flow.last,$PRE.mAir_flow.nextEvent,mAir_flow.nextEvent) * 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 {6} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002839/12.5, allocations: 162.8 kB / 5.777 GB, free: 203.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/12.5, allocations: 27.28 kB / 5.777 GB, free: 203.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.955e-05/12.5, allocations: 24.81 kB / 5.777 GB, free: 203.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/12.5, allocations: 2.531 kB / 5.777 GB, free: 203.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/12.5, allocations: 6.219 kB / 5.777 GB, free: 203.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/12.5, allocations: 0 / 5.777 GB, free: 203.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/12.5, allocations: 0.6228 MB / 5.778 GB, free: 202.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/12.5, allocations: 0 / 5.778 GB, free: 202.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.505e-05/12.5, allocations: 9.781 kB / 5.778 GB, free: 202.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001745/12.5, allocations: 98.7 kB / 5.778 GB, free: 202.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/12.5, allocations: 0 / 5.778 GB, free: 202.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006387/12.5, allocations: 0.737 MB / 5.778 GB, free: 202.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/12.5, allocations: 0 / 5.778 GB, free: 202.3 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008976/12.5, allocations: 0.4892 MB / 5.779 GB, free: 202.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/12.5, allocations: 130.3 kB / 5.779 GB, free: 202.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.795e-05/12.5, allocations: 3.938 kB / 5.779 GB, free: 202.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/12.5, allocations: 15.08 kB / 5.779 GB, free: 202.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/12.5, allocations: 9.766 kB / 5.779 GB, free: 202.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/12.5, allocations: 3.875 kB / 5.779 GB, free: 202.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001649/12.5, allocations: 191.4 kB / 5.779 GB, free: 202 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007539/12.5, allocations: 182.4 kB / 5.779 GB, free: 202 MB / 0.5261 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: 7 ($whenCondition2,$whenCondition1,eva.off,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent) * Number of discrete states: 6 (eva.off,mAir_flow.last,mAir_flow.nextEvent,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 {6} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001438/12.51, allocations: 0.9024 MB / 5.78 GB, free: 201.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009926/12.51, allocations: 316.7 kB / 5.781 GB, free: 201.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/12.51, allocations: 0 / 5.781 GB, free: 201.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005689/12.51, allocations: 173.5 kB / 5.781 GB, free: 201.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/12.51, allocations: 40.48 kB / 5.781 GB, free: 201.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008413/12.51, allocations: 371.8 kB / 5.781 GB, free: 201.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/12.51, allocations: 0.7734 MB / 5.782 GB, free: 200.9 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/12.51, allocations: 0 / 5.782 GB, free: 200.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.01528/12.52, allocations: 8.989 MB / 5.791 GB, free: 200.6 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)