Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.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.001337/0.001337, allocations: 77.78 kB / 21.28 MB, free: 0.5273 MB / 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.001409/0.001409, allocations: 161.9 kB / 24.55 MB, free: 3.828 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.416/1.416, allocations: 177.2 MB / 204.9 MB, free: 9.273 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.1436/0.1436, allocations: 19.71 MB / 281 MB, free: 13.05 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.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser") [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.002293/0.002293, allocations: 67.89 kB / 417.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3007, allocations: 60.45 MB / 478.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.05816/0.3588, allocations: 46.67 MB / 0.5124 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02151/0.3803, allocations: 15.34 MB / 0.5274 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004625/0.3808, allocations: 15.88 kB / 0.5274 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007909/0.3816, allocations: 266.4 kB / 0.5277 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007982/0.3896, allocations: 2.376 MB / 0.53 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009533/0.3991, allocations: 3.208 MB / 0.5332 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.4006, allocations: 0.8561 MB / 0.534 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005797/0.4011, allocations: 245.1 kB / 0.5342 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009204/0.4021, allocations: 478.6 kB / 0.5347 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007284/0.4028, allocations: 374.5 kB / 0.535 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.362e-05/0.4029, allocations: 32 kB / 0.5351 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01547/0.4183, allocations: 7.145 MB / 0.542 GB, free: 5.074 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.4186, allocations: 103.5 kB / 0.5421 GB, free: 4.973 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004374/0.419, allocations: 211.1 kB / 0.5423 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.4311, allocations: 4.603 MB / 0.5468 GB, free: 156 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4311, allocations: 0 / 0.5468 GB, free: 156 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4311, allocations: 0 / 0.5468 GB, free: 156 kB / 446.1 MB Notification: Performance of Transformations before backend: time 2.339e-05/0.4311, allocations: 0 / 0.5468 GB, free: 156 kB / 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.003657/0.4348, allocations: 1.338 MB / 0.5481 GB, free: 14.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.4348, allocations: 8.031 kB / 0.5482 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.4359, allocations: 156.4 kB / 0.5483 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006374/0.4365, allocations: 296.6 kB / 0.5486 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.4365, allocations: 25.03 kB / 0.5486 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.068e-05/0.4366, allocations: 32.38 kB / 0.5486 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.4377, allocations: 0.5626 MB / 0.5492 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.4377, allocations: 3.984 kB / 0.5492 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.4377, allocations: 16 kB / 0.5492 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.4377, allocations: 8 kB / 0.5492 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007766/0.4385, allocations: 377.6 kB / 0.5496 GB, free: 13.2 MB / 462.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.002551/0.4411, allocations: 1.668 MB / 0.5512 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006832/0.4418, allocations: 322.1 kB / 0.5515 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.442, allocations: 196.1 kB / 0.5517 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06353/0.5056, allocations: 17.63 MB / 0.5689 GB, free: 9.266 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007622/0.5063, allocations: 366 kB / 0.5693 GB, free: 8.871 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 3.116e-06/0.5063, allocations: 0 / 0.5693 GB, free: 8.871 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.00412/0.5105, allocations: 1.707 MB / 0.5709 GB, free: 7.059 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.683e-05/0.5105, allocations: 136.5 kB / 0.5711 GB, free: 6.895 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004364/0.511, allocations: 353.6 kB / 0.5714 GB, free: 6.543 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.593e-05/0.511, allocations: 33.7 kB / 0.5714 GB, free: 6.504 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.5112, allocations: 252.6 kB / 0.5717 GB, free: 6.25 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.5114, allocations: 115 kB / 0.5718 GB, free: 6.137 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.5115, allocations: 85.91 kB / 0.5719 GB, free: 6.047 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.5117, allocations: 354.7 kB / 0.5722 GB, free: 5.691 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.512, allocations: 196.2 kB / 0.5724 GB, free: 5.488 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.5123, allocations: 305.2 kB / 0.5727 GB, free: 5.145 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006565/0.513, allocations: 486.1 kB / 0.5731 GB, free: 4.617 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.513, allocations: 0 / 0.5731 GB, free: 4.617 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001212/0.5142, allocations: 0.6847 MB / 0.5738 GB, free: 3.895 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.771e-05/0.5143, allocations: 71.39 kB / 0.5739 GB, free: 3.812 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.5143, allocations: 3.984 kB / 0.5739 GB, free: 3.809 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.5156, allocations: 165.5 kB / 0.574 GB, free: 3.641 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.5158, allocations: 63.91 kB / 0.5741 GB, free: 3.578 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.5169, allocations: 1.128 MB / 0.5752 GB, free: 2.398 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.5172, allocations: 19.94 kB / 0.5752 GB, free: 2.379 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/0.5172, allocations: 19.98 kB / 0.5752 GB, free: 2.359 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.0003016/0.5175, allocations: 245.1 kB / 0.5755 GB, free: 2.098 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.89e-05/0.5176, allocations: 51.86 kB / 0.5755 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/0.5199, allocations: 1.683 MB / 0.5772 GB, free: 336 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.5199, allocations: 0 / 0.5772 GB, free: 336 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.5199, allocations: 0 / 0.5772 GB, free: 336 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.5201, allocations: 103.3 kB / 0.5773 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.225e-05/0.5202, allocations: 12 kB / 0.5773 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.5204, allocations: 16 kB / 0.5773 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/0.5205, allocations: 23.95 kB / 0.5773 GB, free: 180 kB / 478.1 MB [/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): 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_s: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:9818:5-9819:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007453/0.5212, allocations: 256.1 kB / 0.5776 GB, free: 15.92 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 " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.822881786036305] Failed to read output from testmodel.py, exit status != 0: 0.5304853320121765 0.546034585 0.111396665 Calling exit ...