Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.h|mixingVolume1.medium.p|mixingVolume2.medium.h",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.h|mixingVolume1.medium.p|mixingVolume2.medium.h",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 115.4 kB / 17.09 MB, free: 5.996 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.001082/0.001082, allocations: 194.2 kB / 18.02 MB, free: 5.074 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.37/1.37, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2209/0.2209, allocations: 43.53 MB / 314.8 MB, free: 468 kB / 254.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.001632/0.001632, allocations: 63.89 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1083, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.2931/0.4014, allocations: 56.82 MB / 0.544 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03352/0.435, allocations: 30.7 MB / 0.574 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.4369, allocations: 29.31 kB / 0.574 GB, free: 9.996 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001958/0.4389, allocations: 0.6707 MB / 0.5747 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01901/0.4579, allocations: 5.749 MB / 0.5803 GB, free: 6.367 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01141/0.4693, allocations: 3.869 MB / 0.5841 GB, free: 3.527 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004135/0.4735, allocations: 3.063 MB / 0.5871 GB, free: 1.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.4747, allocations: 0.8235 MB / 0.5879 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01466/0.4893, allocations: 6.349 MB / 0.5941 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01632/0.5057, allocations: 7.43 MB / 0.6013 GB, free: 6.965 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003985/0.5061, allocations: 116 kB / 0.6015 GB, free: 6.852 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01768/0.5238, allocations: 8.374 MB / 0.6096 GB, free: 14.47 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007806/0.5246, allocations: 406.8 kB / 0.61 GB, free: 14.07 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.5258, allocations: 0.6767 MB / 0.6107 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01585/0.5417, allocations: 6.335 MB / 0.6169 GB, free: 7.039 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.5417, allocations: 0 / 0.6169 GB, free: 7.039 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.5418, allocations: 0 / 0.6169 GB, free: 7.039 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.5418, allocations: 0 / 0.6169 GB, free: 7.039 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.005762/0.5476, allocations: 2.313 MB / 0.6191 GB, free: 4.664 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.5476, allocations: 8.031 kB / 0.6191 GB, free: 4.656 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004747/0.5524, allocations: 0.6246 MB / 0.6197 GB, free: 4.031 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.5538, allocations: 0.8117 MB / 0.6205 GB, free: 3.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.554, allocations: 213.3 kB / 0.6207 GB, free: 2.949 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.5541, allocations: 104.3 kB / 0.6208 GB, free: 2.848 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004054/0.5582, allocations: 1.827 MB / 0.6226 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/0.5583, allocations: 3.938 kB / 0.6226 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.5584, allocations: 48 kB / 0.6227 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.775e-05/0.5585, allocations: 38 kB / 0.6227 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004003/0.5625, allocations: 1.647 MB / 0.6243 GB, free: 15.15 MB / 478.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.009699/0.5722, allocations: 8.571 MB / 0.6327 GB, free: 5.965 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/0.5751, allocations: 0.985 MB / 0.6336 GB, free: 4.965 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008049/0.5759, allocations: 430.1 kB / 0.6341 GB, free: 4.543 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04327/0.6192, allocations: 25.02 MB / 0.6585 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/0.6193, allocations: 43.12 kB / 0.6585 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006609/0.62, allocations: 103.2 kB / 0.6586 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 6.793e-06/0.62, allocations: 0 / 0.6586 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78): time 0.01102/0.631, allocations: 3.476 MB / 0.662 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.812e-05/0.6311, allocations: 111.5 kB / 0.6621 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.6325, allocations: 0.8568 MB / 0.663 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-05/0.6326, allocations: 37.7 kB / 0.663 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000556/0.6332, allocations: 0.593 MB / 0.6636 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003275/0.6335, allocations: 289.6 kB / 0.6639 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004466/0.634, allocations: 278.7 kB / 0.6641 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002145/0.6342, allocations: 402.7 kB / 0.6645 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009225/0.6351, allocations: 434.3 kB / 0.6649 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.6365, allocations: 0.9892 MB / 0.6659 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00243/0.6389, allocations: 1.494 MB / 0.6674 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.899e-05/0.6389, allocations: 8 kB / 0.6674 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003533/0.6425, allocations: 1.728 MB / 0.669 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.6425, allocations: 16.94 kB / 0.6691 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/0.6426, allocations: 16 kB / 0.6691 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002698/0.6453, allocations: 0.5988 MB / 0.6697 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007595/0.646, allocations: 251.5 kB / 0.6699 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.6484, allocations: 1.823 MB / 0.6717 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.6494, allocations: 67.95 kB / 0.6717 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.6496, allocations: 79.98 kB / 0.6718 GB, free: 9.391 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 16 (sink2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume1.heatTransfer.states[1].phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * 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,4), (3,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005928/0.6502, allocations: 339.5 kB / 0.6721 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003131/0.6505, allocations: 115.3 kB / 0.6723 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005559/0.6561, allocations: 4.432 MB / 0.6766 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.758e-05/0.6561, allocations: 15.91 kB / 0.6766 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.6561, allocations: 0 / 0.6766 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005298/0.6566, allocations: 367.1 kB / 0.677 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/0.6569, allocations: 35.84 kB / 0.677 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007269/0.6576, allocations: 75.86 kB / 0.6771 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.6578, allocations: 72.89 kB / 0.6771 GB, free: 3.883 MB / 0.5137 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): simpleGenericOrifice1.state_a.T = $cse22.T 2/2 (1): simpleGenericOrifice1.mu_a = Modelica.Media.Water.IF97_Utilities.dynamicViscosity(simpleGenericOrifice1.rho_a, simpleGenericOrifice1.state_a.T, flowSource2.ports[1].p, 0) 3/3 (1): flowSource2.m_flow = ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.simpleGenericOrifice1.WallFriction.massFlowRate_dp_staticHead(simpleGenericOrifice1.dp, simpleGenericOrifice1.rho_a, simpleGenericOrifice1.rho_b, simpleGenericOrifice1.mu_a, simpleGenericOrifice1.mu_b, simpleGenericOrifice1.length, simpleGenericOrifice1.diameter, 0.0, simpleGenericOrifice1.crossArea, simpleGenericOrifice1.roughness, simpleGenericOrifice1.dp_small, 4000.0) 4/4 (1): simpleGenericOrifice1.dp = flowSource2.ports[1].p - mixingVolume1.medium.p 5/5 (16): $cse22 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(flowSource2.ports[1].p, flowSource2.h, 0, 0) 6/21 (1): simpleGenericOrifice1.rho_a = $cse22.rho Variables: 1: simpleGenericOrifice1.rho_a:VARIABLE(min = 0.0 max = 1e5 start = 150.0 unit = "kg/m3" nominal = 500.0 protected = true ) type: Real 2: $cse22.vp:VARIABLE(protected = true ) type: Real unreplaceable 3: $cse22.p:VARIABLE(protected = true ) type: Real unreplaceable 4: $cse22.pd:VARIABLE(protected = true ) type: Real unreplaceable 5: $cse22.phase:DISCRETE(protected = true ) type: Integer unreplaceable 6: $cse22.pt:VARIABLE(protected = true ) type: Real unreplaceable 7: $cse22.s:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse22.rho:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse22.cp:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse22.R:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse22.cv:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse22.h:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse22.x:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse22.T:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse22.vt:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse22.dpT:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse22.region:DISCRETE(protected = true ) type: Integer unreplaceable 18: flowSource2.ports[1].p:VARIABLE(flow=false min = 611.657 max = 1e8 start = 5e6 unit = "Pa" nominal = 1e6 ) "Thermodynamic pressure in the connection point" type: Real [1] 19: simpleGenericOrifice1.dp:VARIABLE(start = simpleGenericOrifice1.dp_start unit = "Pa" ) "Pressure difference between port_a and port_b (= port_a.p - port_b.p)" type: Real 20: simpleGenericOrifice1.mu_a:VARIABLE(min = 0.0 unit = "Pa.s" protected = true ) type: Real 21: simpleGenericOrifice1.state_a.T:VARIABLE(min = 273.15 max = 2273.15 start = 500.0 unit = "K" nominal = 500.0 protected = true ) "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.0008473/0.6586, allocations: 429.3 kB / 0.6775 GB, free: 3.477 MB / 0.5137 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates could not be translated