Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTranscritical.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ExternalMedia.Test.GenericModels.TestRunnerTranscritical,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTranscritical") translateModel(ExternalMedia.Test.GenericModels.TestRunnerTranscritical,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 108.5 kB / 16.41 MB, free: 6.473 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.001793/0.001793, allocations: 192.3 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.0116/0.0116, allocations: 2.79 MB / 294 MB, free: 11.95 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 71.88 kB / 406.6 MB, free: 29.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07804/0.07924, allocations: 50.22 MB / 456.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.GenericModels.TestRunnerTranscritical): time 0.2676/0.3468, allocations: 106.3 MB / 0.55 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0562/0.4031, allocations: 59.85 MB / 0.6084 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.4046, allocations: 12 kB / 0.6084 GB, free: 6.598 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002925/0.4075, allocations: 1.181 MB / 0.6096 GB, free: 5.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03118/0.4387, allocations: 13.24 MB / 0.6225 GB, free: 8.125 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007976/0.4467, allocations: 3.184 MB / 0.6256 GB, free: 4.941 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003693/0.4504, allocations: 2.963 MB / 0.6285 GB, free: 1.965 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003609/0.4508, allocations: 180.6 kB / 0.6287 GB, free: 1.77 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.4525, allocations: 1.089 MB / 0.6298 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.4539, allocations: 0.9258 MB / 0.6307 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002445/0.4542, allocations: 144 kB / 0.6308 GB, free: 15.61 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02297/0.4772, allocations: 11.12 MB / 0.6417 GB, free: 4.48 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003826/0.4776, allocations: 378.3 kB / 0.642 GB, free: 4.109 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.4789, allocations: 1.031 MB / 0.643 GB, free: 3.074 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01784/0.4967, allocations: 8.704 MB / 0.6515 GB, free: 10.35 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4967, allocations: 0 / 0.6515 GB, free: 10.35 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4967, allocations: 0 / 0.6515 GB, free: 10.35 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.924e-05/0.4968, allocations: 0 / 0.6515 GB, free: 10.35 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.007028/0.5038, allocations: 3.303 MB / 0.6547 GB, free: 6.965 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.5039, allocations: 8.031 kB / 0.6548 GB, free: 6.957 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/0.5187, allocations: 1.869 MB / 0.6566 GB, free: 5.086 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.5204, allocations: 1.103 MB / 0.6577 GB, free: 3.941 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.5205, allocations: 172.5 kB / 0.6578 GB, free: 3.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003732/0.5209, allocations: 196.6 kB / 0.658 GB, free: 3.578 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02011/0.541, allocations: 6.857 MB / 0.6647 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.31e-05/0.5411, allocations: 11.92 kB / 0.6647 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002337/0.5413, allocations: 88 kB / 0.6648 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.315e-05/0.5414, allocations: 56 kB / 0.6649 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02222/0.5636, allocations: 8.226 MB / 0.6729 GB, free: 4.168 MB / 0.4981 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.01296/0.5766, allocations: 15.55 MB / 0.6881 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01696/0.5936, allocations: 5.644 MB / 0.6936 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/0.5956, allocations: 1.225 MB / 0.6948 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2814/0.877, allocations: 52.22 MB / 0.7458 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.8771, allocations: 60.44 kB / 0.7458 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=242): time 4.098e-06/0.8771, allocations: 0 / 0.7458 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=246): time 0.04174/0.9188, allocations: 14.42 MB / 0.7599 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.9189, allocations: 103.1 kB / 0.76 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.9192, allocations: 346.4 kB / 0.7603 GB, free: 160 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003273/0.9195, allocations: 65.7 kB / 0.7604 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.9197, allocations: 0.5653 MB / 0.761 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005746/0.9203, allocations: 0.8579 MB / 0.7618 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001432/0.9217, allocations: 0.9765 MB / 0.7627 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.897e-05/0.9218, allocations: 318 kB / 0.763 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003261/0.925, allocations: 2.074 MB / 0.7651 GB, free: 155.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003842/0.9289, allocations: 2.63 MB / 0.7676 GB, free: 152.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/0.9391, allocations: 4.511 MB / 0.772 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/0.9392, allocations: 4 kB / 0.772 GB, free: 147.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01459/0.9538, allocations: 5.556 MB / 0.7775 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.9538, allocations: 16.03 kB / 0.7775 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/0.9539, allocations: 17.64 kB / 0.7775 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001912/0.9558, allocations: 310.2 kB / 0.7778 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004986/0.9608, allocations: 1.061 MB / 0.7788 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.963, allocations: 1.89 MB / 0.7807 GB, free: 138.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/0.966, allocations: 96.09 kB / 0.7808 GB, free: 138.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008858/0.9669, allocations: 402.8 kB / 0.7812 GB, free: 138.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 17 (testBasePropertiesDynamic.medium.phase,testBasePropertiesImplicit.medium2.baseProperties.phase,testBasePropertiesImplicit.medium1.baseProperties.phase,testBasePropertiesExplicit.medium2.baseProperties.phase,testBasePropertiesExplicit.medium1.baseProperties.phase,testStatesSat.state2.phase,testStatesSat.state1.phase,testStates.state2.phase,testStates.state1.phase,testStatesSat.completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,testStatesSat.completeBubbleDewStates2.bubbleStateOnePhase.state.phase,testStatesSat.completeBubbleDewStates2.dewStateTwoPhase.state.phase,testStatesSat.completeBubbleDewStates2.dewStateOnePhase.state.phase,testStatesSat.completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,testStatesSat.completeBubbleDewStates1.bubbleStateOnePhase.state.phase,testStatesSat.completeBubbleDewStates1.dewStateTwoPhase.state.phase,testStatesSat.completeBubbleDewStates1.dewStateOnePhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (293): * Single equations (assignments): 287 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(3,8), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001564/0.9685, allocations: 432.8 kB / 0.7816 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/0.9696, allocations: 121.2 kB / 0.7817 GB, free: 137.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03294/1.003, allocations: 46.83 MB / 0.8274 GB, free: 91.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-05/1.003, allocations: 19.94 kB / 0.8274 GB, free: 91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/1.003, allocations: 0 / 0.8274 GB, free: 91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/1.003, allocations: 450.6 kB / 0.8279 GB, free: 90.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004059/1.003, allocations: 52 kB / 0.8279 GB, free: 90.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002385/1.006, allocations: 363.3 kB / 0.8283 GB, free: 90.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000359/1.006, allocations: 194 kB / 0.8285 GB, free: 90.04 MB / 0.5294 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): testBasePropertiesImplicit.medium1.baseProperties.phase = if testBasePropertiesImplicit.medium1.completeState.h < $cse8.h or testBasePropertiesImplicit.medium1.completeState.h > $cse7.h or p_in > 2.2064e7 then 1 else 2 2/2 (16): $cse11 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(p_in, testBasePropertiesImplicit.medium1.completeState.h, testBasePropertiesImplicit.medium1.baseProperties.phase, 0) 3/18 (1): T_in = $cse11.T Variables: 1: $cse11.dpT:VARIABLE(protected = true ) type: Real unreplaceable 2: testBasePropertiesImplicit.medium1.completeState.h:VARIABLE(min = -1e10 max = 1e10 start = testBasePropertiesImplicit.hstart unit = "J/kg" nominal = 5e5 ) type: Real 3: $cse11.R_s:VARIABLE(protected = true ) type: Real unreplaceable 4: $cse11.p:VARIABLE(protected = true ) type: Real unreplaceable 5: $cse11.T:VARIABLE(protected = true ) type: Real unreplaceable 6: $cse11.phase:DISCRETE(protected = true ) type: Integer unreplaceable 7: $cse11.region:DISCRETE(protected = true ) type: Integer unreplaceable 8: $cse11.x:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse11.cv:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse11.rho:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse11.pt:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse11.pd:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse11.h:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse11.s:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse11.vp:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse11.vt:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse11.cp:VARIABLE(protected = true ) type: Real unreplaceable 18: testBasePropertiesImplicit.medium1.baseProperties.phase:DISCRETE(min = 0 max = 2 start = 1 fixed = false ) "2 for two-phase, 1 for one-phase, 0 if not known" type: Integer [/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.001021/1.007, allocations: 0.6789 MB / 0.8291 GB, free: 89.37 MB / 0.5294 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ExternalMedia.Test.GenericModels.TestRunnerTranscritical could not be translated