Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006171/0.006171, allocations: 104.5 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 192.1 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.111/1.111, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.91 kB / 0.5856 GB, free: 3.324 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4488, allocations: 80.91 MB / 0.6646 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.8319/1.281, allocations: 369.7 MB / 1.026 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0496/1.33, allocations: 33.26 MB / 1.058 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009648/1.34, allocations: 151.1 kB / 1.058 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.008868/1.349, allocations: 2.438 MB / 1.061 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.02736/1.376, allocations: 7.809 MB / 1.068 GB, free: 1.402 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01256/1.389, allocations: 4.567 MB / 1.073 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01881/1.408, allocations: 11.07 MB / 1.084 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008521/1.416, allocations: 3.976 MB / 1.087 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01726/1.434, allocations: 5.559 MB / 1.093 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007006/1.441, allocations: 3.451 MB / 1.096 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002143/1.443, allocations: 0.5469 MB / 1.097 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0147/1.458, allocations: 6.814 MB / 1.103 GB, free: 13.39 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002485/1.46, allocations: 1.46 MB / 1.105 GB, free: 11.92 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.005554/1.466, allocations: 2.839 MB / 1.108 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01873/1.484, allocations: 9.766 MB / 1.117 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/1.485, allocations: 0 / 1.117 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/1.485, allocations: 0 / 1.117 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002568/1.485, allocations: 0 / 1.117 GB, free: 15.28 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.01965/1.504, allocations: 5.931 MB / 1.123 GB, free: 9.238 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/1.505, allocations: 8.031 kB / 1.123 GB, free: 9.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03175/1.536, allocations: 4.294 MB / 1.127 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/1.546, allocations: 3.689 MB / 1.131 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004901/1.547, allocations: 316.9 kB / 1.131 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00171/1.549, allocations: 351.9 kB / 1.131 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.021/1.57, allocations: 5.701 MB / 1.137 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001432/1.57, allocations: 0 / 1.137 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001514/1.571, allocations: 132 kB / 1.137 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001744/1.572, allocations: 134.5 kB / 1.137 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02536/1.597, allocations: 6.81 MB / 1.144 GB, free: 3.645 MB / 0.8262 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05974/1.657, allocations: 22.12 MB / 1.165 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01454/1.671, allocations: 4.07 MB / 1.169 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008142/1.679, allocations: 2.27 MB / 1.172 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0231/1.703, allocations: 8.161 MB / 1.18 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008519/1.711, allocations: 2.397 MB / 1.182 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=230): time 5.239e-06/1.711, allocations: 0 / 1.182 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=230): time 0.03533/1.747, allocations: 8.441 MB / 1.19 GB, free: 2.535 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/1.747, allocations: 77.34 kB / 1.19 GB, free: 2.449 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009467/1.756, allocations: 4.268 MB / 1.194 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0007517/1.757, allocations: 85.69 kB / 1.195 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001874/1.759, allocations: 1.818 MB / 1.196 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001299/1.76, allocations: 0.7856 MB / 1.197 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002671/1.763, allocations: 0.808 MB / 1.198 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.995e-05/1.763, allocations: 305.1 kB / 1.198 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009302/1.772, allocations: 2.716 MB / 1.201 GB, free: 7.602 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01006/1.782, allocations: 3.401 MB / 1.204 GB, free: 3.969 MB / 0.8887 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.4307/2.213, allocations: 5.946 MB / 1.21 GB, free: 375.1 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.344e-05/2.213, allocations: 4.625 kB / 1.21 GB, free: 375.1 MB / 0.8887 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.03028/2.243, allocations: 7.548 MB / 1.217 GB, free: 373.4 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/2.244, allocations: 11.19 kB / 1.217 GB, free: 373.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-05/2.244, allocations: 15.41 kB / 1.217 GB, free: 373.4 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003894/2.247, allocations: 0.9754 MB / 1.218 GB, free: 373.2 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008858/2.256, allocations: 1.399 MB / 1.22 GB, free: 373.1 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01422/2.271, allocations: 14.46 MB / 1.234 GB, free: 360.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01072/2.281, allocations: 1.166 MB / 1.235 GB, free: 360.1 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001119/2.283, allocations: 185.9 kB / 1.235 GB, free: 360 MB / 0.8887 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: hexWetNTU.UAFroRated.TAirIn = 293.15 hexWetNTU.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 13 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,hexWetNTU.flowRegime_nominal,hexWetNTU_TX.flowRegime_nominal,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,w_a2.nextTimeEventScaled,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEvent,hexWetNTU_TX.flowRegime,hexWetNTU.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (418): * Single equations (assignments): 403 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(1,1), (1,3), (1,2), (1,2), (1,4), (1,2), (1,4), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002709/2.285, allocations: 0.8568 MB / 1.236 GB, free: 359.5 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001777/2.287, allocations: 423.1 kB / 1.236 GB, free: 359.5 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02104/2.308, allocations: 5.79 MB / 1.242 GB, free: 357.6 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-05/2.308, allocations: 23.03 kB / 1.242 GB, free: 357.6 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/2.308, allocations: 4.938 kB / 1.242 GB, free: 357.6 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.868e-05/2.308, allocations: 16.78 kB / 1.242 GB, free: 357.6 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0295/2.338, allocations: 10.91 MB / 1.253 GB, free: 351.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.241e-05/2.338, allocations: 3.969 kB / 1.253 GB, free: 351.3 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004631/2.343, allocations: 0.6704 MB / 1.253 GB, free: 351 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003006/2.346, allocations: 0.7626 MB / 1.254 GB, free: 350.7 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006738/2.346, allocations: 83.41 kB / 1.254 GB, free: 350.6 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/2.358, allocations: 11.68 MB / 1.266 GB, free: 339.5 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/2.358, allocations: 11.78 kB / 1.266 GB, free: 339.5 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02686/2.384, allocations: 8.199 MB / 1.274 GB, free: 335.1 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002795/2.387, allocations: 1.061 MB / 1.275 GB, free: 334.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001151/2.388, allocations: 47.47 kB / 1.275 GB, free: 334.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006327/2.395, allocations: 0.5242 MB / 1.275 GB, free: 334 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000534/2.395, allocations: 166.7 kB / 1.275 GB, free: 333.9 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003537/2.396, allocations: 112.8 kB / 1.275 GB, free: 333.8 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.005849/2.402, allocations: 2.942 MB / 1.278 GB, free: 332.3 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.11e-07/2.402, allocations: 0 / 1.278 GB, free: 332.3 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.005259/2.407, allocations: 1.535 MB / 1.28 GB, free: 332.1 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (relHumIn.phi,TDryBulIn.T,senMasFraIn.X,senMasFraOut.X,TDryBulOut.T,hexWetNTU.dryWetCalcs.fullyWet.TWatOutEst,relHumOut_eps.phi,hexWetNTU_TX.dryWetCalcs.fullyWet.TWatOutEst) * Number of discrete variables: 5 ($whenCondition1,hexWetNTU.flowRegime,hexWetNTU_TX.flowRegime,w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Number of discrete states: 2 (w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 8 systems {(1,4), (1,2), (1,4), (1,2), (1,1), (1,1), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002302/2.409, allocations: 1.056 MB / 1.281 GB, free: 331.7 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.02015/2.429, allocations: 6.392 MB / 1.287 GB, free: 327.5 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.507e-06/2.429, allocations: 0 / 1.287 GB, free: 327.5 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.008118/2.438, allocations: 3.045 MB / 1.29 GB, free: 324.4 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01068/2.448, allocations: 2.09 MB / 1.292 GB, free: 322.3 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02472/2.473, allocations: 9.13 MB / 1.301 GB, free: 313.2 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/2.475, allocations: 2.294 MB / 1.303 GB, free: 310.8 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00544/2.48, allocations: 1.045 MB / 1.304 GB, free: 309.8 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001656/2.482, allocations: 371.2 kB / 1.305 GB, free: 309.4 MB / 0.8887 GB Notification: Performance of SimCode: time 1.243e-06/2.482, allocations: 0 / 1.305 GB, free: 309.4 MB / 0.8887 GB Notification: Performance of Templates: time 0.1214/2.603, allocations: 97.45 MB / 1.4 GB, free: 212.8 MB / 0.8887 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)