Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.002009/0.002009, allocations: 178.7 kB / 7.463 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5957/0.5957, allocations: 133.5 MB / 141.4 MB, free: 15.72 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.135/1.135, allocations: 221.3 MB / 395 MB, free: 10.19 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 96.47 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.811e-06/5.841e-06, allocations: 0 / 0.5528 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.263/3.383, allocations: 2.263 GB / 2.896 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/3.383, allocations: 88.33 kB / 2.896 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.933/6.316, allocations: 1.174 GB / 4.069 GB, free: 84.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001421/6.316, allocations: 53.08 kB / 4.07 GB, free: 84.21 MB / 0.7136 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.005384/6.322, allocations: 2.756 MB / 4.072 GB, free: 82.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/6.322, allocations: 8.719 kB / 4.072 GB, free: 82.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01398/6.336, allocations: 2.388 MB / 4.075 GB, free: 82.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003819/6.34, allocations: 2.081 MB / 4.077 GB, free: 82.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005959/6.34, allocations: 220 kB / 4.077 GB, free: 82.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002742/6.34, allocations: 103.1 kB / 4.077 GB, free: 82.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00336/6.344, allocations: 2.232 MB / 4.079 GB, free: 82.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003054/6.347, allocations: 2.128 MB / 4.081 GB, free: 82.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/6.347, allocations: 4.562 kB / 4.081 GB, free: 82.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002009/6.347, allocations: 11.2 kB / 4.081 GB, free: 82.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-05/6.347, allocations: 65.52 kB / 4.081 GB, free: 82.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01316/6.36, allocations: 8.905 MB / 4.09 GB, free: 79.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002287/6.363, allocations: 1.725 MB / 4.092 GB, free: 79.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/6.364, allocations: 1.033 MB / 4.093 GB, free: 79.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007182/6.371, allocations: 5.19 MB / 4.098 GB, free: 77.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001496/6.373, allocations: 1.235 MB / 4.099 GB, free: 76.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=152): time 2.615e-06/6.373, allocations: 0 / 4.099 GB, free: 76.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=152): time 0.007338/6.38, allocations: 2.581 MB / 4.101 GB, free: 76.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/6.38, allocations: 154.3 kB / 4.102 GB, free: 76.63 MB / 0.7136 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.001793/6.382, allocations: 1.235 MB / 4.103 GB, free: 76.46 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/6.382, allocations: 28.8 kB / 4.103 GB, free: 76.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/6.382, allocations: 0.598 MB / 4.103 GB, free: 76.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003772/6.383, allocations: 484 kB / 4.104 GB, free: 75.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/6.383, allocations: 1.469 kB / 4.104 GB, free: 75.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.33e-05/6.383, allocations: 377.5 kB / 4.104 GB, free: 75.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/6.384, allocations: 0.8874 MB / 4.105 GB, free: 75.13 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/6.386, allocations: 1.212 MB / 4.106 GB, free: 74.38 MB / 0.7136 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.003828/6.39, allocations: 1.636 MB / 4.108 GB, free: 73.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/6.39, allocations: 1.031 kB / 4.108 GB, free: 73.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.007179/6.397, allocations: 2.845 MB / 4.111 GB, free: 72.72 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003279/6.397, allocations: 2.318 MB / 4.113 GB, free: 70.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/6.397, allocations: 7.703 kB / 4.113 GB, free: 70.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009553/6.398, allocations: 359.8 kB / 4.113 GB, free: 70.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004344/6.403, allocations: 0.7315 MB / 4.114 GB, free: 70.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004396/6.407, allocations: 5.604 MB / 4.119 GB, free: 65.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004109/6.411, allocations: 476.9 kB / 4.12 GB, free: 64.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002695/6.411, allocations: 100.5 kB / 4.12 GB, free: 64.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.251e-06/6.411, allocations: 4.844 kB / 4.12 GB, free: 64.96 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006549/6.418, allocations: 2.611 MB / 4.123 GB, free: 64.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/6.418, allocations: 5.281 kB / 4.123 GB, free: 64.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008859/6.419, allocations: 353.6 kB / 4.123 GB, free: 63.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004245/6.423, allocations: 0.7352 MB / 4.124 GB, free: 63.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004288/6.427, allocations: 5.598 MB / 4.129 GB, free: 58.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003799/6.431, allocations: 452 kB / 4.129 GB, free: 58.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002488/6.432, allocations: 97.88 kB / 4.13 GB, free: 58.71 MB / 0.7136 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.0005732/6.432, allocations: 226 kB / 4.13 GB, free: 58.51 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/6.433, allocations: 187 kB / 4.13 GB, free: 58.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008173/6.441, allocations: 2.994 MB / 4.133 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/6.441, allocations: 15.34 kB / 4.133 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/6.441, allocations: 0 / 4.133 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/6.441, allocations: 11.02 kB / 4.133 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/6.452, allocations: 5.641 MB / 4.138 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/6.452, allocations: 3.625 kB / 4.138 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002984/6.455, allocations: 495.4 kB / 4.139 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/6.457, allocations: 351.7 kB / 4.139 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001865/6.457, allocations: 46.89 kB / 4.139 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004011/6.461, allocations: 4.355 MB / 4.144 GB, free: 50.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/6.461, allocations: 3.688 kB / 4.144 GB, free: 50.93 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009408/6.47, allocations: 4.369 MB / 4.148 GB, free: 47.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/6.471, allocations: 0.6222 MB / 4.148 GB, free: 47.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000415/6.472, allocations: 15.56 kB / 4.148 GB, free: 47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003181/6.475, allocations: 367.7 kB / 4.149 GB, free: 46.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/6.475, allocations: 98.53 kB / 4.149 GB, free: 46.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/6.475, allocations: 73.3 kB / 4.149 GB, free: 46.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.001138/6.476, allocations: 0.9135 MB / 4.15 GB, free: 45.83 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003971/6.48, allocations: 1.509 MB / 4.151 GB, free: 44.35 MB / 0.7136 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.002845/6.483, allocations: 2.782 MB / 4.154 GB, free: 42.06 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006856/6.49, allocations: 4.161 MB / 4.158 GB, free: 38.11 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/6.49, allocations: 0 / 4.158 GB, free: 38.11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001778/6.492, allocations: 1.39 MB / 4.159 GB, free: 36.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002961/6.495, allocations: 0.7145 MB / 4.16 GB, free: 36.24 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/6.509, allocations: 4.09 MB / 4.164 GB, free: 32.55 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001756/6.511, allocations: 1.804 MB / 4.166 GB, free: 30.71 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/6.511, allocations: 4 kB / 4.166 GB, free: 30.71 MB / 0.7136 GB Notification: Performance of Templates: time 0.3213/6.832, allocations: 75.91 MB / 4.24 GB, free: 138.8 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe 2>&1)