Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.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.001507/0.001507, 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.001618/0.001618, allocations: 219.4 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.355/1.355, allocations: 230.7 MB / 256.9 MB, free: 7.715 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.008/3.008, allocations: 0.5108 GB / 0.8167 GB, free: 17.72 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.666e-05, allocations: 7.062 kB / 1.187 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.06351/0.06354, allocations: 62.17 MB / 1.248 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02779/0.09132, allocations: 17.32 MB / 1.265 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003334/0.09466, allocations: 135.7 kB / 1.265 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.005485/0.1001, allocations: 1.989 MB / 1.267 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.008169/0.1083, allocations: 3.011 MB / 1.27 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006348/0.1147, allocations: 2.515 MB / 1.272 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01463/0.1293, allocations: 10.36 MB / 1.282 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00346/0.1328, allocations: 1.796 MB / 1.284 GB, free: 84 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007643/0.1404, allocations: 3.493 MB / 1.288 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00321/0.1436, allocations: 1.55 MB / 1.289 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004437/0.144, allocations: 176 kB / 1.289 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008611/0.1527, allocations: 4.6 MB / 1.294 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of combineBinaries: time 0.005589/0.1582, allocations: 4.802 MB / 1.298 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of replaceArrayConstructors: time 0.003477/0.1617, allocations: 3.118 MB / 1.301 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000648/0.1624, allocations: 196 kB / 1.302 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of FrontEnd: time 0.0006162/0.163, allocations: 91.52 kB / 1.302 GB, free: 13.96 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 (299) * Number of variables: 311 (287) Notification: Performance of [SIM] Bindings: time 0.01287/0.1759, allocations: 12.3 MB / 1.314 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of [SIM] FunctionAlias: time 0.001341/0.1772, allocations: 1.036 MB / 1.315 GB, free: 220 kB / 0.9981 GB Notification: Performance of [SIM] Early Inline: time 0.00492/0.1821, allocations: 4.646 MB / 1.319 GB, free: 11.5 MB / 1.014 GB Notification: Performance of [SIM] Simplify 1: time 0.001348/0.1835, allocations: 0.7383 MB / 1.32 GB, free: 10.66 MB / 1.014 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.01176/0.1952, allocations: 8.166 MB / 1.328 GB, free: 1.797 MB / 1.014 GB Notification: Performance of [SIM] Simplify 2: time 0.0009271/0.1962, allocations: 0.5648 MB / 1.329 GB, free: 1.164 MB / 1.014 GB Notification: Performance of [SIM] Remove Stream: time 0.0004523/0.1966, allocations: 349.2 kB / 1.329 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of [SIM] Detect States: time 0.0009399/0.1975, allocations: 0.8072 MB / 1.33 GB, free: 15.93 MB / 1.029 GB Notification: Performance of [SIM] Events: time 0.0004576/0.198, allocations: 325.5 kB / 1.33 GB, free: 15.61 MB / 1.029 GB Notification: Performance of [SIM] Partitioning: time 0.001221/0.1992, allocations: 1.068 MB / 1.331 GB, free: 14.5 MB / 1.029 GB Notification: Performance of [SIM] Causalize: time 0.006051/0.2053, allocations: 4.304 MB / 1.335 GB, free: 10.02 MB / 1.029 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002415/0.2077, allocations: 2.467 MB / 1.338 GB, free: 7.555 MB / 1.029 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo:623:7-623:72:writable] Error: Type mismatch in if-expression in component . True branch: Buildings.Utilities.Math.Functions.splineDerivatives(mov.eff.per.motorEfficiency_yMot_generic.y, mov.eff.per.motorEfficiency_yMot_generic.eta, true) has type Real[9], false branch: 0.0 has type Real. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 6.186238130030688] Failed to read output from testmodel.py, exit status != 0: 0.2167053259909153 0.229072877 0.06312965300000001 Calling exit ...