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.00116/0.00116, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001346/0.001346, allocations: 194.7 kB / 16.14 MB, free: 6.648 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.936/0.936, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.00123, allocations: 68.11 kB / 0.5047 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1569, allocations: 80.93 MB / 0.5837 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.059/1.216, allocations: 367.1 MB / 0.9422 GB, free: 24.98 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04055/1.256, allocations: 33.57 MB / 0.975 GB, free: 23.21 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009745/1.266, allocations: 142.1 kB / 0.9752 GB, free: 23.21 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007557/1.274, allocations: 1.942 MB / 0.9771 GB, free: 22.77 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01782/1.292, allocations: 6.935 MB / 0.9838 GB, free: 19.77 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00965/1.301, allocations: 4.093 MB / 0.9878 GB, free: 17.28 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01322/1.315, allocations: 13.62 MB / 1.001 GB, free: 8.434 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004522/1.319, allocations: 3.279 MB / 1.004 GB, free: 5.215 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01328/1.333, allocations: 4.724 MB / 1.009 GB, free: 1.309 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006837/1.339, allocations: 3.357 MB / 1.012 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001165/1.341, allocations: 240 kB / 1.012 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01518/1.356, allocations: 7.247 MB / 1.02 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002087/1.358, allocations: 1.16 MB / 1.021 GB, free: 6.41 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005134/1.363, allocations: 2.509 MB / 1.023 GB, free: 3.918 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0173/1.38, allocations: 9.752 MB / 1.033 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/1.38, allocations: 0 / 1.033 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.443e-06/1.38, allocations: 0 / 1.033 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002625/1.381, allocations: 3.938 kB / 1.033 GB, free: 10.63 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.0162/1.397, allocations: 5.938 MB / 1.038 GB, free: 4.645 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/1.397, allocations: 8.031 kB / 1.038 GB, free: 4.637 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0321/1.429, allocations: 4.288 MB / 1.043 GB, free: 356 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008099/1.437, allocations: 3.593 MB / 1.046 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001437/1.439, allocations: 0.5234 MB / 1.047 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001183/1.44, allocations: 351.9 kB / 1.047 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01582/1.456, allocations: 5.717 MB / 1.053 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.723e-05/1.456, allocations: 3.938 kB / 1.053 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004603/1.456, allocations: 139.2 kB / 1.053 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/1.456, allocations: 130.5 kB / 1.053 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02206/1.478, allocations: 6.842 MB / 1.06 GB, free: 14.98 MB / 0.7325 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.04206/1.521, allocations: 22.22 MB / 1.081 GB, free: 7.828 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/1.532, allocations: 4.059 MB / 1.085 GB, free: 3.781 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006913/1.539, allocations: 2.273 MB / 1.087 GB, free: 1.508 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01445/1.553, allocations: 8.168 MB / 1.095 GB, free: 9.035 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007054/1.56, allocations: 2.4 MB / 1.098 GB, free: 6.629 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=230): time 5.229e-06/1.56, allocations: 0 / 1.098 GB, free: 6.629 MB / 0.7637 GB Notification: Performance of matching and sorting (n=230): time 0.03248/1.593, allocations: 8.424 MB / 1.106 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.623e-05/1.593, allocations: 85.39 kB / 1.106 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008658/1.602, allocations: 4.276 MB / 1.11 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0008745/1.603, allocations: 77.7 kB / 1.11 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001799/1.604, allocations: 1.825 MB / 1.112 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001201/1.606, allocations: 0.802 MB / 1.113 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001773/1.607, allocations: 0.8002 MB / 1.114 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001038/1.608, allocations: 305.1 kB / 1.114 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00881/1.616, allocations: 2.739 MB / 1.117 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009745/1.626, allocations: 3.428 MB / 1.12 GB, free: 15.47 MB / 0.795 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.0184/1.645, allocations: 5.962 MB / 1.126 GB, free: 9.266 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.411e-05/1.645, allocations: 4 kB / 1.126 GB, free: 9.262 MB / 0.795 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02721/1.672, allocations: 7.58 MB / 1.133 GB, free: 1.621 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/1.672, allocations: 12 kB / 1.133 GB, free: 1.609 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.821e-05/1.672, allocations: 16 kB / 1.133 GB, free: 1.594 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004005/1.676, allocations: 0.9767 MB / 1.134 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009422/1.685, allocations: 1.41 MB / 1.136 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01602/1.701, allocations: 13.72 MB / 1.149 GB, free: 436 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01065/1.712, allocations: 1.288 MB / 1.15 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009598/1.713, allocations: 195.8 kB / 1.15 GB, free: 14.95 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.002314/1.715, allocations: 0.8541 MB / 1.151 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/1.717, allocations: 426.7 kB / 1.152 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02132/1.738, allocations: 5.783 MB / 1.157 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-05/1.738, allocations: 28 kB / 1.157 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.738, allocations: 0 / 1.157 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-05/1.738, allocations: 19.98 kB / 1.157 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.33/2.068, allocations: 10.91 MB / 1.168 GB, free: 358.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/2.068, allocations: 2.5 kB / 1.168 GB, free: 358.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004713/2.073, allocations: 0.6656 MB / 1.169 GB, free: 358.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003295/2.076, allocations: 0.7894 MB / 1.169 GB, free: 358.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006379/2.077, allocations: 84.78 kB / 1.169 GB, free: 358.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/2.088, allocations: 10.96 MB / 1.18 GB, free: 349.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/2.088, allocations: 9.828 kB / 1.18 GB, free: 349.7 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02664/2.114, allocations: 8.208 MB / 1.188 GB, free: 347 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003197/2.118, allocations: 1.054 MB / 1.189 GB, free: 346.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001584/2.119, allocations: 48.06 kB / 1.189 GB, free: 346.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007102/2.126, allocations: 0.6005 MB / 1.19 GB, free: 346.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000615/2.127, allocations: 174.5 kB / 1.19 GB, free: 346.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004059/2.127, allocations: 107.8 kB / 1.19 GB, free: 346.4 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.006233/2.134, allocations: 2.948 MB / 1.193 GB, free: 345.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.11e-07/2.134, allocations: 0.7656 kB / 1.193 GB, free: 345.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.006571/2.14, allocations: 1.559 MB / 1.195 GB, free: 345.3 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.002622/2.143, allocations: 1.024 MB / 1.196 GB, free: 345.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0221/2.165, allocations: 6.375 MB / 1.202 GB, free: 343 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.976e-06/2.165, allocations: 3.156 kB / 1.202 GB, free: 343 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.008757/2.174, allocations: 3.024 MB / 1.205 GB, free: 341.6 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01357/2.187, allocations: 1.979 MB / 1.207 GB, free: 341.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0307/2.218, allocations: 10.73 MB / 1.217 GB, free: 335.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002581/2.221, allocations: 2.303 MB / 1.219 GB, free: 334.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.007734/2.229, allocations: 1.037 MB / 1.22 GB, free: 334.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002212/2.231, allocations: 363.8 kB / 1.221 GB, free: 334.5 MB / 0.8262 GB Notification: Performance of SimCode: time 1.022e-06/2.231, allocations: 0 / 1.221 GB, free: 334.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.1416/2.372, allocations: 95.82 MB / 1.314 GB, free: 265.2 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)