Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.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.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|SourceP1.ports.2..m_flow|SourceP1.ports.2..p|SourceP1.ports.2..h_outflow|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|SourceP2.ports.2..m_flow|SourceP2.ports.2..p|SourceP2.ports.2..h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|V5.port_b.m_flow|V5.port_b.p|V5.port_b.h_outflow|V5.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|CloseLoad.y|OpenRelief.y|CloseValves.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|SourceP1.ports.2..m_flow|SourceP1.ports.2..p|SourceP1.ports.2..h_outflow|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|SourceP2.ports.2..m_flow|SourceP2.ports.2..p|SourceP2.ports.2..h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|V5.port_b.m_flow|V5.port_b.p|V5.port_b.h_outflow|V5.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|CloseLoad.y|OpenRelief.y|CloseValves.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001186, allocations: 112.5 kB / 18.47 MB, free: 4.605 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.00127/0.00127, allocations: 189.4 kB / 19.4 MB, free: 3.68 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.372/1.372, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2308/0.2308, allocations: 44.2 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/2.978e-05, allocations: 5.656 kB / 471.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse): time 0.341/0.341, allocations: 51.71 MB / 0.5106 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01299/0.3541, allocations: 7.377 MB / 0.5178 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/0.356, allocations: 42.66 kB / 0.5179 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.3576, allocations: 0.5173 MB / 0.5184 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008293/0.3659, allocations: 3.174 MB / 0.5215 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005266/0.3712, allocations: 2.182 MB / 0.5236 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00548/0.3767, allocations: 3.126 MB / 0.5266 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.3784, allocations: 0.998 MB / 0.5276 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007224/0.3857, allocations: 4.369 MB / 0.5319 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003956/0.3896, allocations: 2.549 MB / 0.5344 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002925/0.39, allocations: 108.1 kB / 0.5345 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005165/0.3951, allocations: 2.909 MB / 0.5373 GB, free: 6.477 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001644/0.3968, allocations: 2.344 MB / 0.5396 GB, free: 4.945 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006772/0.3975, allocations: 1.464 MB / 0.541 GB, free: 3.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003772/0.3979, allocations: 232.5 kB / 0.5413 GB, free: 3.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0003141/0.3982, allocations: 48.72 kB / 0.5413 GB, free: 3.809 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 (195) * Number of variables: 209 (203) Notification: Performance of Bindings: time 0.004437/0.4026, allocations: 6.119 MB / 0.5473 GB, free: 14.38 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0005262/0.4032, allocations: 418.1 kB / 0.5477 GB, free: 14.01 MB / 398.1 MB Notification: Performance of Early Inline: time 0.005201/0.4084, allocations: 5.341 MB / 0.5529 GB, free: 8.805 MB / 398.1 MB Notification: Performance of simplify1: time 0.0004402/0.4088, allocations: 437.1 kB / 0.5533 GB, free: 8.398 MB / 398.1 MB Notification: Performance of Alias: time 0.005477/0.4143, allocations: 4.702 MB / 0.5579 GB, free: 3.324 MB / 398.1 MB Notification: Performance of simplify2: time 0.0005753/0.4149, allocations: 390.2 kB / 0.5583 GB, free: 2.961 MB / 398.1 MB Notification: Performance of Detect States: time 0.0008099/0.4157, allocations: 0.8835 MB / 0.5591 GB, free: 2.09 MB / 398.1 MB Notification: Performance of Events: time 0.001521/0.4173, allocations: 1.262 MB / 0.5604 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of Partitioning: time 0.001695/0.419, allocations: 1.639 MB / 0.562 GB, free: 15 MB / 414.1 MB Notification: Performance of Causalize: time 0.007855/0.4268, allocations: 6.865 MB / 0.5687 GB, free: 7.879 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.004654/0.4315, allocations: 4.751 MB / 0.5733 GB, free: 3.223 MB / 414.1 MB Notification: Performance of Inline: time 0.007557/0.4391, allocations: 7.333 MB / 0.5805 GB, free: 11.94 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0003332/0.4394, allocations: 244.7 kB / 0.5807 GB, free: 11.67 MB / 430.1 MB Notification: Performance of Cleanup: time 0.0009336/0.4404, allocations: 0.8118 MB / 0.5815 GB, free: 10.88 MB / 430.1 MB Notification: Performance of Causalize: time 0.01874/0.4591, allocations: 16.21 MB / 0.5973 GB, free: 10.46 MB / 446.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min Error: Internal error NBInitialization.main failed to apply modules!