Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001669/0.001669, allocations: 100.4 kB / 19.72 MB, free: 2.121 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.001748/0.001748, allocations: 208.4 kB / 23.01 MB, free: 4.93 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.333/1.333, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.855/2.855, allocations: 0.49 GB / 0.7958 GB, free: 35.38 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_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.Q_flow",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/1.877e-05, allocations: 6.234 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.05802/0.05804, allocations: 62.17 MB / 1.216 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03034/0.08837, allocations: 17.31 MB / 1.233 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004464/0.09284, allocations: 139.5 kB / 1.233 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.006638/0.09948, allocations: 1.996 MB / 1.235 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.009203/0.1087, allocations: 3.015 MB / 1.238 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.007228/0.1159, allocations: 2.533 MB / 1.24 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01488/0.1308, allocations: 9.543 MB / 1.249 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004211/0.135, allocations: 1.825 MB / 1.251 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008097/0.1431, allocations: 3.482 MB / 1.255 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003683/0.1468, allocations: 1.631 MB / 1.256 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0006516/0.1474, allocations: 181.9 kB / 1.256 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009662/0.1571, allocations: 4.707 MB / 1.261 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of combineBinaries: time 0.004612/0.1617, allocations: 4.803 MB / 1.266 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of replaceArrayConstructors: time 0.002285/0.164, allocations: 3.111 MB / 1.269 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004135/0.1644, allocations: 200 kB / 1.269 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of FrontEnd: time 0.0005183/0.1649, allocations: 83.64 kB / 1.269 GB, free: 12.32 MB / 0.9669 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.01124/0.1762, allocations: 12.26 MB / 1.281 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of [SIM] FunctionAlias: time 0.001144/0.1773, allocations: 1.023 MB / 1.282 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of [SIM] Early Inline: time 0.004478/0.1818, allocations: 4.589 MB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of [SIM] Simplify 1: time 0.001328/0.1831, allocations: 0.8179 MB / 1.287 GB, free: 9.043 MB / 0.9825 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.01081/0.1939, allocations: 7.981 MB / 1.295 GB, free: 360 kB / 0.9825 GB Notification: Performance of [SIM] Simplify 2: time 0.0009715/0.1949, allocations: 0.5963 MB / 1.296 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of [SIM] Remove Stream: time 0.0004124/0.1953, allocations: 357.2 kB / 1.296 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of [SIM] Detect States: time 0.0008899/0.1962, allocations: 0.8119 MB / 1.297 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of [SIM] Events: time 0.0004162/0.1966, allocations: 310.4 kB / 1.297 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of [SIM] Partitioning: time 0.00117/0.1978, allocations: 1.068 MB / 1.298 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of [SIM] Causalize: time 0.005714/0.2035, allocations: 4.346 MB / 1.302 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002283/0.2058, allocations: 2.451 MB / 1.305 GB, free: 6.059 MB / 0.9981 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo:621:7-621: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.988924789242446] Failed to read output from testmodel.py, exit status != 0: 0.2137979338876903 0.22678197200000003 0.059047963 Calling exit ...