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.001339/0.001339, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.357/1.357, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.015/1.015, allocations: 135.1 MB / 425.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 68.06 kB / 0.5053 GB, free: 5.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.194, allocations: 80.92 MB / 0.5843 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.13/1.324, allocations: 367.1 MB / 0.9429 GB, free: 24.96 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04664/1.37, allocations: 33.57 MB / 0.9757 GB, free: 23.21 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009134/1.38, allocations: 137.3 kB / 0.9758 GB, free: 23.21 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007471/1.387, allocations: 1.953 MB / 0.9777 GB, free: 22.77 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02153/1.409, allocations: 6.924 MB / 0.9845 GB, free: 19.79 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01191/1.421, allocations: 4.108 MB / 0.9885 GB, free: 17.29 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01721/1.438, allocations: 13.62 MB / 1.002 GB, free: 8.438 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005799/1.444, allocations: 3.281 MB / 1.005 GB, free: 5.219 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01568/1.459, allocations: 4.714 MB / 1.01 GB, free: 1.32 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007958/1.467, allocations: 3.363 MB / 1.013 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002047/1.469, allocations: 240 kB / 1.013 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01812/1.488, allocations: 7.243 MB / 1.02 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002851/1.49, allocations: 1.16 MB / 1.021 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00695/1.497, allocations: 2.508 MB / 1.024 GB, free: 3.941 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01364/1.511, allocations: 7.374 MB / 1.031 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/1.511, allocations: 0 / 1.031 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.444e-06/1.511, allocations: 0 / 1.031 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.00026/1.511, allocations: 4 kB / 1.031 GB, free: 12.9 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.01815/1.53, allocations: 5.932 MB / 1.037 GB, free: 6.922 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/1.53, allocations: 8.031 kB / 1.037 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03059/1.56, allocations: 4.285 MB / 1.041 GB, free: 2.629 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009201/1.57, allocations: 3.602 MB / 1.044 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001615/1.571, allocations: 0.5124 MB / 1.045 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001613/1.573, allocations: 358.5 kB / 1.045 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01765/1.591, allocations: 5.714 MB / 1.051 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.007e-05/1.591, allocations: 0 / 1.051 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005294/1.591, allocations: 146.1 kB / 1.051 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001455/1.591, allocations: 130.5 kB / 1.051 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02322/1.615, allocations: 6.844 MB / 1.058 GB, free: 1.273 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.0523/1.667, allocations: 22.22 MB / 1.08 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01284/1.68, allocations: 4.063 MB / 1.083 GB, free: 6.059 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007434/1.687, allocations: 2.268 MB / 1.086 GB, free: 3.789 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01961/1.707, allocations: 8.178 MB / 1.094 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007826/1.715, allocations: 2.393 MB / 1.096 GB, free: 8.906 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=230): time 6.512e-06/1.715, allocations: 0 / 1.096 GB, free: 8.906 MB / 0.7637 GB Notification: Performance of matching and sorting (n=230): time 0.03474/1.75, allocations: 8.434 MB / 1.104 GB, free: 348 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/1.75, allocations: 81.34 kB / 1.104 GB, free: 256 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009735/1.759, allocations: 4.28 MB / 1.109 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0009698/1.76, allocations: 81.7 kB / 1.109 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001849/1.762, allocations: 1.823 MB / 1.11 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001353/1.764, allocations: 0.7908 MB / 1.111 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001938/1.766, allocations: 0.8067 MB / 1.112 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001074/1.766, allocations: 305.1 kB / 1.112 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008924/1.775, allocations: 2.732 MB / 1.115 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01031/1.785, allocations: 3.427 MB / 1.118 GB, free: 1.75 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.0193/1.804, allocations: 5.969 MB / 1.124 GB, free: 11.54 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.553e-05/1.804, allocations: 4 kB / 1.124 GB, free: 11.54 MB / 0.795 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02914/1.834, allocations: 7.585 MB / 1.131 GB, free: 3.895 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/1.834, allocations: 12 kB / 1.132 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.314e-05/1.834, allocations: 16 kB / 1.132 GB, free: 3.867 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004178/1.838, allocations: 0.968 MB / 1.132 GB, free: 2.871 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009287/1.847, allocations: 1.415 MB / 1.134 GB, free: 1.457 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01769/1.865, allocations: 13.71 MB / 1.147 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01131/1.876, allocations: 1.288 MB / 1.148 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/1.878, allocations: 183.8 kB / 1.149 GB, free: 1.234 MB / 0.8106 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.002623/1.88, allocations: 0.8581 MB / 1.15 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001514/1.882, allocations: 430.7 kB / 1.15 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02166/1.903, allocations: 5.798 MB / 1.156 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-05/1.903, allocations: 24 kB / 1.156 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/1.903, allocations: 4 kB / 1.156 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-05/1.904, allocations: 11.95 kB / 1.156 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3649/2.268, allocations: 10.9 MB / 1.166 GB, free: 357 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.784e-05/2.269, allocations: 5.719 kB / 1.166 GB, free: 357 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004773/2.273, allocations: 0.668 MB / 1.167 GB, free: 357 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003364/2.277, allocations: 0.7908 MB / 1.168 GB, free: 357 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007272/2.277, allocations: 88.89 kB / 1.168 GB, free: 357 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/2.288, allocations: 10.96 MB / 1.178 GB, free: 348.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/2.288, allocations: 4.312 kB / 1.178 GB, free: 348.4 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02621/2.315, allocations: 8.209 MB / 1.187 GB, free: 346.3 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003172/2.318, allocations: 1.053 MB / 1.188 GB, free: 345.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00143/2.319, allocations: 49.38 kB / 1.188 GB, free: 345.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006825/2.326, allocations: 0.6067 MB / 1.188 GB, free: 345.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006571/2.327, allocations: 173.9 kB / 1.188 GB, free: 345.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004061/2.327, allocations: 109.6 kB / 1.188 GB, free: 345.8 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.006125/2.333, allocations: 2.95 MB / 1.191 GB, free: 344.7 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9.52e-07/2.333, allocations: 0 / 1.191 GB, free: 344.7 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.006882/2.34, allocations: 1.548 MB / 1.193 GB, free: 344.6 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.002797/2.343, allocations: 1.045 MB / 1.194 GB, free: 344.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02098/2.364, allocations: 6.364 MB / 1.2 GB, free: 342.3 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/2.364, allocations: 1.906 kB / 1.2 GB, free: 342.3 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00891/2.373, allocations: 3.025 MB / 1.203 GB, free: 340.9 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0123/2.385, allocations: 1.973 MB / 1.205 GB, free: 340.6 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03052/2.416, allocations: 10.84 MB / 1.216 GB, free: 335.1 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002423/2.419, allocations: 2.269 MB / 1.218 GB, free: 334.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00323/2.422, allocations: 432.1 kB / 1.218 GB, free: 334.2 MB / 0.8262 GB Notification: Performance of SimCode: time 9.52e-07/2.422, allocations: 0 / 1.218 GB, free: 334.2 MB / 0.8262 GB Notification: Performance of Templates: time 0.216/2.638, allocations: 259.7 MB / 1.472 GB, free: 102.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)