Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 104.8 kB / 19.77 MB, free: 2.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 197.1 kB / 22.95 MB, free: 5.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 207.6 MB / 233.6 MB, free: 11.11 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3332/0.3332, allocations: 49.52 MB / 335.2 MB, free: 4.691 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.WaterComponents.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPump") translateModel(ThermoPower.Test.WaterComponents.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.716e-05, allocations: 2.281 kB / 474.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.04329/0.04332, allocations: 35.11 MB / 0.498 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.05589, allocations: 8.636 MB / 0.5065 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006/0.05649, allocations: 11.94 kB / 0.5065 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006585/0.05715, allocations: 139 kB / 0.5066 GB, free: 1.469 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Test.mo:1770:19-1772:45:writable] Warning: Pure function 'ThermoPower.Test.WaterComponents.WaterPump.Pump.flowCharacteristic' contains a call to impure function 'Modelica.Math.Matrices.solve'. Notification: Performance of NFTyping.typeBindings: time 0.0009485/0.0581, allocations: 274.4 kB / 0.5069 GB, free: 1.199 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Test.mo:1773:19-1775:46:writable] Warning: Pure function 'ThermoPower.Test.WaterComponents.WaterPump.Pump.powerCharacteristic' contains a call to impure function 'Modelica.Math.Matrices.solve'. Notification: Performance of NFTyping.typeClassSections: time 0.01397/0.07207, allocations: 4.485 MB / 0.5113 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.07333, allocations: 0.7127 MB / 0.5119 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003767/0.07371, allocations: 209.2 kB / 0.5121 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009169/0.07462, allocations: 478.8 kB / 0.5126 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000289/0.07491, allocations: 219 kB / 0.5128 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.07495, allocations: 24 kB / 0.5128 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00993/0.08488, allocations: 5.728 MB / 0.5184 GB, free: 5.332 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.000689/0.08557, allocations: 0.6184 MB / 0.519 GB, free: 4.707 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002776/0.08585, allocations: 378.5 kB / 0.5194 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.08605, allocations: 67.75 kB / 0.5195 GB, free: 4.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.000116/0.08616, allocations: 4 kB / 0.5195 GB, free: 4.262 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 (56) * Number of variables: 60 (60) Notification: Performance of Bindings: time 0.001597/0.08776, allocations: 1.342 MB / 0.5208 GB, free: 2.797 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0001688/0.08793, allocations: 118.4 kB / 0.5209 GB, free: 2.684 MB / 398.1 MB Notification: Performance of Early Inline: time 0.001034/0.08896, allocations: 0.7802 MB / 0.5216 GB, free: 1.875 MB / 398.1 MB Notification: Performance of Simplify 1: time 0.0001936/0.08916, allocations: 139.7 kB / 0.5218 GB, free: 1.711 MB / 398.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of Alias: time 0.001893/0.09105, allocations: 1.152 MB / 0.5229 GB, free: 420 kB / 398.1 MB Notification: Performance of Simplify 2: time 0.0001613/0.09121, allocations: 116.3 kB / 0.523 GB, free: 276 kB / 398.1 MB Notification: Performance of Remove Stream: time 0.0001221/0.09133, allocations: 88.36 kB / 0.5231 GB, free: 160 kB / 398.1 MB Notification: Performance of Detect States: time 0.0003294/0.09166, allocations: 160.4 kB / 0.5233 GB, free: 15.96 MB / 414.1 MB Notification: Performance of Events: time 0.0002513/0.09191, allocations: 137.1 kB / 0.5234 GB, free: 15.82 MB / 414.1 MB Notification: Performance of Partitioning: time 0.000406/0.09232, allocations: 275.4 kB / 0.5236 GB, free: 15.53 MB / 414.1 MB Notification: Performance of Causalize: time 0.001251/0.09357, allocations: 0.812 MB / 0.5244 GB, free: 14.7 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005812/0.09415, allocations: 471.5 kB / 0.5249 GB, free: 14.23 MB / 414.1 MB Notification: Performance of Simplify: time 0.0005544/0.09471, allocations: 341.3 kB / 0.5252 GB, free: 13.85 MB / 414.1 MB Notification: Performance of Inline: time 0.001028/0.09573, allocations: 0.7346 MB / 0.5259 GB, free: 13.11 MB / 414.1 MB Notification: Performance of Partitioning: time 3.689e-05/0.09577, allocations: 18.38 kB / 0.526 GB, free: 13.09 MB / 414.1 MB Notification: Performance of Cleanup: time 0.0002721/0.09604, allocations: 240.9 kB / 0.5262 GB, free: 12.85 MB / 414.1 MB Notification: Performance of Causalize: time 0.002682/0.09872, allocations: 1.827 MB / 0.528 GB, free: 11 MB / 414.1 MB Error: Internal error NBEquation.Equation.getResidualExp failed for: [-IF-] (1) ($RES_SIM_22) [----] if noEvent($SEV_2) then [----] [SCAL] (1) Pump.head = (Pump.n / 1500.0) ^ 2.0 * ((1500.0 * Pump.q_single * (Modelica.Math.Matrices.solve({{1.0, 0.0, 0.0}, {1.0, 0.001, 1e-6}, {1.0, 0.0015, 2.25e-6}}, {60.0, 30.0, 0.0}))[2]) / (1e-6 + Pump.n) + (Modelica.Math.Matrices.solve({{1.0, 0.0, 0.0}, {1.0, 0.001, 1e-6}, {1.0, 0.0015, 2.25e-6}}, {60.0, 30.0, 0.0}))[1] + ((1500.0 * Pump.q_single) / (1e-6 + Pump.n)) ^ 2.0 * (Modelica.Math.Matrices.solve({{1.0, 0.0, 0.0}, {1.0, 0.001, 1e-6}, {1.0, 0.0015, 2.25e-6}}, {60.0, 30.0, 0.0}))[3]) ($RES_SIM_23) [----] else [----] [SCAL] (1) Pump.q_single = 0.0 ($RES_SIM_24) [----] end if; Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.305470888502896]