Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 105.4 kB / 16.38 MB, free: 5.965 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.001099/0.0011, allocations: 189.5 kB / 17.31 MB, free: 5.578 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7292/0.7292, allocations: 89.5 MB / 380.7 MB, free: 8.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.528e-05/3.567e-05, allocations: 2.281 kB / 459.6 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.447/0.4471, allocations: 214.1 MB / 0.6579 GB, free: 6.645 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0206/0.4677, allocations: 17.34 MB / 0.6748 GB, free: 5.262 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.4692, allocations: 19.88 kB / 0.6748 GB, free: 5.242 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.4715, allocations: 0.5977 MB / 0.6754 GB, free: 4.641 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005299/0.4769, allocations: 1.667 MB / 0.6771 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004739/0.4816, allocations: 1.673 MB / 0.6787 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002541/0.4842, allocations: 1.731 MB / 0.6804 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004887/0.4847, allocations: 284.5 kB / 0.6807 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002191/0.4869, allocations: 1.102 MB / 0.6817 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005923/0.4875, allocations: 0.5948 MB / 0.6823 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.4876, allocations: 96 kB / 0.6824 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006533/0.4942, allocations: 3.55 MB / 0.6859 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.001958/0.4961, allocations: 1.933 MB / 0.6878 GB, free: 8 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.0008476/0.497, allocations: 1.242 MB / 0.689 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.4974, allocations: 191.4 kB / 0.6892 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.0002432/0.4976, allocations: 31.81 kB / 0.6892 GB, free: 6.523 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 (209) * Number of variables: 227 (227) Notification: Performance of Bindings: time 0.004767/0.5024, allocations: 5.523 MB / 0.6946 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of FunctionAlias: time 0.0005155/0.5029, allocations: 462.7 kB / 0.695 GB, free: 388 kB / 0.4981 GB Notification: Performance of Early Inline: time 0.003344/0.5063, allocations: 3.272 MB / 0.6982 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simplify1: time 0.0002114/0.5065, allocations: 231.8 kB / 0.6984 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of Alias: time 0.004109/0.5106, allocations: 3.804 MB / 0.7021 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of simplify2: time 0.0001941/0.5108, allocations: 183.8 kB / 0.7023 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of Events: time 0.0003627/0.5112, allocations: 357 kB / 0.7027 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of Detect States: time 0.0006231/0.5118, allocations: 0.6412 MB / 0.7033 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.00101/0.5128, allocations: 0.9407 MB / 0.7042 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of Causalize: time 0.005415/0.5183, allocations: 5.582 MB / 0.7097 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of After Index Reduction Inline: time 0.002409/0.5207, allocations: 2.304 MB / 0.7119 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of Inline: time 0.004421/0.5251, allocations: 4.007 MB / 0.7158 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0002595/0.5254, allocations: 183.6 kB / 0.716 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of Cleanup: time 0.0001777/0.5256, allocations: 168.8 kB / 0.7162 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of Causalize: time 0.006489/0.5321, allocations: 6.947 MB / 0.7229 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of Tearing: time 0.0005596/0.5327, allocations: 0.6674 MB / 0.7236 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of Initialization: time 7.42e-07/0.5327, allocations: 0 / 0.7236 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of Tearing: time 0.0004581/0.5331, allocations: 0.6704 MB / 0.7242 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of Categorize: time 2.292e-05/0.5332, allocations: 4 kB / 0.7243 GB, free: 2.285 MB / 0.5294 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max