Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.068/2.068, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001258/0.001258, allocations: 189.2 kB / 487 MB, free: 5.387 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.454/1.454, allocations: 221.3 MB / 0.7819 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 101.8 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.055e-06/8.075e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3008, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.361/5.662, allocations: 2.3 GB / 3.505 GB, free: 419.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/5.662, allocations: 88.11 kB / 3.505 GB, free: 419.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.547/9.21, allocations: 1.172 GB / 4.677 GB, free: 114.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000197/9.21, allocations: 52.3 kB / 4.677 GB, free: 114.5 MB / 1.151 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.008238/9.218, allocations: 2.765 MB / 4.68 GB, free: 111.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/9.218, allocations: 13.03 kB / 4.68 GB, free: 111.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01601/9.234, allocations: 2.382 MB / 4.682 GB, free: 109.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006079/9.24, allocations: 2.08 MB / 4.684 GB, free: 107.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006712/9.241, allocations: 219 kB / 4.684 GB, free: 107 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006563/9.242, allocations: 103.9 kB / 4.684 GB, free: 106.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004208/9.246, allocations: 2.236 MB / 4.686 GB, free: 104.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003534/9.249, allocations: 2.126 MB / 4.688 GB, free: 102.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.142e-05/9.249, allocations: 3.938 kB / 4.688 GB, free: 102.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/9.25, allocations: 4 kB / 4.688 GB, free: 102.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.54e-05/9.25, allocations: 67.17 kB / 4.689 GB, free: 102.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01724/9.267, allocations: 8.924 MB / 4.697 GB, free: 93.23 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002701/9.27, allocations: 1.717 MB / 4.699 GB, free: 91.49 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/9.271, allocations: 1.028 MB / 4.7 GB, free: 90.46 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008716/9.28, allocations: 5.209 MB / 4.705 GB, free: 84.97 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001628/9.282, allocations: 1.235 MB / 4.706 GB, free: 83.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=152): time 3.186e-06/9.282, allocations: 0 / 4.706 GB, free: 83.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=152): time 0.008073/9.29, allocations: 2.586 MB / 4.709 GB, free: 81.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/9.29, allocations: 149.8 kB / 4.709 GB, free: 80.93 MB / 1.151 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.002111/9.292, allocations: 1.232 MB / 4.71 GB, free: 79.69 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003402/9.292, allocations: 29.7 kB / 4.71 GB, free: 79.66 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004964/9.293, allocations: 0.6032 MB / 4.711 GB, free: 79.04 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005062/9.293, allocations: 487.9 kB / 4.711 GB, free: 78.56 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/9.293, allocations: 4 kB / 4.711 GB, free: 78.56 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001046/9.293, allocations: 365.9 kB / 4.712 GB, free: 78.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/9.295, allocations: 0.8865 MB / 4.712 GB, free: 77.31 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/9.296, allocations: 1.228 MB / 4.714 GB, free: 75.96 MB / 1.151 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.004132/9.3, allocations: 1.628 MB / 4.715 GB, free: 74.31 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/9.301, allocations: 3.906 kB / 4.715 GB, free: 74.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.007571/9.308, allocations: 2.832 MB / 4.718 GB, free: 71.45 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004989/9.309, allocations: 2.323 MB / 4.72 GB, free: 69 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/9.309, allocations: 4 kB / 4.72 GB, free: 69 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/9.31, allocations: 363.1 kB / 4.721 GB, free: 68.63 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004765/9.314, allocations: 0.7334 MB / 4.721 GB, free: 67.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00491/9.319, allocations: 5.597 MB / 4.727 GB, free: 61.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005161/9.325, allocations: 478.3 kB / 4.727 GB, free: 61.43 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000667/9.325, allocations: 99.91 kB / 4.727 GB, free: 61.34 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/9.325, allocations: 6.188 kB / 4.727 GB, free: 61.33 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007455/9.333, allocations: 2.61 MB / 4.73 GB, free: 58.71 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/9.333, allocations: 4 kB / 4.73 GB, free: 58.71 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009623/9.334, allocations: 367.4 kB / 4.73 GB, free: 58.34 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004675/9.338, allocations: 0.7295 MB / 4.731 GB, free: 57.61 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004783/9.343, allocations: 5.59 MB / 4.736 GB, free: 51.62 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004918/9.348, allocations: 454.6 kB / 4.737 GB, free: 51.18 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005765/9.349, allocations: 95.91 kB / 4.737 GB, free: 51.08 MB / 1.151 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: 26 * Number of states: 0 () * Number of discrete variables: 18 (hex.UAFroRated.isFulDry,hex.UAFroRated.isFulWet,hex.flowRegime_nominal,$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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 187 * 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.0007635/9.35, allocations: 229.7 kB / 4.737 GB, free: 50.84 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006971/9.35, allocations: 189.7 kB / 4.737 GB, free: 50.65 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008711/9.359, allocations: 2.99 MB / 4.74 GB, free: 47.63 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/9.359, allocations: 12 kB / 4.74 GB, free: 47.62 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/9.359, allocations: 11.94 kB / 4.74 GB, free: 47.61 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/9.359, allocations: 7.969 kB / 4.74 GB, free: 47.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/9.373, allocations: 5.629 MB / 4.746 GB, free: 41.91 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/9.373, allocations: 4 kB / 4.746 GB, free: 41.91 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003067/9.376, allocations: 0.4919 MB / 4.746 GB, free: 41.42 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/9.378, allocations: 359.2 kB / 4.747 GB, free: 41.05 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003213/9.378, allocations: 39.94 kB / 4.747 GB, free: 41.02 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004233/9.382, allocations: 4.352 MB / 4.751 GB, free: 36.38 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/9.382, allocations: 4 kB / 4.751 GB, free: 36.38 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01073/9.393, allocations: 4.367 MB / 4.755 GB, free: 31.88 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002024/9.395, allocations: 0.6192 MB / 4.756 GB, free: 31.24 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005962/9.396, allocations: 15.84 kB / 4.756 GB, free: 31.22 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003589/9.399, allocations: 379.5 kB / 4.756 GB, free: 30.85 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/9.399, allocations: 89.27 kB / 4.756 GB, free: 30.77 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002281/9.4, allocations: 75.94 kB / 4.756 GB, free: 30.69 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0015/9.401, allocations: 0.9197 MB / 4.757 GB, free: 29.78 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006327/9.408, allocations: 1.506 MB / 4.759 GB, free: 28.27 MB / 1.151 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: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * 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 (138): * Single equations (assignments): 130 * 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.004627/9.412, allocations: 2.791 MB / 4.761 GB, free: 25.58 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008475/9.421, allocations: 4.155 MB / 4.765 GB, free: 21.36 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/9.421, allocations: 4 kB / 4.765 GB, free: 21.36 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002205/9.423, allocations: 1.387 MB / 4.767 GB, free: 19.94 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004134/9.427, allocations: 0.7151 MB / 4.768 GB, free: 19.23 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01844/9.446, allocations: 4.087 MB / 4.771 GB, free: 15.11 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002294/9.448, allocations: 1.804 MB / 4.773 GB, free: 13.27 MB / 1.151 GB Notification: Performance of SimCode: time 1.553e-06/9.448, allocations: 0 / 4.773 GB, free: 13.27 MB / 1.151 GB Notification: Performance of Templates: time 0.7891/10.24, allocations: 75.93 MB / 4.847 GB, free: 297.6 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe 2>&1)