Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.Q2_flow|hex.QLat2_flow|hex.port_a1.m_flow|hex.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.Q2_flow|hex.QLat2_flow|hex.port_a1.m_flow|hex.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") [: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 10.0.0-master/package.mo): time 1.976/1.976, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 181.2 kB / 490.8 MB, free: 1.941 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 221.3 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 94.06 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.534e-06/7.555e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2924, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.143/4.436, allocations: 2.301 GB / 3.513 GB, free: 5.844 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/4.436, allocations: 99.22 kB / 3.513 GB, free: 5.75 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.912/8.348, allocations: 1.172 GB / 4.684 GB, free: 158.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001907/8.348, allocations: 57.7 kB / 4.685 GB, free: 158.6 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.007906/8.356, allocations: 2.76 MB / 4.687 GB, free: 155.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/8.356, allocations: 8.031 kB / 4.687 GB, free: 155.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01579/8.372, allocations: 2.394 MB / 4.69 GB, free: 153.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00608/8.378, allocations: 2.078 MB / 4.692 GB, free: 151.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006514/8.379, allocations: 219 kB / 4.692 GB, free: 151.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004925/8.38, allocations: 107.9 kB / 4.692 GB, free: 151 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004105/8.384, allocations: 2.232 MB / 4.694 GB, free: 148.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003481/8.387, allocations: 2.133 MB / 4.696 GB, free: 146.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.718e-05/8.387, allocations: 0 / 4.696 GB, free: 146.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002121/8.387, allocations: 0 / 4.696 GB, free: 146.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.805e-05/8.388, allocations: 67.17 kB / 4.696 GB, free: 146.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01633/8.404, allocations: 8.948 MB / 4.705 GB, free: 137.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/8.406, allocations: 1.714 MB / 4.707 GB, free: 135.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/8.408, allocations: 1.024 MB / 4.708 GB, free: 134.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008202/8.416, allocations: 5.197 MB / 4.713 GB, free: 129.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001691/8.418, allocations: 1.231 MB / 4.714 GB, free: 127.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=151): time 3.526e-06/8.418, allocations: 0 / 4.714 GB, free: 127.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=151): time 0.007926/8.426, allocations: 2.579 MB / 4.716 GB, free: 125.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/8.426, allocations: 153.8 kB / 4.717 GB, free: 125.1 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:5870:7-5870:44:writable] Warning: Parameter hex.UAFroRated.staWat.T has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:5869:7-5869:55:writable] Warning: Parameter hex.UAFroRated.staWat.p has no value, and is fixed during initialization (fixed=true), using available start value (start=300000.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:5093:7-5094:64:writable] Warning: Parameter hex.UAFroRated.staAir.X[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.99) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:5093:7-5094:64:writable] Warning: Parameter hex.UAFroRated.staAir.X[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.01) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:5092:7-5092:44:writable] Warning: Parameter hex.UAFroRated.staAir.T has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:5091:7-5091:55:writable] Warning: Parameter hex.UAFroRated.staAir.p has no value, and is fixed during initialization (fixed=true), using available start value (start=101325.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/8.428, allocations: 1.232 MB / 4.718 GB, free: 123.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001821/8.428, allocations: 29.7 kB / 4.718 GB, free: 123.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005397/8.429, allocations: 0.5997 MB / 4.718 GB, free: 123.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004546/8.429, allocations: 484.7 kB / 4.719 GB, free: 122.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/8.429, allocations: 4 kB / 4.719 GB, free: 122.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001111/8.429, allocations: 365.9 kB / 4.719 GB, free: 122.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/8.431, allocations: 0.8865 MB / 4.72 GB, free: 121.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/8.432, allocations: 1.221 MB / 4.721 GB, free: 120.2 MB / 1.167 GB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.00413/8.436, allocations: 1.63 MB / 4.723 GB, free: 118.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/8.436, allocations: 0 / 4.723 GB, free: 118.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.007504/8.444, allocations: 2.832 MB / 4.726 GB, free: 115.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005175/8.444, allocations: 2.232 MB / 4.728 GB, free: 113.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/8.444, allocations: 4 kB / 4.728 GB, free: 113.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/8.445, allocations: 354.3 kB / 4.728 GB, free: 113 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004654/8.45, allocations: 0.7295 MB / 4.729 GB, free: 112.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004903/8.455, allocations: 5.617 MB / 4.734 GB, free: 106.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004963/8.46, allocations: 474.4 kB / 4.735 GB, free: 105.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004315/8.46, allocations: 99.91 kB / 4.735 GB, free: 105.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/8.46, allocations: 7.125 kB / 4.735 GB, free: 105.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007201/8.468, allocations: 2.602 MB / 4.737 GB, free: 103.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/8.468, allocations: 4 kB / 4.737 GB, free: 103.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009566/8.469, allocations: 352 kB / 4.738 GB, free: 102.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004515/8.473, allocations: 0.7301 MB / 4.739 GB, free: 102 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004855/8.478, allocations: 5.611 MB / 4.744 GB, free: 95.98 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004839/8.483, allocations: 459.5 kB / 4.744 GB, free: 95.53 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004787/8.483, allocations: 99.91 kB / 4.745 GB, free: 95.43 MB / 1.167 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: hex.UAFroRated.hAirOut = 45300.945 hex.UAFroRated.X_wAirIn = 0.01 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hex.heaCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hex.heaCooHum_u.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 17 (hex.UAFroRated.isFulDry,hex.UAFroRated.isFulWet,$whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 4,1 2,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000842/8.484, allocations: 216.3 kB / 4.745 GB, free: 95.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006346/8.485, allocations: 189.8 kB / 4.745 GB, free: 95.01 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008666/8.494, allocations: 2.987 MB / 4.748 GB, free: 92 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/8.494, allocations: 23.98 kB / 4.748 GB, free: 91.97 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/8.494, allocations: 7.844 kB / 4.748 GB, free: 91.96 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/8.494, allocations: 3.984 kB / 4.748 GB, free: 91.96 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01289/8.506, allocations: 5.623 MB / 4.753 GB, free: 86.29 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/8.507, allocations: 4 kB / 4.753 GB, free: 86.28 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003038/8.51, allocations: 499.7 kB / 4.754 GB, free: 85.79 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/8.511, allocations: 357.2 kB / 4.754 GB, free: 85.45 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002473/8.511, allocations: 39.94 kB / 4.754 GB, free: 85.41 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004189/8.515, allocations: 4.35 MB / 4.758 GB, free: 80.78 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/8.515, allocations: 4 kB / 4.758 GB, free: 80.77 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01037/8.526, allocations: 4.357 MB / 4.763 GB, free: 76.29 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001921/8.528, allocations: 0.6269 MB / 4.763 GB, free: 75.64 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005623/8.528, allocations: 8 kB / 4.763 GB, free: 75.63 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003554/8.532, allocations: 383.8 kB / 4.764 GB, free: 75.26 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/8.532, allocations: 93.03 kB / 4.764 GB, free: 75.17 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002373/8.532, allocations: 79.92 kB / 4.764 GB, free: 75.09 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001441/8.534, allocations: 0.9161 MB / 4.765 GB, free: 74.18 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005819/8.539, allocations: 1.509 MB / 4.766 GB, free: 72.67 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (hex.dryWetCalcs.fullyWet.TWatOutEst,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 2,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004416/8.544, allocations: 2.781 MB / 4.769 GB, free: 70.04 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008462/8.552, allocations: 4.148 MB / 4.773 GB, free: 65.83 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/8.552, allocations: 0 / 4.773 GB, free: 65.83 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002238/8.555, allocations: 1.38 MB / 4.774 GB, free: 64.42 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004209/8.559, allocations: 0.7152 MB / 4.775 GB, free: 63.71 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01741/8.576, allocations: 4.087 MB / 4.779 GB, free: 59.54 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002221/8.579, allocations: 1.808 MB / 4.781 GB, free: 57.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.212e-06/8.579, allocations: 0 / 4.781 GB, free: 57.7 MB / 1.167 GB Notification: Performance of Templates: time 0.7219/9.301, allocations: 75.86 MB / 4.855 GB, free: 312.6 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe 2>&1)