Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001831/0.001832, allocations: 179.8 kB / 17.39 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.4 MB / 223.5 MB, free: 8.996 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007837/0.0007837, allocations: 97.39 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3355/0.3355, allocations: 43.56 MB / 363.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003645, allocations: 16 kB / 432.6 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1061, allocations: 58.84 MB / 491.5 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.2412/0.3473, allocations: 53.5 MB / 0.5322 GB, free: 12.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02684/0.3742, allocations: 28.76 MB / 0.5603 GB, free: 7.758 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.3758, allocations: 34.53 kB / 0.5603 GB, free: 7.738 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.3775, allocations: 0.5642 MB / 0.5609 GB, free: 7.43 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01495/0.3925, allocations: 4.675 MB / 0.5654 GB, free: 5.219 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009863/0.4023, allocations: 3.109 MB / 0.5685 GB, free: 3.613 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005641/0.408, allocations: 3.538 MB / 0.5719 GB, free: 1.789 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.4093, allocations: 0.7055 MB / 0.5726 GB, free: 1.34 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01594/0.4252, allocations: 9.739 MB / 0.5821 GB, free: 13.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.018/0.4433, allocations: 12.36 MB / 0.5942 GB, free: 1.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004411/0.4438, allocations: 67.94 kB / 0.5943 GB, free: 1.164 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01572/0.4595, allocations: 7.948 MB / 0.602 GB, free: 9.203 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005416/0.4601, allocations: 350.9 kB / 0.6024 GB, free: 8.859 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.4611, allocations: 0.628 MB / 0.603 GB, free: 8.223 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007326/0.4685, allocations: 4.381 MB / 0.6073 GB, free: 3.836 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.4685, allocations: 0 / 0.6073 GB, free: 3.836 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4685, allocations: 0 / 0.6073 GB, free: 3.836 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.4685, allocations: 0 / 0.6073 GB, free: 3.836 MB / 426.7 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.004877/0.4734, allocations: 2.012 MB / 0.6092 GB, free: 1.773 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.4735, allocations: 12.03 kB / 0.6092 GB, free: 1.762 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00507/0.4786, allocations: 0.637 MB / 0.6099 GB, free: 1.125 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.4799, allocations: 0.7759 MB / 0.6106 GB, free: 316 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.48, allocations: 209.4 kB / 0.6108 GB, free: 80 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.4802, allocations: 104.4 kB / 0.6109 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003687/0.4839, allocations: 1.85 MB / 0.6127 GB, free: 13.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/0.4839, allocations: 7.938 kB / 0.6127 GB, free: 13.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.484, allocations: 47.91 kB / 0.6128 GB, free: 13.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.667e-05/0.4841, allocations: 42 kB / 0.6128 GB, free: 13.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003937/0.488, allocations: 1.69 MB / 0.6145 GB, free: 12.21 MB / 442.7 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.009497/0.4976, allocations: 8.595 MB / 0.6229 GB, free: 3.004 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/0.5004, allocations: 1.02 MB / 0.6239 GB, free: 1.969 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008588/0.5013, allocations: 438.3 kB / 0.6243 GB, free: 1.539 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04117/0.5425, allocations: 25.3 MB / 0.649 GB, free: 4.523 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.5426, allocations: 43.12 kB / 0.649 GB, free: 4.473 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006435/0.5432, allocations: 114.9 kB / 0.6491 GB, free: 4.359 MB / 474.7 MB Notification: Performance of pre-optimization done (n=70): time 3.216e-06/0.5432, allocations: 0 / 0.6491 GB, free: 4.359 MB / 474.7 MB Notification: Performance of matching and sorting (n=78): time 0.01011/0.5533, allocations: 3.579 MB / 0.6526 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.5534, allocations: 111.5 kB / 0.6527 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.5545, allocations: 0.841 MB / 0.6536 GB, free: 15.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.365e-05/0.5546, allocations: 41.7 kB / 0.6536 GB, free: 15.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000434/0.5551, allocations: 0.5679 MB / 0.6541 GB, free: 15.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.5553, allocations: 280.1 kB / 0.6544 GB, free: 14.81 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.698e-05/0.5554, allocations: 24 kB / 0.6544 GB, free: 14.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.5556, allocations: 406.7 kB / 0.6548 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009712/0.5566, allocations: 446.3 kB / 0.6552 GB, free: 13.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.5579, allocations: 1.001 MB / 0.6562 GB, free: 12.67 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002344/0.5602, allocations: 1.521 MB / 0.6577 GB, free: 10.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.5603, allocations: 4 kB / 0.6577 GB, free: 10.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003401/0.5637, allocations: 1.759 MB / 0.6594 GB, free: 9.109 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.5637, allocations: 16 kB / 0.6594 GB, free: 9.094 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.5637, allocations: 16 kB / 0.6595 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003329/0.5671, allocations: 0.6383 MB / 0.6601 GB, free: 8.434 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008724/0.568, allocations: 247.6 kB / 0.6603 GB, free: 8.191 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.5702, allocations: 1.843 MB / 0.6621 GB, free: 6.297 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.5713, allocations: 131.8 kB / 0.6622 GB, free: 6.168 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.5714, allocations: 79.97 kB / 0.6623 GB, free: 6.09 MB / 490.7 MB 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,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,3 28} Notification: Performance of prepare postOptimizeDAE: time 0.0005533/0.572, allocations: 335.5 kB / 0.6626 GB, free: 5.754 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.5722, allocations: 102.8 kB / 0.6627 GB, free: 5.652 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005593/0.5778, allocations: 4.522 MB / 0.6672 GB, free: 1.078 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.5778, allocations: 7.922 kB / 0.6672 GB, free: 1.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.5778, allocations: 3.984 kB / 0.6672 GB, free: 1.066 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005668/0.5784, allocations: 417.9 kB / 0.6676 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.5786, allocations: 24 kB / 0.6676 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008145/0.5794, allocations: 115.7 kB / 0.6677 GB, free: 0.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.5795, allocations: 80.88 kB / 0.6678 GB, free: 432 kB / 490.7 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:522:7-524: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 = 100000.0 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 = 100000000.0 start = 5000000.0 unit = "Pa" nominal = 1000000.0 ) "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:9741:5-9742:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007479/0.5803, allocations: 439 kB / 0.6682 GB, free: 4 kB / 490.7 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed.