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.001232/0.001232, allocations: 112.6 kB / 17.09 MB, free: 5.988 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.001218/0.001219, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.384/1.384, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1969/0.1969, allocations: 43.53 MB / 314.8 MB, free: 460 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.001386/0.001386, allocations: 71.89 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1047, allocations: 57.78 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.2634/0.3681, allocations: 56.82 MB / 0.544 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03047/0.3986, allocations: 30.71 MB / 0.574 GB, free: 9.996 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.4, allocations: 24.88 kB / 0.574 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.4018, allocations: 0.6734 MB / 0.5747 GB, free: 9.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01665/0.4185, allocations: 5.725 MB / 0.5803 GB, free: 6.371 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01274/0.4313, allocations: 3.859 MB / 0.5841 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005059/0.4363, allocations: 3.05 MB / 0.587 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/0.4382, allocations: 0.8276 MB / 0.5878 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01525/0.4534, allocations: 6.346 MB / 0.594 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0149/0.4684, allocations: 7.425 MB / 0.6013 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005477/0.469, allocations: 112 kB / 0.6014 GB, free: 6.875 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01802/0.487, allocations: 8.374 MB / 0.6096 GB, free: 14.49 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007274/0.4878, allocations: 410.8 kB / 0.61 GB, free: 14.09 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.4892, allocations: 0.6729 MB / 0.6106 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01481/0.504, allocations: 6.318 MB / 0.6168 GB, free: 7.082 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.5041, allocations: 0 / 0.6168 GB, free: 7.082 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5041, allocations: 0 / 0.6168 GB, free: 7.082 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.846e-05/0.5041, allocations: 0 / 0.6168 GB, free: 7.082 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.006586/0.5107, allocations: 2.248 MB / 0.619 GB, free: 4.781 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.5108, allocations: 8.031 kB / 0.619 GB, free: 4.773 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005207/0.516, allocations: 0.624 MB / 0.6196 GB, free: 4.148 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/0.5184, allocations: 0.8071 MB / 0.6204 GB, free: 3.301 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003377/0.5188, allocations: 213.3 kB / 0.6206 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003802/0.5192, allocations: 96.38 kB / 0.6207 GB, free: 2.977 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004837/0.524, allocations: 1.827 MB / 0.6225 GB, free: 1.016 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.5241, allocations: 7.938 kB / 0.6225 GB, free: 1.008 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/0.5242, allocations: 44 kB / 0.6225 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.539e-05/0.5243, allocations: 49.98 kB / 0.6226 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004177/0.5285, allocations: 1.631 MB / 0.6242 GB, free: 15.28 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.009948/0.5385, allocations: 8.561 MB / 0.6325 GB, free: 6.105 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003101/0.5416, allocations: 0.9889 MB / 0.6335 GB, free: 5.102 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008743/0.5425, allocations: 426.1 kB / 0.6339 GB, free: 4.684 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04532/0.5878, allocations: 25.03 MB / 0.6583 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.032e-05/0.5879, allocations: 39.12 kB / 0.6584 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008136/0.5888, allocations: 90.95 kB / 0.6585 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 6.873e-06/0.5888, allocations: 0 / 0.6585 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78): time 0.01097/0.5998, allocations: 3.478 MB / 0.6619 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.5998, allocations: 111.5 kB / 0.662 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.601, allocations: 0.8488 MB / 0.6628 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.794e-05/0.6011, allocations: 37.7 kB / 0.6628 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004016/0.6015, allocations: 0.5679 MB / 0.6634 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.6017, allocations: 284.1 kB / 0.6637 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003521/0.6021, allocations: 270.5 kB / 0.6639 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.6023, allocations: 406.7 kB / 0.6643 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009189/0.6032, allocations: 434.3 kB / 0.6647 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.6045, allocations: 0.9971 MB / 0.6657 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002315/0.6068, allocations: 1.49 MB / 0.6671 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/0.6069, allocations: 4 kB / 0.6672 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003574/0.6104, allocations: 1.728 MB / 0.6688 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.6105, allocations: 12 kB / 0.6688 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.131e-05/0.6105, allocations: 20 kB / 0.6689 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002706/0.6132, allocations: 0.5915 MB / 0.6694 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000826/0.6141, allocations: 251.5 kB / 0.6697 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.6165, allocations: 1.823 MB / 0.6715 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000897/0.6174, allocations: 71.97 kB / 0.6715 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.6175, allocations: 75.98 kB / 0.6716 GB, free: 9.578 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.0005298/0.618, allocations: 339.5 kB / 0.6719 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000265/0.6183, allocations: 102.9 kB / 0.672 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005858/0.6242, allocations: 4.443 MB / 0.6764 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.6242, allocations: 11.86 kB / 0.6764 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.6242, allocations: 4 kB / 0.6764 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005263/0.6247, allocations: 354.2 kB / 0.6767 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/0.625, allocations: 39.77 kB / 0.6768 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007233/0.6257, allocations: 67.92 kB / 0.6768 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.6259, allocations: 80.83 kB / 0.6769 GB, free: 4.078 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.0008253/0.6267, allocations: 428.3 kB / 0.6773 GB, free: 3.672 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