Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 106.4 kB / 17.74 MB, free: 5.328 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.001133/0.001133, allocations: 183.1 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3007/0.3007, allocations: 48.85 MB / 320.8 MB, free: 11 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 76.27 kB / 451.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1487, allocations: 59.16 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.5439/0.6927, allocations: 160.8 MB / 0.6554 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01507/0.7078, allocations: 9.92 MB / 0.6651 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005322/0.7084, allocations: 7.938 kB / 0.6651 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000588/0.7091, allocations: 103.2 kB / 0.6652 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007258/0.7163, allocations: 2.097 MB / 0.6673 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009408/0.7258, allocations: 2.597 MB / 0.6698 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002605/0.7284, allocations: 2.231 MB / 0.672 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.7296, allocations: 0.6208 MB / 0.6726 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.731, allocations: 0.6979 MB / 0.6733 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004134/0.7352, allocations: 1.554 MB / 0.6748 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005749/0.7358, allocations: 120 kB / 0.6749 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01437/0.7501, allocations: 5.968 MB / 0.6807 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.7512, allocations: 0.6197 MB / 0.6813 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.7532, allocations: 0.6927 MB / 0.682 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.7647, allocations: 4.508 MB / 0.6864 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.7648, allocations: 0 / 0.6864 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7648, allocations: 4 kB / 0.6864 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.374e-05/0.7649, allocations: 0 / 0.6864 GB, free: 9.199 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.008211/0.7731, allocations: 2.028 MB / 0.6884 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.7732, allocations: 11.89 kB / 0.6884 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003182/0.7764, allocations: 288.1 kB / 0.6887 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.778, allocations: 0.6476 MB / 0.6893 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.7781, allocations: 78.38 kB / 0.6894 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005489/0.7787, allocations: 140.4 kB / 0.6895 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004634/0.7834, allocations: 1.758 MB / 0.6912 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.7834, allocations: 3.984 kB / 0.6912 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.7836, allocations: 40 kB / 0.6913 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.7836, allocations: 23.94 kB / 0.6913 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004231/0.7879, allocations: 1.846 MB / 0.6931 GB, free: 2.23 MB / 0.5294 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.007943/0.7958, allocations: 4.741 MB / 0.6977 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005502/0.8013, allocations: 2.477 MB / 0.7002 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/0.8031, allocations: 1.084 MB / 0.7012 GB, free: 9.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04232/0.8454, allocations: 20.16 MB / 0.7209 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.539e-05/0.8455, allocations: 56.55 kB / 0.721 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=207): time 5.23e-06/0.8455, allocations: 0 / 0.721 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=207): time 0.01613/0.8617, allocations: 6.324 MB / 0.7271 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.8617, allocations: 73.41 kB / 0.7272 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/0.8622, allocations: 393.6 kB / 0.7276 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002522/0.8625, allocations: 65.7 kB / 0.7276 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.8627, allocations: 203.5 kB / 0.7278 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007531/0.8634, allocations: 0.7667 MB / 0.7286 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000607/0.864, allocations: 343.6 kB / 0.7289 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.8642, allocations: 337.9 kB / 0.7292 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/0.8659, allocations: 0.9369 MB / 0.7301 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/0.8678, allocations: 1.103 MB / 0.7312 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003636/0.8714, allocations: 2.161 MB / 0.7333 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.8715, allocations: 3.938 kB / 0.7333 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00567/0.8771, allocations: 3.246 MB / 0.7365 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.8772, allocations: 11.91 kB / 0.7365 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.8772, allocations: 7.922 kB / 0.7365 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01235/0.8896, allocations: 2.655 MB / 0.7391 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.8909, allocations: 239.7 kB / 0.7393 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006984/0.8979, allocations: 4.099 MB / 0.7433 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.8991, allocations: 155.8 kB / 0.7435 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/0.8993, allocations: 71.97 kB / 0.7436 GB, free: 11.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(36,117)} Notification: Performance of prepare postOptimizeDAE: time 0.0006441/0.9, allocations: 326.2 kB / 0.7439 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/0.9003, allocations: 115.3 kB / 0.744 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.9132, allocations: 8.937 MB / 0.7527 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.592e-05/0.9133, allocations: 11.95 kB / 0.7527 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.9133, allocations: 0 / 0.7527 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.9145, allocations: 0.6657 MB / 0.7534 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000336/0.9148, allocations: 87.75 kB / 0.7535 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.916, allocations: 75.94 kB / 0.7535 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004098/0.9164, allocations: 173.9 kB / 0.7537 GB, free: 1.047 MB / 0.5919 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): coolingTower.ha[9] = coolingTower.haa[9] + coolingTower.hva[9] * coolingTower.Xva[9] 2/2 (1): coolingTower.pva[9] / coolingTower.patm = 0.018 * coolingTower.Xva[9] / (0.029 + 0.018 * coolingTower.Xva[9]) 3/3 (1): coolingTower.pva[9] = Modelica.Media.Water.IF97_Utilities.BaseIF97.Basic.psat(coolingTower.Twb[9]) 4/4 (1): coolingTower.haa[9] = ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.coolingTower.DryAir.specificEnthalpy($cse12) 5/5 (2): $cse12 = ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.coolingTower.DryAir.setState_pTX(coolingTower.patm, coolingTower.Twb[9], {1.0}) 6/7 (13): $cse14 = Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p($cse15.psat) 7/20 (1): coolingTower.hva[9] = $cse14.h 8/21 (2): $cse15 = ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.coolingTower.Water.setSat_T(coolingTower.Twb[9]) Variables: 1: $cse15.Tsat:VARIABLE(protected = true ) type: Real unreplaceable 2: coolingTower.hva[9]:VARIABLE(min = -1e10 max = 1e10 start = 1e5 unit = "J/kg" nominal = 5e5 ) "Specific enthalpy of saturated steam at interface (i.e. Twb)" type: Real [10] 3: $cse14.s:VARIABLE(protected = true ) type: Real unreplaceable 4: $cse14.R:VARIABLE(protected = true ) type: Real unreplaceable 5: $cse14.d:VARIABLE(protected = true ) type: Real unreplaceable 6: $cse14.pt:VARIABLE(protected = true ) type: Real unreplaceable 7: $cse14.T:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse14.cp:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse14.pd:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse14.region3boundary:DISCRETE(protected = true ) type: Boolean unreplaceable 11: $cse14.h:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse14.vt:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse14.vp:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse14.cv:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse14.dpT:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse15.psat:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse12.T:VARIABLE(protected = true ) type: Real unreplaceable 18: coolingTower.haa[9]:VARIABLE(min = -1e10 max = 1e10 unit = "J/kg" nominal = 1e6 ) "Dry air specific enthalpy @ interface (i.e. Twb)" type: Real [10] 19: $cse12.p:VARIABLE(protected = true ) type: Real unreplaceable 20: coolingTower.Twb[9]:VARIABLE(min = 273.15 max = 2273.15 start = coolingTower.Twbstart unit = "K" nominal = 500.0 ) "Wet bulb temperature of air at interface" type: Real [10] 21: coolingTower.pva[9]:VARIABLE(min = 611.657 max = 1e8 start = 5000.0 unit = "Pa" nominal = 5000.0 ) "Saturation pressure at interface (i.e. Twb)" type: Real [10] 22: coolingTower.Xva[9]:VARIABLE(min = 0.0 max = 1.0 start = 0.01 unit = "1" ) "Absolute humidity (Mv/Ma_dry) of air at the interface" type: Real [10] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3111/1.227, allocations: 1.047 MB / 0.7547 GB, free: 215.7 MB / 0.5919 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoPower.Test.WaterComponents.TestCoolingTowerPacking could not be translated