Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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.001527/0.001527, allocations: 110.4 kB / 18.34 MB, free: 4.055 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.001489/0.001489, allocations: 188.5 kB / 21.51 MB, free: 0.8945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.6 MB / 250.1 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.841/2.841, allocations: 496.2 MB / 0.7826 GB, free: 12.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.com.port_a.T|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.com.port_b.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.com.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.com.port_a.T|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.com.port_b.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.com.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.352e-05, allocations: 4.391 kB / 1.137 GB, free: 12.57 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.07354/0.07356, allocations: 71.2 MB / 1.206 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02221/0.09577, allocations: 14.56 MB / 1.22 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002685/0.09846, allocations: 71.56 kB / 1.22 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002471/0.1009, allocations: 0.9668 MB / 1.221 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007274/0.1082, allocations: 2.662 MB / 1.224 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005145/0.1133, allocations: 2.006 MB / 1.226 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007502/0.1208, allocations: 5.637 MB / 1.231 GB, free: 11.17 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002605/0.1235, allocations: 1.517 MB / 1.233 GB, free: 9.609 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005108/0.1286, allocations: 2.328 MB / 1.235 GB, free: 7.281 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002393/0.131, allocations: 1.397 MB / 1.236 GB, free: 5.879 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003232/0.1313, allocations: 191.9 kB / 1.237 GB, free: 5.691 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004253/0.1355, allocations: 2.094 MB / 1.239 GB, free: 3.594 MB / 1.014 GB Notification: Performance of combineBinaries: time 0.003315/0.1388, allocations: 3.619 MB / 1.242 GB, free: 15.94 MB / 1.029 GB Notification: Performance of replaceArrayConstructors: time 0.001657/0.1405, allocations: 2.1 MB / 1.244 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005623/0.1411, allocations: 359.1 kB / 1.245 GB, free: 13.47 MB / 1.029 GB Notification: Performance of FrontEnd: time 0.0005321/0.1416, allocations: 63.73 kB / 1.245 GB, free: 13.41 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 (278) * Number of variables: 294 (280) Notification: Performance of Bindings: time 0.00702/0.1486, allocations: 6.968 MB / 1.251 GB, free: 6.121 MB / 1.029 GB Notification: Performance of FunctionAlias: time 0.0008172/0.1494, allocations: 0.769 MB / 1.252 GB, free: 5.352 MB / 1.029 GB Notification: Performance of Early Inline: time 0.004038/0.1535, allocations: 3.739 MB / 1.256 GB, free: 1.551 MB / 1.029 GB Notification: Performance of Simplify 1: time 0.0009575/0.1544, allocations: 0.5957 MB / 1.256 GB, free: 0.8945 MB / 1.029 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of Alias: time 0.00969/0.1641, allocations: 6.745 MB / 1.263 GB, free: 9.527 MB / 1.045 GB Notification: Performance of Simplify 2: time 0.0007353/0.1649, allocations: 428.4 kB / 1.263 GB, free: 9.07 MB / 1.045 GB Notification: Performance of Remove Stream: time 0.000442/0.1653, allocations: 400.5 kB / 1.264 GB, free: 8.641 MB / 1.045 GB Notification: Performance of Detect States: time 0.0007878/0.1661, allocations: 0.6534 MB / 1.264 GB, free: 7.945 MB / 1.045 GB Notification: Performance of Events: time 0.0008462/0.1669, allocations: 0.6303 MB / 1.265 GB, free: 7.309 MB / 1.045 GB Notification: Performance of Partitioning: time 0.001405/0.1683, allocations: 1.289 MB / 1.266 GB, free: 5.879 MB / 1.045 GB Notification: Performance of Causalize: time 0.005604/0.1739, allocations: 4.386 MB / 1.271 GB, free: 1.324 MB / 1.045 GB Notification: Performance of After Index Reduction Inline: time 0.002079/0.176, allocations: 1.924 MB / 1.273 GB, free: 15.39 MB / 1.061 GB Notification: Performance of Simplify: time 0.003127/0.1791, allocations: 1.969 MB / 1.274 GB, free: 13.24 MB / 1.061 GB Notification: Performance of Inline: time 0.00381/0.183, allocations: 3.655 MB / 1.278 GB, free: 9.562 MB / 1.061 GB Notification: Performance of Partitioning: time 0.0001818/0.1831, allocations: 91.88 kB / 1.278 GB, free: 9.438 MB / 1.061 GB Notification: Performance of Cleanup: time 0.001062/0.1842, allocations: 1.13 MB / 1.279 GB, free: 8.297 MB / 1.061 GB Notification: Performance of Causalize: time 0.6962/0.8804, allocations: 12.38 MB / 1.291 GB, free: 103.2 MB / 1.061 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [-IF-] (1) ($RES_SIM_61) [----] if heaPum.com.isOn then [----] [SCAL] (1) heaPum.com.pSuc = smooth(1, if $SEV_0 then heaPum.com.pEva - heaPum.com.pDro else if $SEV_1 then heaPum.com.pCon - heaPum.com.pDro else 0.25 * ((heaPum.com.pDro + heaPum.com.pCon) - (heaPum.com.pEva + heaPum.com.pDro)) * ((-3.0) + (((heaPum.com.pDro + heaPum.com.pCon) - (heaPum.com.pEva + heaPum.com.pDro)) / 49261.0) ^ 2.0) * (2.030003451005867e-5 * ((heaPum.com.pCon + heaPum.com.pDro) - (heaPum.com.pDro + heaPum.com.pEva))) + 0.5 * ((heaPum.com.pEva + heaPum.com.pCon) - (heaPum.com.pDro + heaPum.com.pDro))) ($RES_SIM_62) [----] else [----] [SCAL] (1) heaPum.com.k = 1.0 ($RES_SIM_63) [----] end if; Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 299] [Calling sys.exit(0), Time elapsed: 6.850974055938423]