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.002161/0.002161, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002276/0.002276, allocations: 191.5 kB / 16.25 MB, free: 6.645 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.455/1.455, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.051/1.051, allocations: 135.2 MB / 425.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 68.64 kB / 0.5049 GB, free: 5.602 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.178, allocations: 80.93 MB / 0.5839 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.051/1.229, allocations: 365.5 MB / 0.9409 GB, free: 24.93 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04252/1.271, allocations: 33.06 MB / 0.9731 GB, free: 23.79 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008533/1.28, allocations: 140.9 kB / 0.9733 GB, free: 23.79 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007254/1.287, allocations: 2.05 MB / 0.9753 GB, free: 23.28 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02055/1.308, allocations: 6.988 MB / 0.9821 GB, free: 20.46 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01114/1.319, allocations: 4.16 MB / 0.9862 GB, free: 17.98 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01511/1.334, allocations: 11.05 MB / 0.997 GB, free: 12.22 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005927/1.34, allocations: 3.927 MB / 1.001 GB, free: 8.359 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01665/1.357, allocations: 5.475 MB / 1.006 GB, free: 3.781 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00727/1.364, allocations: 3.563 MB / 1.01 GB, free: 0.5664 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002136/1.366, allocations: 0.5469 MB / 1.01 GB, free: 20 kB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01816/1.384, allocations: 7.003 MB / 1.017 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003914/1.388, allocations: 1.474 MB / 1.018 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.008511/1.397, allocations: 2.824 MB / 1.021 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02459/1.421, allocations: 10.01 MB / 1.031 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/1.421, allocations: 0 / 1.031 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.843e-06/1.421, allocations: 0 / 1.031 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003536/1.422, allocations: 0 / 1.031 GB, free: 12.01 MB / 0.7012 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.01926/1.441, allocations: 5.931 MB / 1.037 GB, free: 6.031 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/1.441, allocations: 12.03 kB / 1.037 GB, free: 6.02 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03305/1.474, allocations: 4.282 MB / 1.041 GB, free: 1.738 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009558/1.484, allocations: 3.598 MB / 1.044 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001733/1.486, allocations: 0.5124 MB / 1.045 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00153/1.487, allocations: 363.5 kB / 1.045 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01945/1.507, allocations: 5.715 MB / 1.051 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001117/1.507, allocations: 0 / 1.051 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00105/1.508, allocations: 132 kB / 1.051 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001737/1.508, allocations: 138.5 kB / 1.051 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02436/1.532, allocations: 6.839 MB / 1.058 GB, free: 388 kB / 0.7169 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.05132/1.584, allocations: 22.22 MB / 1.08 GB, free: 9.219 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01324/1.597, allocations: 4.053 MB / 1.083 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007741/1.605, allocations: 2.278 MB / 1.086 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02044/1.625, allocations: 8.17 MB / 1.094 GB, free: 10.42 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008472/1.634, allocations: 2.397 MB / 1.096 GB, free: 8.016 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=230): time 5.17e-06/1.634, allocations: 0 / 1.096 GB, free: 8.016 MB / 0.7637 GB Notification: Performance of matching and sorting (n=230): time 0.03847/1.672, allocations: 8.428 MB / 1.104 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/1.672, allocations: 73.41 kB / 1.104 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01078/1.683, allocations: 4.284 MB / 1.109 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0009242/1.684, allocations: 73.7 kB / 1.109 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002661/1.687, allocations: 1.831 MB / 1.11 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001757/1.689, allocations: 0.7971 MB / 1.111 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003849/1.692, allocations: 0.8074 MB / 1.112 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.693, allocations: 301.1 kB / 1.112 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01074/1.703, allocations: 2.739 MB / 1.115 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01197/1.715, allocations: 3.418 MB / 1.118 GB, free: 0.8633 MB / 0.7794 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.02211/1.738, allocations: 5.967 MB / 1.124 GB, free: 10.66 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.415e-05/1.738, allocations: 4 kB / 1.124 GB, free: 10.65 MB / 0.795 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.03383/1.772, allocations: 7.587 MB / 1.131 GB, free: 3.004 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/1.772, allocations: 12 kB / 1.131 GB, free: 2.992 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.332e-05/1.772, allocations: 15.98 kB / 1.132 GB, free: 2.977 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004591/1.776, allocations: 0.9829 MB / 1.132 GB, free: 1.969 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01006/1.786, allocations: 1.412 MB / 1.134 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02067/1.807, allocations: 14.53 MB / 1.148 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01275/1.82, allocations: 1.293 MB / 1.149 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001535/1.821, allocations: 179.8 kB / 1.149 GB, free: 15.47 MB / 0.8262 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.003869/1.825, allocations: 0.8634 MB / 1.15 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002357/1.828, allocations: 414.8 kB / 1.151 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02626/1.854, allocations: 5.797 MB / 1.156 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.879e-05/1.854, allocations: 27.98 kB / 1.156 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/1.854, allocations: 0 / 1.156 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.916e-05/1.854, allocations: 15.89 kB / 1.156 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3201/2.174, allocations: 10.91 MB / 1.167 GB, free: 357.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.362e-05/2.174, allocations: 6.188 kB / 1.167 GB, free: 357.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004981/2.179, allocations: 0.6676 MB / 1.168 GB, free: 357.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003205/2.183, allocations: 0.7659 MB / 1.168 GB, free: 357.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006794/2.183, allocations: 81.95 kB / 1.169 GB, free: 357.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01206/2.195, allocations: 11.69 MB / 1.18 GB, free: 348.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/2.195, allocations: 3.125 kB / 1.18 GB, free: 348.7 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02844/2.224, allocations: 8.213 MB / 1.188 GB, free: 346.1 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002785/2.227, allocations: 1.054 MB / 1.189 GB, free: 345.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001631/2.228, allocations: 48.34 kB / 1.189 GB, free: 345.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007195/2.236, allocations: 0.6062 MB / 1.19 GB, free: 345.6 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006109/2.236, allocations: 165.1 kB / 1.19 GB, free: 345.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005322/2.237, allocations: 118.6 kB / 1.19 GB, free: 345.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.006483/2.243, allocations: 2.943 MB / 1.193 GB, free: 344.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.91e-07/2.243, allocations: 3.969 kB / 1.193 GB, free: 344.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.006368/2.25, allocations: 1.557 MB / 1.194 GB, free: 344.4 MB / 0.8262 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.003326/2.253, allocations: 1.03 MB / 1.195 GB, free: 344.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02725/2.28, allocations: 7.05 MB / 1.202 GB, free: 342.1 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/2.28, allocations: 1.375 kB / 1.202 GB, free: 342.1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.009267/2.29, allocations: 3.038 MB / 1.205 GB, free: 340.7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01368/2.303, allocations: 2.105 MB / 1.207 GB, free: 340.1 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03066/2.334, allocations: 10.73 MB / 1.218 GB, free: 334.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003403/2.337, allocations: 2.299 MB / 1.22 GB, free: 334 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.008283/2.346, allocations: 1.046 MB / 1.221 GB, free: 333.6 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002541/2.348, allocations: 372.5 kB / 1.221 GB, free: 333.6 MB / 0.8262 GB Notification: Performance of SimCode: time 1.543e-06/2.348, allocations: 2.953 kB / 1.221 GB, free: 333.6 MB / 0.8262 GB Notification: Performance of Templates: time 0.1452/2.494, allocations: 99.49 MB / 1.319 GB, free: 260.6 MB / 0.8262 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)