Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.MCV.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.FlowControl.Tests.MCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|mCV3.dp_int|mCV4.dp_int|mCV5.dp_int|mCV6.dp_int|pulse1.T_start|pulse1.count|pulse3.T_start|pulse3.count|pulse5.T_start|pulse5.count|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow|source6.outlet.m_flow|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count|trapezoid2.T_start|trapezoid2.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.MCV") translateModel(ThermofluidStream.FlowControl.Tests.MCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|mCV3.dp_int|mCV4.dp_int|mCV5.dp_int|mCV6.dp_int|pulse1.T_start|pulse1.count|pulse3.T_start|pulse3.count|pulse5.T_start|pulse5.count|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow|source6.outlet.m_flow|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count|trapezoid2.T_start|trapezoid2.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.MCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 107.1 kB / 16.37 MB, free: 6.363 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.001095/0.001095, allocations: 191.5 kB / 17.31 MB, free: 5.91 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.808/0.808, allocations: 89.5 MB / 380.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/2.957e-05, allocations: 2.281 kB / 459.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.MCV): time 0.4837/0.4838, allocations: 197.1 MB / 0.6412 GB, free: 8.078 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03304/0.5169, allocations: 24.09 MB / 0.6648 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002713/0.5197, allocations: 35.75 kB / 0.6648 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003284/0.523, allocations: 1.126 MB / 0.6659 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007496/0.5305, allocations: 2.407 MB / 0.6683 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005663/0.5362, allocations: 1.884 MB / 0.6701 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006099/0.5423, allocations: 3.705 MB / 0.6737 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.5435, allocations: 0.5497 MB / 0.6743 GB, free: 6.191 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003649/0.5472, allocations: 1.447 MB / 0.6757 GB, free: 4.738 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002528/0.5497, allocations: 1.529 MB / 0.6772 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004414/0.5502, allocations: 188 kB / 0.6773 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008969/0.5592, allocations: 3.642 MB / 0.6809 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.003452/0.5627, allocations: 3.96 MB / 0.6848 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.001629/0.5643, allocations: 2.473 MB / 0.6872 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007559/0.5651, allocations: 386.8 kB / 0.6875 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.0005436/0.5656, allocations: 67.69 kB / 0.6876 GB, free: 8.418 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: 395 (375) * Number of variables: 395 (395) Notification: Performance of Bindings: time 0.01065/0.5763, allocations: 10.55 MB / 0.6979 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.001635/0.5779, allocations: 1.231 MB / 0.6991 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.006657/0.5846, allocations: 5.668 MB / 0.7047 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of simplify1: time 0.0005632/0.5852, allocations: 435.5 kB / 0.7051 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of Alias: time 0.009743/0.5949, allocations: 7.216 MB / 0.7121 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of simplify2: time 0.0006687/0.5957, allocations: 347.6 kB / 0.7124 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of Events: time 0.001227/0.5969, allocations: 1.043 MB / 0.7135 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of Detect States: time 0.001661/0.5986, allocations: 1.338 MB / 0.7148 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.002253/0.6008, allocations: 1.61 MB / 0.7163 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of Causalize: time 0.009054/0.6099, allocations: 8.952 MB / 0.7251 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of After Index Reduction Inline: time 0.3713/0.9813, allocations: 3.617 MB / 0.7286 GB, free: 42.72 MB / 0.5294 GB Notification: Performance of Inline: time 0.009537/0.9909, allocations: 7.83 MB / 0.7363 GB, free: 42.21 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0007612/0.9917, allocations: 372 kB / 0.7366 GB, free: 42.13 MB / 0.5294 GB Notification: Performance of Cleanup: time 0.0006689/0.9924, allocations: 289.9 kB / 0.7369 GB, free: 42.13 MB / 0.5294 GB Notification: Performance of Causalize: time 0.0165/1.009, allocations: 14.52 MB / 0.7511 GB, free: 40.89 MB / 0.5294 GB Notification: Performance of Tearing: time 0.001526/1.01, allocations: 2.066 MB / 0.7531 GB, free: 39.34 MB / 0.5294 GB Notification: Performance of Initialization: time 1.853e-06/1.01, allocations: 3.906 kB / 0.7531 GB, free: 39.34 MB / 0.5294 GB Notification: Performance of Tearing: time 0.001333/1.012, allocations: 2.07 MB / 0.7551 GB, free: 37.78 MB / 0.5294 GB Notification: Performance of Categorize: time 5.059e-05/1.012, allocations: 14.06 kB / 0.7551 GB, free: 37.78 MB / 0.5294 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max