Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.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.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.573/1.573, allocations: 285.5 MB / 292.8 MB, free: 9.711 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.001047/0.001046, allocations: 185.2 kB / 361.1 MB, free: 344 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.2 MB / 0.6195 GB, free: 2.867 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008977/0.0008982, allocations: 89.12 kB / 0.7326 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.085e-05/1.087e-05, allocations: 2.719 kB / 0.8511 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2166, allocations: 115.3 MB / 0.9637 GB, free: 56.34 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.143/6.36, allocations: 2.457 GB / 3.421 GB, free: 290 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/6.36, allocations: 89.03 kB / 3.421 GB, free: 289.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.189/10.55, allocations: 1.16 GB / 4.58 GB, free: 152.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000189/10.55, allocations: 52.17 kB / 4.58 GB, free: 152.2 MB / 0.9636 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.007504/10.56, allocations: 2.723 MB / 4.583 GB, free: 150.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/10.56, allocations: 7.812 kB / 4.583 GB, free: 150.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01633/10.57, allocations: 2.379 MB / 4.585 GB, free: 150.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005963/10.58, allocations: 2.077 MB / 4.587 GB, free: 150.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006815/10.58, allocations: 216.7 kB / 4.588 GB, free: 150.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005354/10.58, allocations: 107.2 kB / 4.588 GB, free: 150.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004216/10.58, allocations: 2.24 MB / 4.59 GB, free: 150.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003479/10.59, allocations: 2.108 MB / 4.592 GB, free: 150 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.965e-05/10.59, allocations: 3.891 kB / 4.592 GB, free: 150 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002177/10.59, allocations: 0 / 4.592 GB, free: 150 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-05/10.59, allocations: 73.25 kB / 4.592 GB, free: 150 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01833/10.61, allocations: 8.902 MB / 4.601 GB, free: 147.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003383/10.61, allocations: 1.714 MB / 4.602 GB, free: 147.1 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/10.61, allocations: 1.017 MB / 4.603 GB, free: 147.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01102/10.62, allocations: 5.18 MB / 4.608 GB, free: 145 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0021/10.63, allocations: 1.226 MB / 4.61 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=151): time 3.988e-06/10.63, allocations: 0 / 4.61 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=151): time 0.009197/10.63, allocations: 2.513 MB / 4.612 GB, free: 144.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.408e-05/10.63, allocations: 151.7 kB / 4.612 GB, free: 144.4 MB / 0.9636 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.002867/10.64, allocations: 1.228 MB / 4.613 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005839/10.64, allocations: 33.14 kB / 4.613 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007038/10.64, allocations: 0.6085 MB / 4.614 GB, free: 143.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007024/10.64, allocations: 480.9 kB / 4.615 GB, free: 143 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/10.64, allocations: 1.281 kB / 4.615 GB, free: 143 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001216/10.64, allocations: 371.8 kB / 4.615 GB, free: 142.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/10.64, allocations: 0.8808 MB / 4.616 GB, free: 142.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/10.64, allocations: 1.213 MB / 4.617 GB, free: 141.5 MB / 0.9636 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.005392/10.65, allocations: 1.621 MB / 4.618 GB, free: 140.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/10.65, allocations: 1.031 kB / 4.618 GB, free: 140.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.008426/10.66, allocations: 2.759 MB / 4.621 GB, free: 139.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004978/10.66, allocations: 2.311 MB / 4.623 GB, free: 137.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/10.66, allocations: 10.42 kB / 4.623 GB, free: 137.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007968/10.66, allocations: 250.5 kB / 4.624 GB, free: 137.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005092/10.66, allocations: 0.7928 MB / 4.624 GB, free: 137.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/10.67, allocations: 3.852 MB / 4.628 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005128/10.67, allocations: 477.2 kB / 4.629 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005002/10.67, allocations: 98.7 kB / 4.629 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/10.67, allocations: 3.844 kB / 4.629 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007545/10.68, allocations: 2.542 MB / 4.631 GB, free: 132.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/10.68, allocations: 3.719 kB / 4.631 GB, free: 132.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007631/10.68, allocations: 237 kB / 4.631 GB, free: 132.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005301/10.69, allocations: 0.7981 MB / 4.632 GB, free: 132.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00269/10.69, allocations: 3.862 MB / 4.636 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004919/10.69, allocations: 451.2 kB / 4.636 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003732/10.69, allocations: 96.73 kB / 4.637 GB, free: 128.8 MB / 0.9636 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.000792/10.69, allocations: 214 kB / 4.637 GB, free: 128.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006375/10.7, allocations: 186.2 kB / 4.637 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007553/10.7, allocations: 2.759 MB / 4.64 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/10.7, allocations: 18.59 kB / 4.64 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/10.7, allocations: 3.031 kB / 4.64 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/10.7, allocations: 14.16 kB / 4.64 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/10.72, allocations: 5.404 MB / 4.645 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/10.72, allocations: 0 / 4.645 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003582/10.72, allocations: 0.5539 MB / 4.646 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009118/10.72, allocations: 241.7 kB / 4.646 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002876/10.72, allocations: 39.23 kB / 4.646 GB, free: 125 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/10.72, allocations: 2.6 MB / 4.648 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/10.72, allocations: 3.281 kB / 4.648 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01007/10.73, allocations: 4.147 MB / 4.652 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002376/10.74, allocations: 0.6259 MB / 4.653 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/10.74, allocations: 11.45 kB / 4.653 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004447/10.74, allocations: 373.3 kB / 4.653 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/10.74, allocations: 89.47 kB / 4.653 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002431/10.74, allocations: 73.16 kB / 4.653 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001729/10.74, allocations: 0.9178 MB / 4.654 GB, free: 119.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006327/10.75, allocations: 1.443 MB / 4.656 GB, free: 119.4 MB / 0.9636 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.005447/10.75, allocations: 2.785 MB / 4.659 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01064/10.77, allocations: 3.927 MB / 4.662 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/10.77, allocations: 0 / 4.662 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002144/10.77, allocations: 1.276 MB / 4.664 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003935/10.77, allocations: 0.7212 MB / 4.664 GB, free: 115.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/10.79, allocations: 4.069 MB / 4.668 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002367/10.79, allocations: 1.808 MB / 4.67 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/10.79, allocations: 0 / 4.67 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.1022/10.89, allocations: 73.99 MB / 4.742 GB, free: 40.5 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe 2>&1)