Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.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.001455/0.001455, allocations: 100.4 kB / 19.76 MB, free: 1.906 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.001539/0.001539, allocations: 214 kB / 23.07 MB, free: 4.984 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.302/1.302, allocations: 230.7 MB / 256.9 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.801/2.801, allocations: 0.4893 GB / 0.7952 GB, free: 35.69 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.263e-05/1.263e-05, allocations: 2.281 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.04295/0.04296, allocations: 49.66 MB / 1.203 GB, free: 8.301 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.025/0.06796, allocations: 15.92 MB / 1.218 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002963/0.07093, allocations: 120.9 kB / 1.219 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005302/0.07623, allocations: 1.954 MB / 1.221 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006947/0.08318, allocations: 2.669 MB / 1.223 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005983/0.08916, allocations: 2.45 MB / 1.226 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01422/0.1034, allocations: 9.595 MB / 1.235 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003096/0.1065, allocations: 1.645 MB / 1.236 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006311/0.1128, allocations: 3.267 MB / 1.24 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.115, allocations: 1.374 MB / 1.241 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002479/0.1153, allocations: 160.3 kB / 1.241 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007424/0.1227, allocations: 4.475 MB / 1.246 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of combineBinaries: time 0.00394/0.1266, allocations: 4.428 MB / 1.25 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of replaceArrayConstructors: time 0.002238/0.1289, allocations: 2.886 MB / 1.253 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004123/0.1293, allocations: 179.4 kB / 1.253 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of FrontEnd: time 0.000501/0.1298, allocations: 75.22 kB / 1.253 GB, free: 11.32 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 (274) * Number of variables: 282 (265) Notification: Performance of [SIM] Bindings: time 0.01099/0.1408, allocations: 11.38 MB / 1.264 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of [SIM] FunctionAlias: time 0.001139/0.1419, allocations: 0.9734 MB / 1.265 GB, free: 252 kB / 0.9512 GB Notification: Performance of [SIM] Early Inline: time 0.004725/0.1466, allocations: 4.479 MB / 1.269 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of [SIM] Simplify 1: time 0.001264/0.1479, allocations: 0.7278 MB / 1.27 GB, free: 10.87 MB / 0.9669 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.01088/0.1588, allocations: 7.583 MB / 1.277 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of [SIM] Simplify 2: time 0.0008922/0.1597, allocations: 0.5426 MB / 1.278 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of [SIM] Remove Stream: time 0.0003851/0.1601, allocations: 313.3 kB / 1.278 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of [SIM] Detect States: time 0.0008872/0.1609, allocations: 0.7649 MB / 1.279 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of [SIM] Events: time 0.0004939/0.1614, allocations: 332.5 kB / 1.279 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of [SIM] Partitioning: time 0.001207/0.1626, allocations: 1.035 MB / 1.28 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of [SIM] Causalize: time 0.005454/0.1681, allocations: 3.887 MB / 1.284 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002314/0.1704, allocations: 2.392 MB / 1.287 GB, free: 9.027 MB / 0.9825 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: 5.760996737983078] Failed to read output from testmodel.py, exit status != 0: 0.17827923799632117 0.191843543 0.059109895 Calling exit ...