Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 102.3 kB / 18.46 MB, free: 4.617 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.001075/0.001075, allocations: 192.3 kB / 19.39 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2277/0.2277, allocations: 44.2 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.993e-05/3.994e-05, allocations: 2.281 kB / 471.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4666/0.4666, allocations: 181.1 MB / 0.637 GB, free: 10.42 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006373/0.4731, allocations: 4.601 MB / 0.6415 GB, free: 5.809 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007787/0.4739, allocations: 15.88 kB / 0.6415 GB, free: 5.793 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.4751, allocations: 341.7 kB / 0.6418 GB, free: 5.457 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00502/0.4801, allocations: 1.779 MB / 0.6436 GB, free: 3.68 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.4826, allocations: 0.9447 MB / 0.6445 GB, free: 2.746 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00271/0.4853, allocations: 1.897 MB / 0.6464 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007354/0.486, allocations: 479.1 kB / 0.6468 GB, free: 384 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.4879, allocations: 0.9423 MB / 0.6477 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000795/0.4887, allocations: 0.5411 MB / 0.6483 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.171e-05/0.4889, allocations: 56 kB / 0.6483 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002868/0.4917, allocations: 1.307 MB / 0.6496 GB, free: 13.52 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.001018/0.4928, allocations: 1.246 MB / 0.6508 GB, free: 12.27 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004916/0.4933, allocations: 0.7805 MB / 0.6516 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.4934, allocations: 131.7 kB / 0.6517 GB, free: 11.35 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.000195/0.4936, allocations: 27.88 kB / 0.6517 GB, free: 11.32 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 (106) * Number of variables: 112 (112) Notification: Performance of Bindings: time 0.00325/0.4969, allocations: 3.417 MB / 0.6551 GB, free: 7.781 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0002218/0.4971, allocations: 151.7 kB / 0.6552 GB, free: 7.633 MB / 494.1 MB Notification: Performance of Early Inline: time 0.002364/0.4995, allocations: 2.197 MB / 0.6573 GB, free: 5.398 MB / 494.1 MB Notification: Performance of simplify1: time 0.0002287/0.4997, allocations: 159.8 kB / 0.6575 GB, free: 5.242 MB / 494.1 MB Notification: Performance of Alias: time 0.003132/0.5029, allocations: 2.029 MB / 0.6595 GB, free: 3.031 MB / 494.1 MB Notification: Performance of simplify2: time 0.0001889/0.5031, allocations: 151.8 kB / 0.6596 GB, free: 2.883 MB / 494.1 MB Notification: Performance of Events: time 0.0005743/0.5037, allocations: 395.2 kB / 0.66 GB, free: 2.496 MB / 494.1 MB Notification: Performance of Detect States: time 0.000584/0.5043, allocations: 0.511 MB / 0.6605 GB, free: 1.969 MB / 494.1 MB Notification: Performance of Partitioning: time 0.001046/0.5053, allocations: 0.7979 MB / 0.6613 GB, free: 1.043 MB / 494.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 1 for type Boolean is invalid. Error: Internal error NBSlice.resolveDependency failed for: IN_mflow.ports[1].m_flow. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) $SEV_0 = abs(sum({abs(IN_mflow.ports[1].m_flow)}) - abs(IN_mflow.ports[1].m_flow)) <= 1e-60 ($RES_EVT_148)