Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.55/1.55, allocations: 289.8 MB / 297.1 MB, free: 6.629 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.001084/0.001084, allocations: 173.3 kB / 366.3 MB, free: 1.949 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.463/1.463, allocations: 205.2 MB / 0.6256 GB, free: 5.766 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.0009924/0.0009928, allocations: 90.66 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.518e-06/9.538e-06, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6471/0.6471, allocations: 116.3 MB / 0.9726 GB, free: 68.36 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.219/5.866, allocations: 2.458 GB / 3.43 GB, free: 42.74 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/5.866, allocations: 92.55 kB / 3.43 GB, free: 42.65 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.053/9.919, allocations: 1.16 GB / 4.59 GB, free: 1.922 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.000243/9.919, allocations: 63.84 kB / 4.59 GB, free: 1.859 MB / 0.9792 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.4811/10.4, allocations: 2.711 MB / 4.593 GB, free: 193.7 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/10.4, allocations: 10.03 kB / 4.593 GB, free: 193.7 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01608/10.42, allocations: 2.389 MB / 4.595 GB, free: 193.5 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006067/10.42, allocations: 2.068 MB / 4.597 GB, free: 193.2 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006807/10.42, allocations: 220.2 kB / 4.597 GB, free: 193.2 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005427/10.42, allocations: 100.6 kB / 4.598 GB, free: 193.2 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004113/10.43, allocations: 2.239 MB / 4.6 GB, free: 193.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003415/10.43, allocations: 2.113 MB / 4.602 GB, free: 193 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/10.43, allocations: 3.75 kB / 4.602 GB, free: 193 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002066/10.43, allocations: 6.906 kB / 4.602 GB, free: 193 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.088e-05/10.43, allocations: 69.16 kB / 4.602 GB, free: 193 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01618/10.45, allocations: 8.896 MB / 4.611 GB, free: 190.5 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/10.45, allocations: 1.71 MB / 4.612 GB, free: 190.4 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/10.45, allocations: 1.022 MB / 4.613 GB, free: 190.3 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008418/10.46, allocations: 5.181 MB / 4.618 GB, free: 188.3 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001712/10.46, allocations: 1.23 MB / 4.619 GB, free: 188.2 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=151): time 3.427e-06/10.46, allocations: 0 / 4.619 GB, free: 188.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=151): time 0.008078/10.47, allocations: 2.505 MB / 4.622 GB, free: 188 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.513e-05/10.47, allocations: 147.6 kB / 4.622 GB, free: 187.9 MB / 0.9792 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:6912:7-6912: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 3.2.3+maint.om/Media/package.mo:6911:7-6911: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 3.2.3+maint.om/Media/package.mo:6135:7-6136: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 3.2.3+maint.om/Media/package.mo:6135:7-6136: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 3.2.3+maint.om/Media/package.mo:6134:7-6134: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 3.2.3+maint.om/Media/package.mo:6133:7-6133: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.002621/10.47, allocations: 1.236 MB / 4.623 GB, free: 187.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0006756/10.47, allocations: 25.7 kB / 4.623 GB, free: 187.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007701/10.47, allocations: 0.6068 MB / 4.624 GB, free: 187.4 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009219/10.48, allocations: 484.7 kB / 4.624 GB, free: 187.2 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/10.48, allocations: 0 / 4.624 GB, free: 187.2 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001807/10.48, allocations: 368.1 kB / 4.625 GB, free: 186.9 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/10.48, allocations: 0.8831 MB / 4.626 GB, free: 186.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/10.48, allocations: 1.21 MB / 4.627 GB, free: 186.5 MB / 0.9792 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.004624/10.48, allocations: 1.626 MB / 4.628 GB, free: 186.3 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/10.48, allocations: 3.688 kB / 4.628 GB, free: 186.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.007862/10.49, allocations: 2.756 MB / 4.631 GB, free: 186.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006578/10.49, allocations: 2.323 MB / 4.633 GB, free: 183.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/10.49, allocations: 3.938 kB / 4.633 GB, free: 183.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008764/10.49, allocations: 243.5 kB / 4.634 GB, free: 183.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005778/10.5, allocations: 0.7948 MB / 4.634 GB, free: 183.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003274/10.5, allocations: 3.86 MB / 4.638 GB, free: 180.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005527/10.51, allocations: 469.8 kB / 4.639 GB, free: 180.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000608/10.51, allocations: 96.58 kB / 4.639 GB, free: 180.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/10.51, allocations: 6.781 kB / 4.639 GB, free: 180.2 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007267/10.52, allocations: 2.539 MB / 4.641 GB, free: 180.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/10.52, allocations: 7.875 kB / 4.641 GB, free: 180.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007034/10.52, allocations: 245.3 kB / 4.641 GB, free: 180.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005034/10.52, allocations: 0.8016 MB / 4.642 GB, free: 180.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/10.52, allocations: 3.851 MB / 4.646 GB, free: 176.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00485/10.53, allocations: 450.7 kB / 4.646 GB, free: 176.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004891/10.53, allocations: 101.5 kB / 4.646 GB, free: 176.6 MB / 0.9792 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 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 (197): * Single equations (assignments): 191 * 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: 3 * 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: 3 {1 1,1 2,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0008205/10.53, allocations: 218.2 kB / 4.647 GB, free: 176.4 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007084/10.53, allocations: 189.6 kB / 4.647 GB, free: 176.3 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007536/10.54, allocations: 2.766 MB / 4.65 GB, free: 176.2 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/10.54, allocations: 13.22 kB / 4.65 GB, free: 176.2 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/10.54, allocations: 0 / 4.65 GB, free: 176.2 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/10.54, allocations: 7.359 kB / 4.65 GB, free: 176.2 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/10.55, allocations: 5.401 MB / 4.655 GB, free: 175.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/10.55, allocations: 5.844 kB / 4.655 GB, free: 175.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003395/10.55, allocations: 0.5533 MB / 4.655 GB, free: 175.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008902/10.56, allocations: 245.2 kB / 4.656 GB, free: 175.6 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000275/10.56, allocations: 37.36 kB / 4.656 GB, free: 175.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/10.56, allocations: 2.597 MB / 4.658 GB, free: 173.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/10.56, allocations: 11.16 kB / 4.658 GB, free: 173.4 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009128/10.57, allocations: 4.137 MB / 4.662 GB, free: 172.8 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00175/10.57, allocations: 0.6251 MB / 4.663 GB, free: 172.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005378/10.57, allocations: 7.875 kB / 4.663 GB, free: 172.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003567/10.57, allocations: 369 kB / 4.663 GB, free: 172.6 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/10.57, allocations: 89.39 kB / 4.663 GB, free: 172.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002235/10.57, allocations: 79.55 kB / 4.663 GB, free: 172.6 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.001533/10.58, allocations: 0.9139 MB / 4.664 GB, free: 172.4 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005183/10.58, allocations: 1.453 MB / 4.666 GB, free: 172.4 MB / 0.9792 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 (141): * Single equations (assignments): 134 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 2,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004538/10.59, allocations: 2.786 MB / 4.668 GB, free: 171.6 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.008619/10.59, allocations: 3.935 MB / 4.672 GB, free: 171.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/10.59, allocations: 0 / 4.672 GB, free: 171.3 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002144/10.6, allocations: 1.268 MB / 4.673 GB, free: 171.1 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004163/10.6, allocations: 0.72 MB / 4.674 GB, free: 171.1 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0173/10.62, allocations: 4.058 MB / 4.678 GB, free: 170.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00229/10.62, allocations: 1.808 MB / 4.68 GB, free: 169.6 MB / 0.9792 GB Notification: Performance of SimCode: time 2.494e-06/10.62, allocations: 0 / 4.68 GB, free: 169.6 MB / 0.9792 GB Notification: Performance of Templates: time 0.1127/10.73, allocations: 74 MB / 4.752 GB, free: 168 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe 2>&1)