Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.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.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001203, allocations: 107 kB / 17.74 MB, free: 5.309 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.001285/0.001285, allocations: 198.5 kB / 18.68 MB, free: 4.379 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.416/1.416, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3036/0.3036, 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.001541/0.001541, allocations: 67.91 kB / 451.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1222, allocations: 59.16 MB / 0.4984 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.3287/0.4509, allocations: 50.95 MB / 0.5482 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02074/0.4717, allocations: 17.12 MB / 0.5649 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005338/0.4723, allocations: 9.188 kB / 0.5649 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000883/0.4732, allocations: 272.8 kB / 0.5652 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006312/0.4796, allocations: 2.361 MB / 0.5675 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.4899, allocations: 3.25 MB / 0.5706 GB, free: 7.266 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.4914, allocations: 0.8631 MB / 0.5715 GB, free: 6.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005396/0.4919, allocations: 300 kB / 0.5718 GB, free: 6.613 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005262/0.4925, allocations: 339.6 kB / 0.5721 GB, free: 6.441 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005403/0.493, allocations: 376 kB / 0.5724 GB, free: 6.242 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.372e-05/0.4931, allocations: 33.31 kB / 0.5725 GB, free: 6.242 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01879/0.5119, allocations: 7.525 MB / 0.5798 GB, free: 2.324 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.5121, allocations: 94.52 kB / 0.5799 GB, free: 2.254 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004992/0.5126, allocations: 248.8 kB / 0.5802 GB, free: 2.105 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01394/0.5266, allocations: 4.613 MB / 0.5847 GB, free: 15.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.5266, allocations: 10.84 kB / 0.5847 GB, free: 15.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5266, allocations: 4 kB / 0.5847 GB, free: 15.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.353e-05/0.5267, allocations: 0 / 0.5847 GB, free: 15.2 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.0041/0.5308, allocations: 1.401 MB / 0.586 GB, free: 14.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.5308, allocations: 13.7 kB / 0.5861 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.532, allocations: 155.8 kB / 0.5862 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009737/0.533, allocations: 373.4 kB / 0.5866 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/0.5331, allocations: 23.53 kB / 0.5866 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.5332, allocations: 35.34 kB / 0.5866 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.5343, allocations: 489.9 kB / 0.5871 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.5343, allocations: 3.938 kB / 0.5871 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.5344, allocations: 13.97 kB / 0.5871 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.5344, allocations: 7.531 kB / 0.5871 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006876/0.5351, allocations: 306.2 kB / 0.5874 GB, free: 13.21 MB / 446.1 MB 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.002531/0.5376, allocations: 2.497 MB / 0.5898 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005782/0.5382, allocations: 290.6 kB / 0.5901 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.5384, allocations: 151.5 kB / 0.5903 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06424/0.6027, allocations: 32.6 MB / 0.6221 GB, free: 7.18 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008459/0.6036, allocations: 290.6 kB / 0.6224 GB, free: 6.871 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 3.587e-06/0.6036, allocations: 0 / 0.6224 GB, free: 6.871 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.004023/0.6076, allocations: 1.721 MB / 0.624 GB, free: 5.035 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.103e-05/0.6077, allocations: 136.5 kB / 0.6242 GB, free: 4.871 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000481/0.6082, allocations: 401.9 kB / 0.6246 GB, free: 4.473 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.6083, allocations: 33.7 kB / 0.6246 GB, free: 4.434 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.6085, allocations: 240.5 kB / 0.6248 GB, free: 4.195 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.6086, allocations: 119 kB / 0.6249 GB, free: 4.078 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.6087, allocations: 77.97 kB / 0.625 GB, free: 3.996 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.6089, allocations: 362.7 kB / 0.6254 GB, free: 3.633 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.6092, allocations: 132.7 kB / 0.6255 GB, free: 3.504 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.6094, allocations: 215.7 kB / 0.6257 GB, free: 3.266 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006032/0.6101, allocations: 478.1 kB / 0.6261 GB, free: 2.746 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6101, allocations: 0 / 0.6261 GB, free: 2.746 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001122/0.6112, allocations: 0.6196 MB / 0.6267 GB, free: 2.102 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.356e-05/0.6113, allocations: 71.39 kB / 0.6268 GB, free: 2.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.6113, allocations: 4 kB / 0.6268 GB, free: 2.016 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.6126, allocations: 169.7 kB / 0.627 GB, free: 1.844 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.6129, allocations: 63.91 kB / 0.627 GB, free: 1.781 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.614, allocations: 1.129 MB / 0.6281 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.6143, allocations: 15.97 kB / 0.6282 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.853e-05/0.6144, allocations: 19.98 kB / 0.6282 GB, free: 0.5664 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 (coolingFlowRate.nextEventScaled,coolingFlowRate.nextEvent,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.b,coolingFlowRate.a,steamFlowRate.nextEventScaled,steamFlowRate.nextEvent,$PRE.steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.b,steamFlowRate.a,$whenCondition2,$whenCondition1,tank.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003278/0.6147, allocations: 247.7 kB / 0.6284 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.6148, allocations: 51.72 kB / 0.6285 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.6171, allocations: 1.591 MB / 0.63 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.6171, allocations: 0 / 0.63 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.6171, allocations: 7.938 kB / 0.63 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/0.6174, allocations: 188.3 kB / 0.6302 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.6175, allocations: 12 kB / 0.6302 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.6177, allocations: 19.98 kB / 0.6302 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/0.6178, allocations: 19.97 kB / 0.6303 GB, free: 14.38 MB / 494.1 MB [/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): barometricCondenser.Tl = $cse4.T 2/2 (1): barometricCondenser.p = Modelica.Media.Water.IF97_Utilities.BaseIF97.Basic.psat(barometricCondenser.Tl + barometricCondenser.Tt) 3/3 (16): $cse4 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(barometricCondenser.p, barometricCondenser.hl, 0, 0) Variables: 1: $cse4.rho:VARIABLE(protected = true ) type: Real unreplaceable 2: $cse4.cp:VARIABLE(protected = true ) type: Real unreplaceable 3: $cse4.phase:DISCRETE(protected = true ) type: Integer unreplaceable 4: $cse4.T:VARIABLE(protected = true ) type: Real unreplaceable 5: $cse4.h:VARIABLE(protected = true ) type: Real unreplaceable 6: $cse4.p:VARIABLE(protected = true ) type: Real unreplaceable 7: $cse4.dpT:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse4.s:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse4.vt:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse4.pt:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse4.pd:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse4.R:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse4.vp:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse4.region:DISCRETE(protected = true ) type: Integer unreplaceable 15: $cse4.x:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse4.cv:VARIABLE(protected = true ) type: Real unreplaceable 17: barometricCondenser.p:VARIABLE(min = 611.657 max = 1e8 start = barometricCondenser.pstart unit = "Pa" nominal = 1e6 ) "Steam pressure in the condenser" type: Real 18: barometricCondenser.Tl:VARIABLE(min = 273.15 max = 2273.15 start = 500.0 unit = "K" nominal = 500.0 ) "Liquid outlet temperature" type: Real [/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.0007349/0.6185, allocations: 245.4 kB / 0.6305 GB, free: 14.13 MB / 494.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoPower.Test.WaterComponents.TestBarometricCondenser could not be translated