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.001221/0.001221, allocations: 108.5 kB / 16.41 MB, free: 6.453 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.001198/0.001198, allocations: 191.8 kB / 17.34 MB, free: 5.738 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8274/0.8274, allocations: 135.2 MB / 426.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 66.58 kB / 0.5863 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1363, allocations: 80.92 MB / 0.6654 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.6783/0.8146, allocations: 369.7 MB / 1.026 GB, free: 12.84 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.434/1.249, allocations: 33.25 MB / 1.059 GB, free: 48.61 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005263/1.254, allocations: 153.3 kB / 1.059 GB, free: 48.61 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00572/1.26, allocations: 2.46 MB / 1.061 GB, free: 48.61 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01806/1.278, allocations: 7.816 MB / 1.069 GB, free: 48.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01044/1.288, allocations: 4.574 MB / 1.073 GB, free: 48.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01455/1.303, allocations: 11.06 MB / 1.084 GB, free: 48.41 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005385/1.308, allocations: 3.982 MB / 1.088 GB, free: 47.99 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01252/1.321, allocations: 5.555 MB / 1.094 GB, free: 47.93 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006016/1.327, allocations: 3.452 MB / 1.097 GB, free: 47.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0009838/1.328, allocations: 0.5506 MB / 1.098 GB, free: 47.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01223/1.34, allocations: 6.803 MB / 1.104 GB, free: 47.45 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001647/1.342, allocations: 1.462 MB / 1.106 GB, free: 47.27 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.003845/1.346, allocations: 2.835 MB / 1.108 GB, free: 46.54 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01484/1.36, allocations: 9.812 MB / 1.118 GB, free: 45.35 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.361, allocations: 3.531 kB / 1.118 GB, free: 45.35 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.724e-06/1.361, allocations: 0 / 1.118 GB, free: 45.35 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001262/1.361, allocations: 0 / 1.118 GB, free: 45.35 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.01125/1.372, allocations: 6.105 MB / 1.124 GB, free: 42.67 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/1.372, allocations: 11.02 kB / 1.124 GB, free: 42.67 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0277/1.4, allocations: 4.316 MB / 1.128 GB, free: 41.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00692/1.407, allocations: 3.714 MB / 1.132 GB, free: 40.2 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/1.407, allocations: 315.4 kB / 1.132 GB, free: 40.15 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006622/1.408, allocations: 353.9 kB / 1.132 GB, free: 40.15 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01275/1.42, allocations: 5.696 MB / 1.138 GB, free: 38.54 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.668e-05/1.42, allocations: 10.56 kB / 1.138 GB, free: 38.53 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004367/1.421, allocations: 134 kB / 1.138 GB, free: 38.53 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.411e-05/1.421, allocations: 139.7 kB / 1.138 GB, free: 38.52 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01748/1.438, allocations: 6.797 MB / 1.145 GB, free: 35.04 MB / 0.8106 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.03011/1.469, allocations: 22.17 MB / 1.167 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009427/1.478, allocations: 4.06 MB / 1.17 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00557/1.484, allocations: 2.269 MB / 1.173 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01125/1.495, allocations: 8.185 MB / 1.181 GB, free: 28 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006995/1.502, allocations: 2.398 MB / 1.183 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=230): time 4.037e-06/1.502, allocations: 0 / 1.183 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=230): time 0.03246/1.534, allocations: 8.45 MB / 1.191 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/1.534, allocations: 80.02 kB / 1.191 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00803/1.542, allocations: 4.276 MB / 1.196 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0005038/1.543, allocations: 80.67 kB / 1.196 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001986/1.545, allocations: 1.865 MB / 1.197 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001009/1.546, allocations: 0.839 MB / 1.198 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001768/1.548, allocations: 0.8076 MB / 1.199 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.548, allocations: 307.7 kB / 1.199 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008976/1.557, allocations: 2.719 MB / 1.202 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009855/1.567, allocations: 3.398 MB / 1.205 GB, free: 6.516 MB / 0.8419 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.0191/1.586, allocations: 5.938 MB / 1.211 GB, free: 400 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-05/1.586, allocations: 4 kB / 1.211 GB, free: 396 kB / 0.8419 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02732/1.613, allocations: 7.578 MB / 1.219 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/1.613, allocations: 8 kB / 1.219 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-05/1.613, allocations: 19.84 kB / 1.219 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004108/1.617, allocations: 0.9713 MB / 1.219 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008642/1.626, allocations: 1.409 MB / 1.221 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01882/1.645, allocations: 14.47 MB / 1.235 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009911/1.655, allocations: 1.172 MB / 1.236 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007421/1.656, allocations: 189.3 kB / 1.236 GB, free: 5.633 MB / 0.8731 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.002142/1.658, allocations: 0.8578 MB / 1.237 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001248/1.659, allocations: 441.2 kB / 1.238 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02103/1.68, allocations: 5.792 MB / 1.243 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.635e-05/1.68, allocations: 24 kB / 1.243 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.68, allocations: 3.75 kB / 1.243 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.009e-05/1.68, allocations: 11.95 kB / 1.243 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02983/1.71, allocations: 10.92 MB / 1.254 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/1.71, allocations: 4 kB / 1.254 GB, free: 3.566 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004532/1.715, allocations: 0.6729 MB / 1.255 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003209/1.718, allocations: 0.7552 MB / 1.255 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003777/1.718, allocations: 87.84 kB / 1.255 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01534/1.734, allocations: 11.69 MB / 1.267 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.734, allocations: 7.562 kB / 1.267 GB, free: 5.492 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02822/1.762, allocations: 8.227 MB / 1.275 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002959/1.765, allocations: 1.075 MB / 1.276 GB, free: 12.09 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001066/1.766, allocations: 52 kB / 1.276 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005828/1.772, allocations: 0.5273 MB / 1.276 GB, free: 11.51 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004681/1.772, allocations: 168.9 kB / 1.277 GB, free: 11.35 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003511/1.773, allocations: 111.9 kB / 1.277 GB, free: 11.24 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.006583/1.779, allocations: 2.939 MB / 1.28 GB, free: 8.297 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.91e-07/1.779, allocations: 0 / 1.28 GB, free: 8.297 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.005785/1.785, allocations: 1.541 MB / 1.281 GB, free: 6.754 MB / 0.92 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.003091/1.788, allocations: 1.05 MB / 1.282 GB, free: 5.957 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02111/1.809, allocations: 6.399 MB / 1.288 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/1.809, allocations: 4 kB / 1.288 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.008571/1.818, allocations: 3.033 MB / 1.291 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009944/1.828, allocations: 2.095 MB / 1.293 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0282/1.856, allocations: 9.281 MB / 1.302 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00238/1.858, allocations: 2.307 MB / 1.305 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.005686/1.864, allocations: 1.037 MB / 1.306 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001585/1.866, allocations: 367.2 kB / 1.306 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of SimCode: time 6.52e-07/1.866, allocations: 0 / 1.306 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of Templates: time 0.1631/2.029, allocations: 97.8 MB / 1.402 GB, free: 12.75 MB / 1.045 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)