Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 79.2 kB / 21.28 MB, free: 380 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 163.8 kB / 24.54 MB, free: 3.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 177.2 MB / 204.9 MB, free: 9.285 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1422/0.1422, allocations: 19.71 MB / 281 MB, free: 13.06 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 67.91 kB / 417.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3185, allocations: 60.45 MB / 478.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.1813/0.4998, allocations: 142.1 MB / 0.6057 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01266/0.5125, allocations: 8.849 MB / 0.6143 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003207/0.5128, allocations: 11.88 kB / 0.6143 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004391/0.5133, allocations: 107.2 kB / 0.6144 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006106/0.5194, allocations: 2.093 MB / 0.6165 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00743/0.5268, allocations: 2.575 MB / 0.619 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002613/0.5294, allocations: 2.242 MB / 0.6212 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.5305, allocations: 0.6092 MB / 0.6218 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.5321, allocations: 0.9516 MB / 0.6227 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00371/0.5359, allocations: 1.554 MB / 0.6242 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003658/0.5362, allocations: 120 kB / 0.6243 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01157/0.5478, allocations: 5.733 MB / 0.6299 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008303/0.5486, allocations: 0.6236 MB / 0.6305 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009432/0.5496, allocations: 0.6113 MB / 0.6311 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008879/0.5584, allocations: 4.528 MB / 0.6356 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5585, allocations: 0 / 0.6356 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5585, allocations: 0 / 0.6356 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.768e-05/0.5585, allocations: 0 / 0.6356 GB, free: 4.984 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.006376/0.5648, allocations: 1.953 MB / 0.6375 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.5649, allocations: 8.031 kB / 0.6375 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00262/0.5675, allocations: 292 kB / 0.6378 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.5687, allocations: 0.5834 MB / 0.6383 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-05/0.5688, allocations: 82.31 kB / 0.6384 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/0.5691, allocations: 136.2 kB / 0.6385 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003872/0.5729, allocations: 1.765 MB / 0.6403 GB, free: 84 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.573, allocations: 3.938 kB / 0.6403 GB, free: 80 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.5731, allocations: 39.94 kB / 0.6403 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.5731, allocations: 24 kB / 0.6403 GB, free: 16 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2174/0.7905, allocations: 1.818 MB / 0.6421 GB, free: 168.6 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.005959/0.7965, allocations: 3.611 MB / 0.6456 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00473/0.8012, allocations: 2.363 MB / 0.6479 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/0.8025, allocations: 0.9978 MB / 0.6489 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03516/0.8376, allocations: 11.74 MB / 0.6604 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.8377, allocations: 56.56 kB / 0.6604 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=207): time 4.739e-06/0.8377, allocations: 3.938 kB / 0.6604 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=207): time 0.01217/0.8498, allocations: 4.956 MB / 0.6653 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.8499, allocations: 81.39 kB / 0.6653 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.8501, allocations: 329.7 kB / 0.6657 GB, free: 149 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.8502, allocations: 65.69 kB / 0.6657 GB, free: 149 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.8503, allocations: 215.5 kB / 0.6659 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003758/0.8507, allocations: 0.7649 MB / 0.6667 GB, free: 148.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004275/0.8511, allocations: 343.5 kB / 0.667 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.573e-05/0.8512, allocations: 334 kB / 0.6673 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.8524, allocations: 0.9369 MB / 0.6682 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.8537, allocations: 1.196 MB / 0.6694 GB, free: 145.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002702/0.8564, allocations: 2.168 MB / 0.6715 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.8564, allocations: 0 / 0.6715 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004238/0.8607, allocations: 3.172 MB / 0.6746 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.8607, allocations: 7.984 kB / 0.6746 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.8607, allocations: 3.062 kB / 0.6746 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01148/0.8722, allocations: 2.664 MB / 0.6772 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.8733, allocations: 239.7 kB / 0.6775 GB, free: 137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005488/0.8788, allocations: 4.091 MB / 0.6815 GB, free: 132.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.8798, allocations: 145.9 kB / 0.6816 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/0.88, allocations: 83.91 kB / 0.6817 GB, free: 132.7 MB / 0.5294 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.0004917/0.8805, allocations: 325.6 kB / 0.682 GB, free: 132.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/0.8807, allocations: 104.2 kB / 0.6821 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/0.891, allocations: 9.182 MB / 0.6911 GB, free: 123 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-05/0.891, allocations: 11.95 kB / 0.6911 GB, free: 123 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.891, allocations: 0 / 0.6911 GB, free: 123 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007898/0.8918, allocations: 0.5942 MB / 0.6916 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/0.892, allocations: 75.86 kB / 0.6917 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009916/0.893, allocations: 75.95 kB / 0.6918 GB, free: 122.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003003/0.8933, allocations: 185.8 kB / 0.692 GB, free: 122 MB / 0.5294 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:534:7-536: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.hva[9] = $cse14.h 3/3 (13): $cse14 = Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p($cse15.psat) 4/16 (2): $cse15 = ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.coolingTower.Water.setSat_T(coolingTower.Twb[9]) 5/18 (1): coolingTower.haa[9] = ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.coolingTower.DryAir.specificEnthalpy($cse12) 6/19 (2): $cse12 = ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.coolingTower.DryAir.setState_pTX(coolingTower.patm, coolingTower.Twb[9], {1.0}) 7/21 (1): coolingTower.pva[9] = Modelica.Media.Water.IF97_Utilities.BaseIF97.Basic.psat(coolingTower.Twb[9]) 8/22 (1): coolingTower.pva[9] / coolingTower.patm = 0.018 * coolingTower.Xva[9] / (0.029 + 0.018 * coolingTower.Xva[9]) Variables: 1: 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] 2: 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] 3: $cse12.p:VARIABLE(protected = true ) type: Real unreplaceable 4: coolingTower.haa[9]:VARIABLE(min = -1e10 max = 1e10 unit = \"J/kg\" nominal = 1e6 ) \"Dry air specific enthalpy @ interface (i.e. Twb)\" type: Real [10] 5: $cse12.T:VARIABLE(protected = true ) type: Real unreplaceable 6: 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] 7: $cse15.psat:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse14.h:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse14.cp:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse14.pd:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse14.vt:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse14.vp:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse14.s:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse14.d:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse14.pt:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse14.region3boundary:DISCRETE(protected = true ) type: Boolean unreplaceable 17: $cse15.Tsat:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse14.dpT:VARIABLE(protected = true ) type: Real unreplaceable 19: $cse14.R_s:VARIABLE(protected = true ) type: Real unreplaceable 20: $cse14.cv:VARIABLE(protected = true ) type: Real unreplaceable 21: $cse14.T:VARIABLE(protected = true ) type: Real unreplaceable 22: 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] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9818:5-9819:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00283/0.8962, allocations: 1.03 MB / 0.693 GB, free: 121 MB / 0.5294 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoPower.Test.WaterComponents.TestCoolingTowerPacking could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.186727784923278] Failed to read output from testmodel.py, exit status != 0: 0.9043097390094772 0.913655974 0.352748468 Calling exit ...