Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0007721/0.000772, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.0008743/0.0008743, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.363/1.363, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7656/0.7656, allocations: 132.4 MB / 423.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003767, allocations: 8 kB / 0.504 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.4281, allocations: 81.58 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7509/1.179, allocations: 362.2 MB / 0.9373 GB, free: 23.79 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04614/1.225, allocations: 33.21 MB / 0.9698 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008473/1.234, allocations: 130.1 kB / 0.9699 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.006499/1.24, allocations: 1.941 MB / 0.9718 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02166/1.262, allocations: 6.927 MB / 0.9786 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01203/1.274, allocations: 4.111 MB / 0.9826 GB, free: 480 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02001/1.294, allocations: 13.61 MB / 0.9959 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006247/1.3, allocations: 3.188 MB / 0.999 GB, free: 15.94 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01491/1.315, allocations: 4.602 MB / 1.003 GB, free: 11.63 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006736/1.322, allocations: 3.229 MB / 1.007 GB, free: 8.621 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001115/1.323, allocations: 192 kB / 1.007 GB, free: 8.434 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01483/1.338, allocations: 7.2 MB / 1.014 GB, free: 1.918 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002144/1.34, allocations: 1.081 MB / 1.015 GB, free: 0.8633 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00515/1.345, allocations: 2.44 MB / 1.017 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02231/1.368, allocations: 9.557 MB / 1.027 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.064e-05/1.368, allocations: 0 / 1.027 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.877e-06/1.368, allocations: 0 / 1.027 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002714/1.368, allocations: 4 kB / 1.027 GB, free: 5.336 MB / 0.6856 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.01332/1.381, allocations: 4.96 MB / 1.031 GB, free: 336 kB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/1.382, allocations: 16.02 kB / 1.031 GB, free: 320 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03256/1.414, allocations: 4.561 MB / 1.036 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009986/1.424, allocations: 3.6 MB / 1.039 GB, free: 8.164 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001694/1.426, allocations: 0.5576 MB / 1.04 GB, free: 7.602 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001291/1.427, allocations: 359.6 kB / 1.04 GB, free: 7.254 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01741/1.445, allocations: 5.802 MB / 1.046 GB, free: 1.371 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-05/1.445, allocations: 11.88 kB / 1.046 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005178/1.445, allocations: 139 kB / 1.046 GB, free: 1.227 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001665/1.445, allocations: 138.5 kB / 1.046 GB, free: 1.09 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02394/1.469, allocations: 7.04 MB / 1.053 GB, free: 10.04 MB / 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.04792/1.517, allocations: 22.46 MB / 1.075 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01203/1.529, allocations: 4.144 MB / 1.079 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007131/1.537, allocations: 2.334 MB / 1.081 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01487/1.551, allocations: 8.2 MB / 1.089 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007304/1.559, allocations: 2.459 MB / 1.092 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=230): time 4.298e-06/1.559, allocations: 0 / 1.092 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of matching and sorting (n=230): time 0.03453/1.593, allocations: 8.704 MB / 1.1 GB, free: 8.352 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/1.593, allocations: 77.41 kB / 1.1 GB, free: 8.262 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009011/1.602, allocations: 4.299 MB / 1.105 GB, free: 3.941 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.00102/1.604, allocations: 77.7 kB / 1.105 GB, free: 3.859 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0018/1.605, allocations: 1.827 MB / 1.106 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001231/1.607, allocations: 0.7946 MB / 1.107 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006325/1.607, allocations: 313.1 kB / 1.108 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.607, allocations: 313 kB / 1.108 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3625/1.97, allocations: 2.821 MB / 1.111 GB, free: 326 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01138/1.981, allocations: 3.514 MB / 1.114 GB, free: 325.1 MB / 0.7637 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.02119/2.003, allocations: 6.11 MB / 1.12 GB, free: 322.6 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.924e-05/2.003, allocations: 4.375 kB / 1.12 GB, free: 322.6 MB / 0.7637 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02977/2.032, allocations: 7.802 MB / 1.128 GB, free: 320.5 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/2.033, allocations: 10.53 kB / 1.128 GB, free: 320.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.024e-05/2.033, allocations: 15.53 kB / 1.128 GB, free: 320.5 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004259/2.037, allocations: 0.9922 MB / 1.129 GB, free: 320.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009233/2.046, allocations: 1.432 MB / 1.13 GB, free: 320.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01392/2.06, allocations: 13.79 MB / 1.143 GB, free: 307.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01165/2.072, allocations: 1.363 MB / 1.145 GB, free: 307.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/2.073, allocations: 180.6 kB / 1.145 GB, free: 307.7 MB / 0.7637 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.002746/2.076, allocations: 0.8629 MB / 1.146 GB, free: 307.1 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00126/2.077, allocations: 422 kB / 1.146 GB, free: 307.1 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02068/2.098, allocations: 5.956 MB / 1.152 GB, free: 305 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-05/2.098, allocations: 24.88 kB / 1.152 GB, free: 305 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/2.098, allocations: 3.938 kB / 1.152 GB, free: 305 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.426e-05/2.098, allocations: 13.58 kB / 1.152 GB, free: 305 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02799/2.126, allocations: 11.07 MB / 1.163 GB, free: 298 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/2.126, allocations: 7.875 kB / 1.163 GB, free: 298 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00478/2.131, allocations: 0.7038 MB / 1.164 GB, free: 297.8 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003478/2.134, allocations: 0.7947 MB / 1.164 GB, free: 297.4 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000576/2.135, allocations: 78.47 kB / 1.164 GB, free: 297.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/2.146, allocations: 11.05 MB / 1.175 GB, free: 285.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/2.146, allocations: 4 kB / 1.175 GB, free: 285.5 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02687/2.173, allocations: 8.425 MB / 1.183 GB, free: 277 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003249/2.176, allocations: 1.142 MB / 1.185 GB, free: 275.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001215/2.177, allocations: 55.92 kB / 1.185 GB, free: 275.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00745/2.185, allocations: 0.6465 MB / 1.185 GB, free: 275.2 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007369/2.185, allocations: 165.7 kB / 1.185 GB, free: 275 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003919/2.186, allocations: 115.8 kB / 1.186 GB, free: 274.9 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.006239/2.192, allocations: 2.974 MB / 1.188 GB, free: 271.9 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.032e-06/2.192, allocations: 0 / 1.188 GB, free: 271.9 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.006714/2.199, allocations: 1.553 MB / 1.19 GB, free: 270.4 MB / 0.7637 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.002386/2.201, allocations: 1.045 MB / 1.191 GB, free: 269.7 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.02012/2.221, allocations: 6.51 MB / 1.197 GB, free: 263.1 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/2.221, allocations: 448 / 1.197 GB, free: 263.1 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.008127/2.229, allocations: 3.098 MB / 1.2 GB, free: 259.9 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01482/2.244, allocations: 2.047 MB / 1.202 GB, free: 257.9 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02821/2.273, allocations: 10.93 MB / 1.213 GB, free: 247 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002197/2.275, allocations: 2.299 MB / 1.215 GB, free: 244.6 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.007588/2.282, allocations: 1.044 MB / 1.216 GB, free: 243.6 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002342/2.285, allocations: 379.2 kB / 1.217 GB, free: 243.2 MB / 0.7637 GB Notification: Performance of SimCode: time 7.42e-07/2.285, allocations: 0 / 1.217 GB, free: 243.2 MB / 0.7637 GB Notification: Performance of Templates: time 0.1392/2.424, allocations: 98.73 MB / 1.313 GB, free: 145.5 MB / 0.7637 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)