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.001523/0.001523, allocations: 106.1 kB / 15.99 MB, free: 6.348 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.001455/0.001455, allocations: 188.8 kB / 16.91 MB, free: 6.188 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.326/1.326, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7875/0.7875, allocations: 135.2 MB / 425.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 63.91 kB / 0.5055 GB, free: 8.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3278, allocations: 80.93 MB / 0.5846 GB, free: 25.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.6515/0.9794, allocations: 365.5 MB / 0.9415 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04911/1.029, allocations: 33.06 MB / 0.9738 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007419/1.036, allocations: 135.2 kB / 0.9739 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.007417/1.043, allocations: 2.048 MB / 0.9759 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.02108/1.065, allocations: 6.987 MB / 0.9827 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01182/1.076, allocations: 4.165 MB / 0.9868 GB, free: 1.938 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01674/1.093, allocations: 11.03 MB / 0.9976 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006854/1.1, allocations: 3.937 MB / 1.001 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01744/1.118, allocations: 5.478 MB / 1.007 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007482/1.125, allocations: 3.564 MB / 1.01 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.002359/1.127, allocations: 0.5469 MB / 1.011 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01548/1.143, allocations: 7.012 MB / 1.018 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002943/1.146, allocations: 1.46 MB / 1.019 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.006618/1.153, allocations: 2.835 MB / 1.022 GB, free: 14 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01373/1.166, allocations: 7.465 MB / 1.029 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.166, allocations: 0 / 1.029 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.194e-06/1.166, allocations: 0 / 1.029 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002748/1.167, allocations: 0 / 1.029 GB, free: 6.516 MB / 0.7481 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.01725/1.184, allocations: 5.931 MB / 1.035 GB, free: 492 kB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/1.184, allocations: 17.11 kB / 1.035 GB, free: 476 kB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2942/1.478, allocations: 4.285 MB / 1.039 GB, free: 324.8 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008173/1.486, allocations: 3.587 MB / 1.043 GB, free: 323.2 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001447/1.488, allocations: 0.5195 MB / 1.043 GB, free: 323 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001341/1.489, allocations: 350.7 kB / 1.043 GB, free: 322.9 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01392/1.503, allocations: 5.717 MB / 1.049 GB, free: 319.7 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.014e-05/1.503, allocations: 3.906 kB / 1.049 GB, free: 319.7 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004375/1.504, allocations: 135.4 kB / 1.049 GB, free: 319.6 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.38e-05/1.504, allocations: 136.8 kB / 1.049 GB, free: 319.6 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01807/1.522, allocations: 6.839 MB / 1.056 GB, free: 316.3 MB / 0.7481 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.03492/1.557, allocations: 22.22 MB / 1.078 GB, free: 296.1 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009513/1.566, allocations: 4.062 MB / 1.082 GB, free: 292.1 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00576/1.572, allocations: 2.266 MB / 1.084 GB, free: 289.8 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0119/1.584, allocations: 8.176 MB / 1.092 GB, free: 281.3 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005993/1.59, allocations: 2.4 MB / 1.094 GB, free: 278.9 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=230): time 5.189e-06/1.59, allocations: 0 / 1.094 GB, free: 278.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=230): time 0.03008/1.62, allocations: 8.433 MB / 1.102 GB, free: 270.4 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/1.62, allocations: 77.39 kB / 1.103 GB, free: 270.3 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006713/1.627, allocations: 4.284 MB / 1.107 GB, free: 266 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0007906/1.628, allocations: 77.7 kB / 1.107 GB, free: 265.9 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001228/1.629, allocations: 1.816 MB / 1.109 GB, free: 264.1 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001021/1.63, allocations: 0.7999 MB / 1.109 GB, free: 263.3 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001533/1.632, allocations: 0.8077 MB / 1.11 GB, free: 262.5 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 4.246e-05/1.632, allocations: 309.1 kB / 1.11 GB, free: 262.2 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007808/1.64, allocations: 2.732 MB / 1.113 GB, free: 259.4 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008526/1.648, allocations: 3.42 MB / 1.116 GB, free: 255.8 MB / 0.7481 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.01594/1.664, allocations: 5.962 MB / 1.122 GB, free: 249.6 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.54e-05/1.664, allocations: 4 kB / 1.122 GB, free: 249.6 MB / 0.7481 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.0244/1.689, allocations: 7.587 MB / 1.13 GB, free: 241.9 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/1.689, allocations: 12 kB / 1.13 GB, free: 241.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/1.689, allocations: 12 kB / 1.13 GB, free: 241.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003596/1.692, allocations: 0.9748 MB / 1.131 GB, free: 240.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008462/1.701, allocations: 1.404 MB / 1.132 GB, free: 239.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01292/1.714, allocations: 14.56 MB / 1.146 GB, free: 223.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01026/1.724, allocations: 1.293 MB / 1.147 GB, free: 222.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/1.725, allocations: 183.8 kB / 1.148 GB, free: 222.4 MB / 0.7481 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.002342/1.727, allocations: 0.8598 MB / 1.148 GB, free: 221.6 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001399/1.729, allocations: 418.8 kB / 1.149 GB, free: 221.1 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01831/1.747, allocations: 5.793 MB / 1.155 GB, free: 215.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/1.747, allocations: 20 kB / 1.155 GB, free: 215.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/1.747, allocations: 4 kB / 1.155 GB, free: 215.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.252e-05/1.747, allocations: 11.95 kB / 1.155 GB, free: 215.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02577/1.773, allocations: 10.92 MB / 1.165 GB, free: 204.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/1.773, allocations: 4.469 kB / 1.165 GB, free: 204.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004411/1.777, allocations: 0.6748 MB / 1.166 GB, free: 203.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002848/1.78, allocations: 0.7576 MB / 1.167 GB, free: 202.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006298/1.781, allocations: 83.91 kB / 1.167 GB, free: 202.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/1.791, allocations: 11.68 MB / 1.178 GB, free: 190.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.791, allocations: 11.94 kB / 1.178 GB, free: 190.1 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02421/1.816, allocations: 8.201 MB / 1.186 GB, free: 181.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003109/1.819, allocations: 1.065 MB / 1.187 GB, free: 180.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001395/1.82, allocations: 43.98 kB / 1.187 GB, free: 180.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00634/1.827, allocations: 0.612 MB / 1.188 GB, free: 180.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004378/1.827, allocations: 161.7 kB / 1.188 GB, free: 179.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003324/1.827, allocations: 111.9 kB / 1.188 GB, free: 179.8 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.005213/1.833, allocations: 2.951 MB / 1.191 GB, free: 176.9 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.353e-06/1.833, allocations: 0 / 1.191 GB, free: 176.9 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005622/1.838, allocations: 1.557 MB / 1.192 GB, free: 175.4 MB / 0.7481 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.00283/1.841, allocations: 1.037 MB / 1.193 GB, free: 174.6 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02243/1.864, allocations: 7.042 MB / 1.2 GB, free: 167.5 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/1.864, allocations: 320 / 1.2 GB, free: 167.5 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.007655/1.871, allocations: 3.044 MB / 1.203 GB, free: 164.4 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009446/1.881, allocations: 2.108 MB / 1.205 GB, free: 162.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02371/1.905, allocations: 10.84 MB / 1.216 GB, free: 151.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/1.906, allocations: 2.27 MB / 1.218 GB, free: 149.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002518/1.908, allocations: 431.1 kB / 1.219 GB, free: 148.8 MB / 0.7481 GB Notification: Performance of SimCode: time 6.32e-07/1.908, allocations: 0 / 1.219 GB, free: 148.8 MB / 0.7481 GB Notification: Performance of Templates: time 0.413/2.322, allocations: 259.7 MB / 1.472 GB, free: 217.1 MB / 0.7481 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)