Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001216/0.001216, allocations: 104.3 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.001322/0.001322, allocations: 214.5 kB / 23.06 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.367/1.367, allocations: 230.7 MB / 256.9 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.595/2.595, allocations: 476 MB / 0.7708 GB, free: 4.648 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.708e-05, allocations: 3.266 kB / 1.118 GB, free: 41 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.03683/0.03685, allocations: 49.6 MB / 1.166 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02168/0.05853, allocations: 15.89 MB / 1.182 GB, free: 1.188 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003212/0.06175, allocations: 125.9 kB / 1.182 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.005183/0.06693, allocations: 1.938 MB / 1.184 GB, free: 288 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007447/0.07437, allocations: 2.681 MB / 1.187 GB, free: 14.75 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006417/0.08079, allocations: 2.44 MB / 1.189 GB, free: 13.53 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01424/0.09503, allocations: 9.89 MB / 1.199 GB, free: 9.707 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003046/0.09807, allocations: 1.658 MB / 1.2 GB, free: 8.895 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005807/0.1039, allocations: 2.614 MB / 1.203 GB, free: 7.75 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002674/0.1066, allocations: 1.399 MB / 1.204 GB, free: 7.137 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002793/0.1068, allocations: 158.2 kB / 1.204 GB, free: 7.137 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009309/0.1161, allocations: 4.543 MB / 1.209 GB, free: 6.18 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.005555/0.1217, allocations: 4.429 MB / 1.213 GB, free: 3.238 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.002679/0.1244, allocations: 2.9 MB / 1.216 GB, free: 1.242 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005727/0.1249, allocations: 180.2 kB / 1.216 GB, free: 1.242 MB / 0.92 GB Notification: Performance of FrontEnd: time 0.0005342/0.1255, allocations: 72.98 kB / 1.216 GB, free: 1.219 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 (276) * Number of variables: 285 (266) Notification: Performance of [SIM] Bindings: time 0.0122/0.1377, allocations: 11.43 MB / 1.227 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of [SIM] FunctionAlias: time 0.00138/0.1391, allocations: 0.9516 MB / 1.228 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of [SIM] Early Inline: time 0.005234/0.1443, allocations: 4.509 MB / 1.233 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of [SIM] Simplify 1: time 0.001426/0.1457, allocations: 0.7402 MB / 1.233 GB, free: 6.164 MB / 0.9356 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.01082/0.1565, allocations: 7.52 MB / 1.241 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of [SIM] Simplify 2: time 0.0009275/0.1575, allocations: 0.5481 MB / 1.241 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of [SIM] Remove Stream: time 0.0003817/0.1579, allocations: 318.2 kB / 1.241 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of [SIM] Detect States: time 0.0008724/0.1587, allocations: 0.7462 MB / 1.242 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of [SIM] Events: time 0.0004701/0.1592, allocations: 346.3 kB / 1.243 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of [SIM] Partitioning: time 0.001169/0.1604, allocations: 1.043 MB / 1.244 GB, free: 0 / 0.9356 GB Notification: Performance of [SIM] Causalize: time 0.00536/0.1657, allocations: 3.945 MB / 1.247 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002268/0.168, allocations: 2.387 MB / 1.25 GB, free: 12.64 MB / 0.9512 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 299] [Calling sys.exit(0), Time elapsed: 5.884442048962228] Failed to read output from testmodel.py, exit status != 0: 0.605326848977711 0.18910020800000002 0.060716488000000006 Calling exit ...