Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.Undirected.FlowControl.Tests.MCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="Time|boundaryFore10.rear.m_flow|boundaryFore11.rear.m_flow|boundaryFore6.rear.m_flow|boundaryFore7.rear.m_flow|boundaryFore8.rear.m_flow|boundaryRear.fore.m_flow|boundaryRear2.fore.m_flow|boundaryRear3.fore.m_flow|boundaryRear6.fore.m_flow|boundaryRear7.fore.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|mCV3.dp_int|mCV4.dp_int|mCV5.dp_int|mCV6.dp_int|mCV7.dp_int|mCV8.dp_int|mCV9.dp_int|pulse1.T_start|pulse1.count|pulse3.T_start|pulse3.count|pulse5.T_start|pulse5.count|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count|trapezoid2.T_start|trapezoid2.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.MCV") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.MCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="Time|boundaryFore10.rear.m_flow|boundaryFore11.rear.m_flow|boundaryFore6.rear.m_flow|boundaryFore7.rear.m_flow|boundaryFore8.rear.m_flow|boundaryRear.fore.m_flow|boundaryRear2.fore.m_flow|boundaryRear3.fore.m_flow|boundaryRear6.fore.m_flow|boundaryRear7.fore.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|mCV3.dp_int|mCV4.dp_int|mCV5.dp_int|mCV6.dp_int|mCV7.dp_int|mCV8.dp_int|mCV9.dp_int|pulse1.T_start|pulse1.count|pulse3.T_start|pulse3.count|pulse5.T_start|pulse5.count|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count|trapezoid2.T_start|trapezoid2.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.MCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001662, allocations: 111.2 kB / 16.42 MB, free: 6.43 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.001582/0.001583, allocations: 188.2 kB / 17.36 MB, free: 5.723 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.642/1.642, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9332/0.9332, allocations: 91.19 MB / 382.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.378e-05/3.379e-05, allocations: 2.281 kB / 0.5175 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.MCV): time 1.429/1.429, allocations: 231.4 MB / 0.7434 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04858/1.478, allocations: 28.51 MB / 0.7712 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01057/1.488, allocations: 156.1 kB / 0.7714 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01102/1.5, allocations: 1.836 MB / 0.7732 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.02699/1.527, allocations: 4.589 MB / 0.7777 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01688/1.544, allocations: 3.22 MB / 0.7808 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02562/1.569, allocations: 7.823 MB / 0.7885 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005207/1.574, allocations: 1.045 MB / 0.7895 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01798/1.593, allocations: 3.355 MB / 0.7928 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01259/1.605, allocations: 3.177 MB / 0.7959 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003785/1.609, allocations: 344.2 kB / 0.7962 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02659/1.636, allocations: 5.313 MB / 0.8014 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.02073/1.656, allocations: 7.743 MB / 0.8089 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.009638/1.666, allocations: 5.079 MB / 0.8139 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005996/1.672, allocations: 0.7672 MB / 0.8146 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.003083/1.675, allocations: 380.1 kB / 0.815 GB, free: 7.867 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 847 (795) * Number of variables: 847 (847) Notification: Performance of Bindings: time 0.04932/1.725, allocations: 21.05 MB / 0.8356 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of FunctionAlias: time 0.005705/1.73, allocations: 2.559 MB / 0.8381 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of Early Inline: time 0.03488/1.765, allocations: 16.1 MB / 0.8538 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of simplify1: time 0.003806/1.769, allocations: 1.251 MB / 0.855 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of Alias: time 0.03179/1.801, allocations: 16.04 MB / 0.8707 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of simplify2: time 0.003768/1.805, allocations: 1.118 MB / 0.8718 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of Events: time 0.008093/1.813, allocations: 3.223 MB / 0.8749 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of Detect States: time 0.006824/1.82, allocations: 3.384 MB / 0.8782 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of Partitioning: time 0.008481/1.828, allocations: 4.509 MB / 0.8826 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of Causalize: time 0.0274/1.856, allocations: 18.47 MB / 0.9007 GB, free: 10.55 MB / 0.67 GB Notification: Performance of After Index Reduction Inline: time 0.02407/1.88, allocations: 11.06 MB / 0.9115 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of Inline: time 0.05551/1.936, allocations: 21.06 MB / 0.932 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of Partitioning: time 0.002909/1.939, allocations: 0.7937 MB / 0.9328 GB, free: 9.531 MB / 0.7012 GB Notification: Performance of Cleanup: time 0.003701/1.942, allocations: 0.8918 MB / 0.9337 GB, free: 8.652 MB / 0.7012 GB Notification: Performance of Causalize: time 0.08029/2.023, allocations: 27.1 MB / 0.9601 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of Tearing: time 0.003209/2.026, allocations: 2.914 MB / 0.963 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of Initialization: time 3.377e-06/2.026, allocations: 0 / 0.963 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of Tearing: time 0.002893/2.029, allocations: 2.913 MB / 0.9658 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of Categorize: time 0.0002162/2.029, allocations: 24 kB / 0.9658 GB, free: 6.711 MB / 0.7325 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Single Strong Component (status = Solve.UNPROCESSED) ------------------------------------------------------------- ### Variable: Real $DER.mCV.dp_int ### Equation: [SCAL] (1) (mCV.TC / mCV.k1) * $DER.mCV.dp_int = (max(-1e8, min(1e8, mCV.dr)) + mCV.dp_corr) - mCV.dr_set ($RES_SIM_400)