Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Pump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 104.3 kB / 19.77 MB, free: 2.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 215.7 kB / 23.07 MB, free: 4.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.586/1.586, allocations: 230.7 MB / 256.9 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.9095/0.9095, allocations: 100.9 MB / 414.2 MB, free: 2.855 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.Pump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pump.m_flow|pump1.m_flow|pump1.omega|pump1.phi|pump2.m_flow|pump3.m_flow|pump3.omega|pump3.phi|pump4.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Pump") translateModel(ThermofluidStream.Processes.Tests.Pump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pump.m_flow|pump1.m_flow|pump1.omega|pump1.phi|pump2.m_flow|pump3.m_flow|pump3.omega|pump3.phi|pump4.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Pump") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.416e-05, allocations: 2.281 kB / 0.5654 GB, free: 35.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Pump): time 0.073/0.07303, allocations: 60.84 MB / 0.6248 GB, free: 3.555 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03614/0.1092, allocations: 24.4 MB / 0.6486 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/0.1112, allocations: 55.5 kB / 0.6486 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.1132, allocations: 464.7 kB / 0.6491 GB, free: 10.56 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005365/0.1186, allocations: 1.274 MB / 0.6503 GB, free: 9.277 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005724/0.1243, allocations: 1.633 MB / 0.6519 GB, free: 7.645 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003747/0.1281, allocations: 2.036 MB / 0.6539 GB, free: 5.602 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007696/0.1288, allocations: 208 kB / 0.6541 GB, free: 5.391 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0561/0.1849, allocations: 20.55 MB / 0.6742 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001673/0.1866, allocations: 0.6648 MB / 0.6748 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004289/0.187, allocations: 104 kB / 0.6749 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5636/0.7507, allocations: 126.7 MB / 0.7987 GB, free: 86.06 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.002472/0.7531, allocations: 2.579 MB / 0.8012 GB, free: 85.2 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.001062/0.7542, allocations: 1.63 MB / 0.8028 GB, free: 84.29 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003265/0.7545, allocations: 101.6 kB / 0.8029 GB, free: 84.29 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0003526/0.7549, allocations: 104.7 kB / 0.803 GB, free: 84.27 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 (204) * Number of variables: 248 (206) Notification: Performance of [SIM] Bindings: time 0.005032/0.7599, allocations: 6.128 MB / 0.809 GB, free: 80.71 MB / 0.5762 GB Notification: Performance of [SIM] FunctionAlias: time 0.001015/0.7609, allocations: 0.8412 MB / 0.8098 GB, free: 80.21 MB / 0.5762 GB Notification: Performance of [SIM] Early Inline: time 0.003719/0.7646, allocations: 4.18 MB / 0.8139 GB, free: 78.03 MB / 0.5762 GB Notification: Performance of [SIM] Simplify 1: time 0.001247/0.7659, allocations: 0.7661 MB / 0.8146 GB, free: 77.31 MB / 0.5762 GB Notification: Performance of [SIM] Alias: time 0.004403/0.7703, allocations: 3.943 MB / 0.8185 GB, free: 74.17 MB / 0.5762 GB Notification: Performance of [SIM] Simplify 2: time 0.0008741/0.7712, allocations: 0.6511 MB / 0.8191 GB, free: 73.48 MB / 0.5762 GB Notification: Performance of [SIM] Remove Stream: time 0.0003176/0.7715, allocations: 346 kB / 0.8194 GB, free: 73.12 MB / 0.5762 GB Notification: Performance of [SIM] Detect States: time 0.0007253/0.7722, allocations: 0.8695 MB / 0.8203 GB, free: 72.23 MB / 0.5762 GB Notification: Performance of [SIM] Events: time 0.0002345/0.7724, allocations: 185.7 kB / 0.8205 GB, free: 72.05 MB / 0.5762 GB Notification: Performance of [SIM] Partitioning: time 0.001156/0.7736, allocations: 1.422 MB / 0.8219 GB, free: 70.65 MB / 0.5762 GB Notification: Performance of [SIM] Causalize: time 0.006801/0.7804, allocations: 6.299 MB / 0.828 GB, free: 64.5 MB / 0.5762 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001848/0.7822, allocations: 2.797 MB / 0.8307 GB, free: 61.74 MB / 0.5762 GB Notification: Performance of [INI] Simplify: time 0.002091/0.7843, allocations: 1.496 MB / 0.8322 GB, free: 60.2 MB / 0.5762 GB Notification: Performance of [INI] Inline: time 0.003298/0.7876, allocations: 4.971 MB / 0.837 GB, free: 55.31 MB / 0.5762 GB Notification: Performance of [INI] Partitioning: time 0.0001656/0.7878, allocations: 68.06 kB / 0.8371 GB, free: 55.22 MB / 0.5762 GB Notification: Performance of [INI] Cleanup: time 0.0005782/0.7884, allocations: 0.7142 MB / 0.8378 GB, free: 54.53 MB / 0.5762 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) 0.0 = pump.omega_dot_0 ($RES_SIM_9); Notification: Performance of [INI] Causalize: time 0.00947/0.7978, allocations: 8.569 MB / 0.8462 GB, free: 46.05 MB / 0.5762 GB Notification: Performance of [INI] Tearing: time 0.0006587/0.7985, allocations: 0.6359 MB / 0.8468 GB, free: 45.41 MB / 0.5762 GB Notification: Performance of [SIM] Initialization: time 1.272e-06/0.7985, allocations: 0 / 0.8468 GB, free: 45.41 MB / 0.5762 GB Notification: Performance of [SIM] DAE-Mode: time 0.001308/0.7998, allocations: 1.018 MB / 0.8478 GB, free: 44.47 MB / 0.5762 GB Notification: Performance of [SIM] Remove Dummies: time 1.318e-05/0.7998, allocations: 1.312 kB / 0.8478 GB, free: 44.47 MB / 0.5762 GB Notification: Performance of [SIM] Tearing: time 0.0002888/0.8001, allocations: 443 kB / 0.8482 GB, free: 44.05 MB / 0.5762 GB Notification: Performance of [SIM] Categorize: time 2.054e-05/0.8001, allocations: 8 kB / 0.8482 GB, free: 44.04 MB / 0.5762 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [TUPL] (2) (pump.dp, pump.tau_st) = ThermofluidStream.Processes.Tests.Pump.pump.dp_tau(pump.m_flow, const.k, pump.inlet.state, pump.m_flow_reg, pump.omega_reg, pump.rho_min, true, 3.661, 0.00306, 314.2, 9.73e-6, 1, 0.016, 1000.0, 4.864e-5, -2.677, 396700.0, 0.5427, 27770.0, 1.218e-6, 1.832e-4, 100.0) ($RES_AUX_273) Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Sliced Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------- ### Variable: pump.tau_st ### Equation: [TUPL] (2) (pump.dp, pump.tau_st) = ThermofluidStream.Processes.Tests.Pump.pump.dp_tau(pump.m_flow, const.k, pump.inlet.state, pump.m_flow_reg, pump.omega_reg, pump.rho_min, true, 3.661, 0.00306, 314.2, 9.73e-6, 1, 0.016, 1000.0, 4.864e-5, -2.677, 396700.0, 0.5427, 27770.0, 1.218e-6, 1.832e-4, 100.0) ($RES_AUX_273) slice: {1} " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.578576300002169] Failed to read output from testmodel.py, exit status != 0: 0.8093838859931566 0.817993083 0.060521763000000006 Calling exit ...