Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002722/0.002722, allocations: 350.1 kB / 15.95 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.363/3.363, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003518/0.003518, allocations: 221.2 kB / 397.9 MB, free: 4.988 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5128/0.5128, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004656, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1155, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.48/0.5955, allocations: 52.64 MB / 0.6582 GB, free: 57.75 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.06164/0.6572, allocations: 28.31 MB / 0.6858 GB, free: 32.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002079/0.6594, allocations: 47.56 kB / 0.6858 GB, free: 32.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002393/0.6618, allocations: 0.5321 MB / 0.6864 GB, free: 31.54 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0198/0.6816, allocations: 4.612 MB / 0.6909 GB, free: 26.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01182/0.6935, allocations: 2.999 MB / 0.6938 GB, free: 23.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005232/0.6988, allocations: 3.475 MB / 0.6972 GB, free: 20.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/0.7006, allocations: 0.6634 MB / 0.6978 GB, free: 19.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02169/0.7223, allocations: 9.542 MB / 0.7072 GB, free: 10.28 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02709/0.7495, allocations: 12.24 MB / 0.7191 GB, free: 14.03 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004903/0.75, allocations: 60 kB / 0.7192 GB, free: 13.97 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02618/0.7762, allocations: 7.632 MB / 0.7266 GB, free: 6.328 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009276/0.7772, allocations: 342.9 kB / 0.727 GB, free: 5.992 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006683/0.7779, allocations: 265.1 kB / 0.7272 GB, free: 5.727 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01684/0.7948, allocations: 4.256 MB / 0.7314 GB, free: 1.461 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.7949, allocations: 0 / 0.7314 GB, free: 1.461 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.7949, allocations: 3.938 kB / 0.7314 GB, free: 1.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.11e-05/0.795, allocations: 0 / 0.7314 GB, free: 1.457 MB / 378.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.01492/0.8099, allocations: 1.976 MB / 0.7333 GB, free: 15.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.81, allocations: 19.97 kB / 0.7333 GB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008642/0.8187, allocations: 0.6035 MB / 0.7339 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003894/0.8226, allocations: 0.7596 MB / 0.7346 GB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005859/0.8233, allocations: 200.8 kB / 0.7348 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001412/0.8247, allocations: 103.9 kB / 0.7349 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01414/0.8389, allocations: 1.842 MB / 0.7367 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.714e-05/0.8391, allocations: 3.938 kB / 0.7367 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003624/0.8395, allocations: 51.95 kB / 0.7368 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001344/0.8396, allocations: 45.98 kB / 0.7368 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007839/0.8475, allocations: 1.682 MB / 0.7385 GB, free: 9.926 MB / 394.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.01588/0.8634, allocations: 8.454 MB / 0.7467 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004704/0.8681, allocations: 0.9528 MB / 0.7477 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.8696, allocations: 386.3 kB / 0.748 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5121/1.382, allocations: 57.98 MB / 0.8046 GB, free: 99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/1.382, allocations: 45.56 kB / 0.8047 GB, free: 98.96 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008212/1.383, allocations: 97.34 kB / 0.8048 GB, free: 98.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 3.696e-06/1.383, allocations: 0 / 0.8048 GB, free: 98.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=77): time 0.01494/1.398, allocations: 3.348 MB / 0.8081 GB, free: 97.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/1.398, allocations: 111.5 kB / 0.8082 GB, free: 97.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/1.399, allocations: 0.7915 MB / 0.8089 GB, free: 96.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001405/1.399, allocations: 41.08 kB / 0.809 GB, free: 96.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/1.4, allocations: 0.5929 MB / 0.8095 GB, free: 96.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/1.4, allocations: 273.5 kB / 0.8098 GB, free: 96.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-05/1.4, allocations: 28 kB / 0.8098 GB, free: 96.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/1.4, allocations: 414.2 kB / 0.8102 GB, free: 95.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/1.402, allocations: 419.7 kB / 0.8106 GB, free: 95.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/1.403, allocations: 1.037 MB / 0.8116 GB, free: 93.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/1.405, allocations: 0.5802 MB / 0.8122 GB, free: 93.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/1.405, allocations: 8 kB / 0.8122 GB, free: 93.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005084/1.41, allocations: 1.732 MB / 0.8139 GB, free: 91.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/1.41, allocations: 16 kB / 0.8139 GB, free: 91.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/1.41, allocations: 20 kB / 0.8139 GB, free: 91.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00434/1.415, allocations: 0.6202 MB / 0.8146 GB, free: 90.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/1.416, allocations: 255.6 kB / 0.8148 GB, free: 90.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003072/1.419, allocations: 1.81 MB / 0.8166 GB, free: 88.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/1.421, allocations: 119.8 kB / 0.8167 GB, free: 88.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/1.421, allocations: 83.98 kB / 0.8168 GB, free: 88.63 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (141): * Single equations (assignments): 139 * 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 27} Notification: Performance of prepare postOptimizeDAE: time 0.0007222/1.422, allocations: 348.5 kB / 0.8171 GB, free: 88.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/1.422, allocations: 98.83 kB / 0.8172 GB, free: 88.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007725/1.43, allocations: 4.414 MB / 0.8215 GB, free: 83.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.859e-05/1.43, allocations: 7.969 kB / 0.8215 GB, free: 83.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/1.43, allocations: 3.375 kB / 0.8215 GB, free: 83.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008109/1.431, allocations: 401.9 kB / 0.8219 GB, free: 83.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003247/1.431, allocations: 16 kB / 0.8219 GB, free: 83.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/1.433, allocations: 107.8 kB / 0.822 GB, free: 83.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/1.433, allocations: 68.89 kB / 0.8221 GB, free: 83.14 MB / 410.7 MB [/var/lib/jenkins/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 = $cse20.T 2/2 (16): $cse20 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(flowSource2.ports[1].p, 200000.0, 0, 0) 3/18 (1): simpleGenericOrifice1.rho_a = $cse20.rho 4/19 (1): 1.0 = 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) 5/20 (1): simpleGenericOrifice1.mu_a = Modelica.Media.Water.IF97_Utilities.dynamicViscosity(simpleGenericOrifice1.rho_a, simpleGenericOrifice1.state_a.T, flowSource2.ports[1].p, 0) 6/21 (1): simpleGenericOrifice1.dp = flowSource2.ports[1].p - mixingVolume1.medium.p Variables: 1: 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 2: simpleGenericOrifice1.state_a.T:VARIABLE(min = 273.15 max = 2273.15 start = 500.0 unit = "K" nominal = 500.0 protected = true ) "Temperature" type: Real 3: simpleGenericOrifice1.mu_a:VARIABLE(min = 0.0 unit = "Pa.s" protected = true ) type: Real 4: simpleGenericOrifice1.rho_a:VARIABLE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 protected = true ) type: Real 5: $cse20.rho:VARIABLE(protected = true ) type: Real unreplaceable 6: $cse20.p:VARIABLE(protected = true ) type: Real unreplaceable 7: $cse20.pt:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse20.cv:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse20.h:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse20.pd:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse20.vp:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse20.phase:DISCRETE(protected = true ) type: Integer unreplaceable 13: $cse20.x:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse20.cp:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse20.vt:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse20.region:DISCRETE(protected = true ) type: Integer unreplaceable 17: $cse20.dpT:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse20.R:VARIABLE(protected = true ) type: Real unreplaceable 19: $cse20.T:VARIABLE(protected = true ) type: Real unreplaceable 20: 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] 21: $cse20.s:VARIABLE(protected = true ) type: Real unreplaceable [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9662:5-9663:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001007/1.434, allocations: 442 kB / 0.8225 GB, free: 82.74 MB / 410.7 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed.