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.00114/0.00114, allocations: 106.4 kB / 17.74 MB, free: 5.355 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.001022/0.001022, allocations: 193.3 kB / 18.67 MB, free: 4.434 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.358/1.358, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3038/0.3038, allocations: 48.84 MB / 320.8 MB, free: 11.02 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.001551/0.001551, allocations: 67.89 kB / 451.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1398, allocations: 59.16 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.5523/0.6921, allocations: 160.8 MB / 0.6554 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01469/0.7069, allocations: 9.925 MB / 0.6651 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006199/0.7076, allocations: 4 kB / 0.6651 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005855/0.7082, allocations: 95.27 kB / 0.6652 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006786/0.715, allocations: 2.104 MB / 0.6673 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009638/0.7247, allocations: 2.595 MB / 0.6698 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002536/0.7272, allocations: 2.216 MB / 0.672 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.7284, allocations: 0.6311 MB / 0.6726 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.7297, allocations: 0.6979 MB / 0.6733 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003677/0.7333, allocations: 1.554 MB / 0.6748 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004472/0.7338, allocations: 116 kB / 0.6749 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01431/0.7481, allocations: 5.963 MB / 0.6807 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001128/0.7493, allocations: 0.6275 MB / 0.6813 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001756/0.7511, allocations: 0.685 MB / 0.682 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.7624, allocations: 4.506 MB / 0.6864 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.7624, allocations: 0 / 0.6864 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7624, allocations: 0 / 0.6864 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.67e-05/0.7625, allocations: 0 / 0.6864 GB, free: 9.254 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.007831/0.7703, allocations: 1.993 MB / 0.6883 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 8.72e-05/0.7704, allocations: 15.89 kB / 0.6884 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003387/0.7738, allocations: 283.5 kB / 0.6886 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/0.7758, allocations: 0.6473 MB / 0.6893 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.244e-05/0.7759, allocations: 74.38 kB / 0.6893 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00046/0.7764, allocations: 136.4 kB / 0.6895 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004705/0.7811, allocations: 1.761 MB / 0.6912 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.477e-05/0.7812, allocations: 0 / 0.6912 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/0.7814, allocations: 36 kB / 0.6912 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-05/0.7814, allocations: 24 kB / 0.6912 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004596/0.786, allocations: 1.842 MB / 0.693 GB, free: 2.34 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.008648/0.7947, allocations: 4.724 MB / 0.6976 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005629/0.8004, allocations: 2.48 MB / 0.7001 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001859/0.8023, allocations: 1.088 MB / 0.7011 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04531/0.8476, allocations: 20.15 MB / 0.7208 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.247e-05/0.8477, allocations: 49.44 kB / 0.7209 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=207): time 6.002e-06/0.8477, allocations: 0 / 0.7209 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=207): time 0.018/0.8657, allocations: 6.339 MB / 0.727 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.8658, allocations: 73.41 kB / 0.7271 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005341/0.8664, allocations: 389.7 kB / 0.7275 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003381/0.8667, allocations: 61.7 kB / 0.7275 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.867, allocations: 219.3 kB / 0.7277 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001022/0.868, allocations: 0.7238 MB / 0.7285 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008668/0.8689, allocations: 343.6 kB / 0.7288 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.8691, allocations: 337.9 kB / 0.7291 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/0.8708, allocations: 0.9369 MB / 0.73 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/0.8728, allocations: 1.091 MB / 0.7311 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003718/0.8765, allocations: 2.168 MB / 0.7332 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.8765, allocations: 3.938 kB / 0.7332 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005734/0.8823, allocations: 3.238 MB / 0.7364 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.8823, allocations: 8 kB / 0.7364 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.8823, allocations: 0.6875 kB / 0.7364 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01267/0.895, allocations: 2.665 MB / 0.739 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.8964, allocations: 247.7 kB / 0.7392 GB, free: 108 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008835/0.9053, allocations: 4.091 MB / 0.7432 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.9068, allocations: 150.5 kB / 0.7434 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000275/0.9071, allocations: 75.97 kB / 0.7434 GB, free: 11.77 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.0008145/0.9079, allocations: 330.5 kB / 0.7437 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004049/0.9083, allocations: 106.8 kB / 0.7438 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/0.9225, allocations: 8.915 MB / 0.7526 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-05/0.9226, allocations: 11.95 kB / 0.7526 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.9226, allocations: 3.938 kB / 0.7526 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/0.9239, allocations: 0.6526 MB / 0.7532 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003006/0.9242, allocations: 83.67 kB / 0.7533 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.9253, allocations: 83.92 kB / 0.7534 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003366/0.9257, allocations: 173.9 kB / 0.7535 GB, free: 1.238 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.003306/0.929, allocations: 1.039 MB / 0.7545 GB, free: 196 kB / 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