Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 189.6 kB / 7.804 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4493/0.4493, allocations: 90.85 MB / 99.07 MB, free: 14.98 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 221.4 MB / 342.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 92.17 kB / 415.5 MB, free: 6.473 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.064e-06/7.084e-06, allocations: 0 / 493.9 MB, free: 8.121 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4233, allocations: 72.3 MB / 0.5529 GB, free: 73.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.05/4.473, allocations: 2.254 GB / 2.806 GB, free: 31.16 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/4.473, allocations: 89.08 kB / 2.807 GB, free: 31.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.557/8.03, allocations: 1.172 GB / 3.978 GB, free: 43.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002978/8.031, allocations: 51.98 kB / 3.978 GB, free: 43.79 MB / 0.6355 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.008544/8.039, allocations: 2.761 MB / 3.981 GB, free: 40.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/8.039, allocations: 8.031 kB / 3.981 GB, free: 40.94 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01617/8.055, allocations: 2.385 MB / 3.983 GB, free: 38.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006492/8.062, allocations: 2.09 MB / 3.985 GB, free: 36.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007248/8.063, allocations: 219 kB / 3.986 GB, free: 36.19 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008872/8.064, allocations: 100 kB / 3.986 GB, free: 36.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006417/8.07, allocations: 2.232 MB / 3.988 GB, free: 33.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004163/8.074, allocations: 2.13 MB / 3.99 GB, free: 31.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.812e-05/8.074, allocations: 3.938 kB / 3.99 GB, free: 31.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002139/8.075, allocations: 4 kB / 3.99 GB, free: 31.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.57e-05/8.075, allocations: 67.17 kB / 3.99 GB, free: 31.61 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01638/8.091, allocations: 8.934 MB / 3.999 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/8.094, allocations: 1.713 MB / 4 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/8.095, allocations: 1.017 MB / 4.001 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007885/8.103, allocations: 5.196 MB / 4.007 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00156/8.105, allocations: 1.239 MB / 4.008 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=151): time 3.386e-06/8.105, allocations: 0 / 4.008 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of matching and sorting (n=151): time 0.007603/8.112, allocations: 2.575 MB / 4.01 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/8.112, allocations: 149.8 kB / 4.01 GB, free: 10.05 MB / 0.6355 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.001782/8.114, allocations: 1.236 MB / 4.012 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002006/8.114, allocations: 29.7 kB / 4.012 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004401/8.115, allocations: 0.6075 MB / 4.012 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004088/8.115, allocations: 480.7 kB / 4.013 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/8.115, allocations: 4 kB / 4.013 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.916e-05/8.115, allocations: 377.8 kB / 4.013 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/8.117, allocations: 0.8826 MB / 4.014 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/8.118, allocations: 1.214 MB / 4.015 GB, free: 5.086 MB / 0.6355 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.003954/8.122, allocations: 1.642 MB / 4.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/8.122, allocations: 0 / 4.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.007191/8.129, allocations: 2.825 MB / 4.019 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.2838/8.413, allocations: 2.23 MB / 4.022 GB, free: 113.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-05/8.413, allocations: 3.906 kB / 4.022 GB, free: 113.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/8.414, allocations: 355.4 kB / 4.022 GB, free: 113.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004983/8.419, allocations: 0.738 MB / 4.023 GB, free: 113.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004949/8.424, allocations: 5.596 MB / 4.028 GB, free: 108.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004825/8.429, allocations: 477.3 kB / 4.029 GB, free: 108.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004043/8.43, allocations: 100.9 kB / 4.029 GB, free: 108.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/8.43, allocations: 4.656 kB / 4.029 GB, free: 108.5 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00714/8.437, allocations: 2.604 MB / 4.031 GB, free: 108.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/8.437, allocations: 3.875 kB / 4.031 GB, free: 108.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009351/8.438, allocations: 359.1 kB / 4.032 GB, free: 108.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004406/8.442, allocations: 0.7334 MB / 4.032 GB, free: 108.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00509/8.447, allocations: 5.59 MB / 4.038 GB, free: 103.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004388/8.452, allocations: 452.6 kB / 4.038 GB, free: 103.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003119/8.452, allocations: 97.98 kB / 4.038 GB, free: 103.8 MB / 0.6355 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.0006762/8.453, allocations: 226.1 kB / 4.039 GB, free: 103.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004943/8.453, allocations: 191.4 kB / 4.039 GB, free: 103.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008419/8.462, allocations: 2.982 MB / 4.042 GB, free: 103.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/8.462, allocations: 17.08 kB / 4.042 GB, free: 103.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/8.462, allocations: 3.844 kB / 4.042 GB, free: 103.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/8.462, allocations: 11.22 kB / 4.042 GB, free: 103.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01284/8.474, allocations: 5.631 MB / 4.047 GB, free: 102.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/8.475, allocations: 0 / 4.047 GB, free: 102.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003074/8.478, allocations: 0.4903 MB / 4.048 GB, free: 102.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/8.479, allocations: 352.8 kB / 4.048 GB, free: 102.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002186/8.479, allocations: 50.83 kB / 4.048 GB, free: 102.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00418/8.483, allocations: 4.343 MB / 4.052 GB, free: 99.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/8.483, allocations: 5.219 kB / 4.052 GB, free: 99.45 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01057/8.494, allocations: 4.358 MB / 4.057 GB, free: 98.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/8.496, allocations: 0.6248 MB / 4.057 GB, free: 98.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005238/8.496, allocations: 11.66 kB / 4.057 GB, free: 98.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003558/8.5, allocations: 381.7 kB / 4.058 GB, free: 98.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/8.5, allocations: 90.97 kB / 4.058 GB, free: 98.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002197/8.5, allocations: 74.7 kB / 4.058 GB, free: 98.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001334/8.502, allocations: 0.9222 MB / 4.059 GB, free: 98.51 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004872/8.506, allocations: 1.507 MB / 4.06 GB, free: 98.45 MB / 0.6355 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.003846/8.51, allocations: 2.783 MB / 4.063 GB, free: 97.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.008943/8.519, allocations: 4.149 MB / 4.067 GB, free: 97.15 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/8.519, allocations: 0 / 4.067 GB, free: 97.15 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0022/8.521, allocations: 1.372 MB / 4.068 GB, free: 96.89 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003842/8.525, allocations: 0.7075 MB / 4.069 GB, free: 96.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/8.542, allocations: 4.089 MB / 4.073 GB, free: 96.13 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002134/8.544, allocations: 1.808 MB / 4.075 GB, free: 95.39 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/8.544, allocations: 0 / 4.075 GB, free: 95.39 MB / 0.6355 GB Notification: Performance of Templates: time 0.1095/8.654, allocations: 75.88 MB / 4.149 GB, free: 92.15 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe 2>&1)