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.00167/0.00167, allocations: 108.6 kB / 18.46 MB, free: 4.59 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.002063/0.002063, allocations: 181.2 kB / 19.39 MB, free: 3.672 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.396/1.396, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2365/0.2365, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.413e-05, allocations: 2.281 kB / 471.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4261/0.4261, allocations: 181.1 MB / 0.637 GB, free: 10.39 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007103/0.4333, allocations: 4.599 MB / 0.6415 GB, free: 5.777 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006499/0.434, allocations: 19.88 kB / 0.6415 GB, free: 5.758 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009681/0.4349, allocations: 329.8 kB / 0.6418 GB, free: 5.434 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004558/0.4395, allocations: 1.805 MB / 0.6436 GB, free: 3.629 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.4418, allocations: 0.9451 MB / 0.6445 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002191/0.444, allocations: 1.901 MB / 0.6464 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008536/0.4449, allocations: 479.1 kB / 0.6468 GB, free: 324 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.4468, allocations: 0.9463 MB / 0.6478 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009985/0.4478, allocations: 0.5488 MB / 0.6483 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.4479, allocations: 56 kB / 0.6484 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.4502, allocations: 1.306 MB / 0.6496 GB, free: 13.46 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.001058/0.4513, allocations: 1.242 MB / 0.6508 GB, free: 12.2 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006941/0.452, allocations: 0.7891 MB / 0.6516 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.4523, allocations: 127.6 kB / 0.6517 GB, free: 11.28 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0001547/0.4525, allocations: 27.88 kB / 0.6518 GB, free: 11.25 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.003512/0.456, allocations: 3.42 MB / 0.6551 GB, free: 7.711 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0002439/0.4562, allocations: 152.5 kB / 0.6552 GB, free: 7.562 MB / 494.1 MB Notification: Performance of Early Inline: time 0.002476/0.4587, allocations: 2.201 MB / 0.6574 GB, free: 5.324 MB / 494.1 MB Notification: Performance of simplify1: time 0.0002306/0.459, allocations: 151.8 kB / 0.6575 GB, free: 5.176 MB / 494.1 MB Notification: Performance of Alias: time 0.002571/0.4615, allocations: 2.028 MB / 0.6595 GB, free: 2.961 MB / 494.1 MB Notification: Performance of simplify2: time 0.0002521/0.4618, allocations: 151.8 kB / 0.6597 GB, free: 2.812 MB / 494.1 MB Notification: Performance of Detect States: time 0.0005375/0.4623, allocations: 467.3 kB / 0.6601 GB, free: 2.34 MB / 494.1 MB Notification: Performance of Events: time 0.0006169/0.463, allocations: 391.1 kB / 0.6605 GB, free: 1.957 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0009453/0.4639, allocations: 0.8018 MB / 0.6613 GB, free: 1.027 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)