Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.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.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|orifice1.port_b.m_flow|orifice1.port_b.p|orifice1.port_b.h_outflow|orifice2.port_b.m_flow|orifice2.port_b.p|orifice2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|orifice1.port_b.m_flow|orifice1.port_b.p|orifice1.port_b.h_outflow|orifice2.port_b.m_flow|orifice2.port_b.p|orifice2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 110.3 kB / 18.4 MB, free: 4.777 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.001147/0.001147, allocations: 196.6 kB / 19.34 MB, free: 3.848 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.289/1.289, allocations: 222.9 MB / 243 MB, free: 15.16 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.187/0.187, allocations: 44.19 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.709e-05, allocations: 6.219 kB / 409.8 MB, free: 26.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice): time 0.3462/0.3462, allocations: 176.5 MB / 0.5726 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005012/0.3513, allocations: 3.761 MB / 0.5762 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006501/0.3519, allocations: 17.28 kB / 0.5762 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009044/0.3528, allocations: 332.5 kB / 0.5766 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003332/0.3562, allocations: 1.359 MB / 0.5779 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.3586, allocations: 1.068 MB / 0.5789 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001877/0.3605, allocations: 1.729 MB / 0.5806 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005743/0.3611, allocations: 453.3 kB / 0.581 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000826/0.362, allocations: 0.6441 MB / 0.5817 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005513/0.3625, allocations: 0.4961 MB / 0.5822 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.981e-05/0.3626, allocations: 52 kB / 0.5822 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.3652, allocations: 1.353 MB / 0.5835 GB, free: 11.5 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0009685/0.3662, allocations: 1.243 MB / 0.5847 GB, free: 10.28 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005098/0.3667, allocations: 0.7869 MB / 0.5855 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.3669, allocations: 123.6 kB / 0.5856 GB, free: 9.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0001283/0.367, allocations: 19.94 kB / 0.5857 GB, free: 9.359 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 (100) * Number of variables: 110 (107) Notification: Performance of Bindings: time 0.003145/0.3702, allocations: 3.336 MB / 0.5889 GB, free: 5.949 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0003058/0.3705, allocations: 221.2 kB / 0.5891 GB, free: 5.754 MB / 398.1 MB Notification: Performance of Early Inline: time 0.002307/0.3728, allocations: 2.217 MB / 0.5913 GB, free: 3.551 MB / 398.1 MB Notification: Performance of simplify1: time 0.0001372/0.3729, allocations: 153.3 kB / 0.5914 GB, free: 3.406 MB / 398.1 MB Notification: Performance of Alias: time 0.002106/0.375, allocations: 1.926 MB / 0.5933 GB, free: 1.305 MB / 398.1 MB Notification: Performance of simplify2: time 0.0001244/0.3752, allocations: 145 kB / 0.5935 GB, free: 1.168 MB / 398.1 MB Notification: Performance of Events: time 0.000478/0.3757, allocations: 377.5 kB / 0.5938 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of Detect States: time 0.000507/0.3762, allocations: 0.4998 MB / 0.5943 GB, free: 320 kB / 398.1 MB Notification: Performance of Partitioning: time 0.0008049/0.377, allocations: 0.8158 MB / 0.5951 GB, free: 15.33 MB / 414.1 MB Notification: Performance of Causalize: time 0.003917/0.3809, allocations: 4.232 MB / 0.5992 GB, free: 11.06 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.001488/0.3824, allocations: 1.587 MB / 0.6008 GB, free: 9.461 MB / 414.1 MB Notification: Performance of Inline: time 0.003504/0.3859, allocations: 3.649 MB / 0.6043 GB, free: 5.797 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0001552/0.3861, allocations: 143.6 kB / 0.6045 GB, free: 5.645 MB / 414.1 MB Notification: Performance of Cleanup: time 0.0003664/0.3865, allocations: 405.6 kB / 0.6049 GB, free: 5.254 MB / 414.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [TUPL] (4) ($FUN_7, $FUN_8, $FUN_9, $FUN_10) = ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.p_table.getInterpolationCoefficients(p_table.table, p_table.offset, p_table.startTime, time, p_table.last, 1e-13, p_table.shiftTime) ($RES_$AUX_117) slice: {3}; Notification: Performance of Causalize: time 0.02136/0.4078, allocations: 24.31 MB / 0.6286 GB, free: 13.84 MB / 446.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min Error: Internal error NBInitialization.main failed to apply modules!