Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003921/0.003928, allocations: 367.3 kB / 15.97 MB, free: 6.18 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.742/3.742, allocations: 388.9 MB / 405.6 MB, free: 48.54 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003545/0.003544, allocations: 236.7 kB / 451 MB, free: 3.004 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7844/0.7844, allocations: 80.01 MB / 0.5627 GB, free: 5.957 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006489/0.0006492, allocations: 15.94 kB / 0.6265 GB, free: 4.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1199, allocations: 54.88 MB / 0.6801 GB, free: 13.5 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.3806/0.5005, allocations: 52.98 MB / 0.7319 GB, free: 51.62 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.05036/0.551, allocations: 28.58 MB / 0.7598 GB, free: 31.3 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001875/0.5529, allocations: 45.41 kB / 0.7598 GB, free: 31.27 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002588/0.5555, allocations: 0.5285 MB / 0.7603 GB, free: 30.99 MB / 394.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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.2+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.2+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.2+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.02012/0.5757, allocations: 4.656 MB / 0.7649 GB, free: 28.21 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01661/0.5923, allocations: 3.076 MB / 0.7679 GB, free: 26 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008272/0.6006, allocations: 3.504 MB / 0.7713 GB, free: 23.93 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002491/0.6032, allocations: 0.6693 MB / 0.772 GB, free: 23.52 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.06328/0.6665, allocations: 9.668 MB / 0.7814 GB, free: 16.59 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05862/0.7252, allocations: 12.36 MB / 0.7935 GB, free: 4.219 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006014/0.7259, allocations: 60 kB / 0.7935 GB, free: 4.16 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02762/0.7535, allocations: 7.79 MB / 0.8011 GB, free: 12.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008016/0.7544, allocations: 346.9 kB / 0.8015 GB, free: 12.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006426/0.755, allocations: 257.1 kB / 0.8017 GB, free: 11.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.7662, allocations: 4.311 MB / 0.8059 GB, free: 7.445 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.7663, allocations: 0 / 0.8059 GB, free: 7.445 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.7663, allocations: 0 / 0.8059 GB, free: 7.445 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.541e-05/0.7663, allocations: 0 / 0.8059 GB, free: 7.445 MB / 410.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.007827/0.7741, allocations: 2.019 MB / 0.8079 GB, free: 5.371 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.7742, allocations: 8.031 kB / 0.8079 GB, free: 5.363 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007227/0.7815, allocations: 0.6426 MB / 0.8085 GB, free: 4.719 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/0.7837, allocations: 0.7635 MB / 0.8093 GB, free: 3.914 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000291/0.784, allocations: 212.7 kB / 0.8095 GB, free: 3.684 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002734/0.7843, allocations: 103.9 kB / 0.8096 GB, free: 3.582 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006338/0.7906, allocations: 1.834 MB / 0.8114 GB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.428e-05/0.7907, allocations: 11.94 kB / 0.8114 GB, free: 1.605 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001983/0.7909, allocations: 44.94 kB / 0.8114 GB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.532e-05/0.791, allocations: 45.98 kB / 0.8115 GB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006898/0.7979, allocations: 1.682 MB / 0.8131 GB, free: 15.83 MB / 426.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.01593/0.8139, allocations: 8.446 MB / 0.8214 GB, free: 6.777 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004549/0.8185, allocations: 0.9314 MB / 0.8223 GB, free: 5.836 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.8199, allocations: 397.2 kB / 0.8226 GB, free: 5.449 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5483/1.368, allocations: 58.06 MB / 0.8793 GB, free: 146.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.832e-05/1.368, allocations: 46.88 kB / 0.8794 GB, free: 146 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007998/1.369, allocations: 99.44 kB / 0.8795 GB, free: 146 MB / 474.7 MB Notification: Performance of pre-optimization done (n=69): time 4.188e-06/1.369, allocations: 0 / 0.8795 GB, free: 146 MB / 474.7 MB Notification: Performance of matching and sorting (n=77): time 0.01446/1.384, allocations: 3.346 MB / 0.8827 GB, free: 145.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/1.384, allocations: 113 kB / 0.8829 GB, free: 145.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/1.385, allocations: 0.7884 MB / 0.8836 GB, free: 145.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/1.385, allocations: 43.77 kB / 0.8837 GB, free: 145.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000464/1.386, allocations: 0.5938 MB / 0.8842 GB, free: 144.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/1.386, allocations: 278.3 kB / 0.8845 GB, free: 144.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.685e-05/1.386, allocations: 27.28 kB / 0.8845 GB, free: 144.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/1.386, allocations: 402.2 kB / 0.8849 GB, free: 144.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/1.388, allocations: 420.3 kB / 0.8853 GB, free: 144.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/1.39, allocations: 1.04 MB / 0.8863 GB, free: 143.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/1.391, allocations: 0.5766 MB / 0.8869 GB, free: 143.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/1.391, allocations: 7.031 kB / 0.8869 GB, free: 143.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005129/1.397, allocations: 1.749 MB / 0.8886 GB, free: 142.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/1.397, allocations: 14.28 kB / 0.8886 GB, free: 142.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-05/1.397, allocations: 20.28 kB / 0.8886 GB, free: 142.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00431/1.401, allocations: 0.6064 MB / 0.8892 GB, free: 142.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/1.402, allocations: 260.5 kB / 0.8895 GB, free: 142.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003219/1.406, allocations: 1.812 MB / 0.8913 GB, free: 141.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/1.408, allocations: 122.1 kB / 0.8914 GB, free: 141.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/1.408, allocations: 82.31 kB / 0.8915 GB, free: 141.4 MB / 474.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.000737/1.409, allocations: 342.6 kB / 0.8918 GB, free: 141.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/1.409, allocations: 98.83 kB / 0.8919 GB, free: 141.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/1.422, allocations: 4.419 MB / 0.8962 GB, free: 139.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-05/1.422, allocations: 4.875 kB / 0.8962 GB, free: 139.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/1.422, allocations: 3.953 kB / 0.8962 GB, free: 139.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/1.423, allocations: 401.9 kB / 0.8966 GB, free: 138.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005223/1.423, allocations: 16.53 kB / 0.8966 GB, free: 138.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/1.426, allocations: 102 kB / 0.8967 GB, free: 138.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002986/1.426, allocations: 72.45 kB / 0.8968 GB, free: 138.7 MB / 474.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.001501/1.428, allocations: 454.1 kB / 0.8972 GB, free: 138.5 MB / 474.7 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed.