Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 111.3 kB / 18.46 MB, free: 4.613 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.001222/0.001222, allocations: 193.3 kB / 19.4 MB, free: 3.688 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.338/1.338, allocations: 222.9 MB / 243.1 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.2093/0.2093, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/2.859e-05, allocations: 2.281 kB / 471.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4547/0.4547, allocations: 183.1 MB / 0.6389 GB, free: 8.5 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005931/0.4607, allocations: 3.267 MB / 0.6421 GB, free: 5.223 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008003/0.4615, allocations: 15.88 kB / 0.6421 GB, free: 5.207 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.4627, allocations: 321.8 kB / 0.6424 GB, free: 4.891 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004104/0.4669, allocations: 1.391 MB / 0.6438 GB, free: 3.504 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.469, allocations: 0.735 MB / 0.6445 GB, free: 2.773 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002486/0.4715, allocations: 1.675 MB / 0.6461 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008939/0.4724, allocations: 471.3 kB / 0.6466 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/0.4737, allocations: 0.6463 MB / 0.6472 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009017/0.4746, allocations: 0.4942 MB / 0.6477 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.4748, allocations: 52 kB / 0.6477 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.4772, allocations: 1.209 MB / 0.6489 GB, free: 14.22 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.001137/0.4784, allocations: 1.138 MB / 0.65 GB, free: 13.07 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006408/0.479, allocations: 0.7245 MB / 0.6507 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00027/0.4793, allocations: 111.7 kB / 0.6508 GB, free: 12.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0001635/0.4795, allocations: 27.88 kB / 0.6509 GB, free: 12.21 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: 105 (99) * Number of variables: 105 (102) Notification: Performance of Bindings: time 0.003375/0.4829, allocations: 3.14 MB / 0.6539 GB, free: 8.941 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0002008/0.4831, allocations: 119.8 kB / 0.654 GB, free: 8.824 MB / 494.1 MB Notification: Performance of Early Inline: time 0.002627/0.4857, allocations: 2.064 MB / 0.6561 GB, free: 6.73 MB / 494.1 MB Notification: Performance of simplify1: time 0.0002852/0.486, allocations: 149.1 kB / 0.6562 GB, free: 6.586 MB / 494.1 MB Notification: Performance of Alias: time 0.002577/0.4886, allocations: 1.896 MB / 0.6581 GB, free: 4.523 MB / 494.1 MB Notification: Performance of simplify2: time 0.0002682/0.4889, allocations: 131.8 kB / 0.6582 GB, free: 4.395 MB / 494.1 MB Notification: Performance of Events: time 0.0006677/0.4896, allocations: 378.9 kB / 0.6585 GB, free: 4.035 MB / 494.1 MB Notification: Performance of Detect States: time 0.0005978/0.4902, allocations: 463.3 kB / 0.659 GB, free: 3.562 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0009104/0.4911, allocations: 0.7168 MB / 0.6597 GB, free: 2.707 MB / 494.1 MB Notification: Performance of Causalize: time 0.004225/0.4953, allocations: 3.85 MB / 0.6634 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of After Index Reduction Inline: time 0.002122/0.4975, allocations: 1.822 MB / 0.6652 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of Inline: time 0.004521/0.502, allocations: 3.421 MB / 0.6686 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.0001652/0.5022, allocations: 115.6 kB / 0.6687 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of Cleanup: time 0.0004002/0.5026, allocations: 159.7 kB / 0.6688 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of Causalize: time 0.006552/0.5091, allocations: 5.137 MB / 0.6738 GB, free: 4.199 MB / 0.4981 GB Error: Internal error NBVariable.getVarPointer failed for pow, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace. Error: Internal error NBInitialization.main failed to apply modules!