Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001511/0.001511, 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.001598/0.001598, allocations: 216.5 kB / 23.07 MB, free: 4.98 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.346/1.346, allocations: 230.6 MB / 256.9 MB, free: 7.777 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.518/2.518, allocations: 476 MB / 0.7708 GB, free: 4.68 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_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.Q_flow",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.631e-05, allocations: 2.281 kB / 1.118 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.06813/0.06815, allocations: 62.05 MB / 1.179 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0264/0.09455, allocations: 17.29 MB / 1.195 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003389/0.09793, allocations: 131 kB / 1.196 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.005832/0.1038, allocations: 1.994 MB / 1.198 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008132/0.1119, allocations: 2.998 MB / 1.2 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006046/0.1179, allocations: 2.521 MB / 1.203 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01347/0.1314, allocations: 10.65 MB / 1.213 GB, free: 12.03 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003191/0.1346, allocations: 1.8 MB / 1.215 GB, free: 10.19 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005629/0.1402, allocations: 2.812 MB / 1.218 GB, free: 7.375 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002773/0.143, allocations: 1.56 MB / 1.219 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004839/0.1435, allocations: 180 kB / 1.22 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007913/0.1514, allocations: 4.671 MB / 1.224 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.004568/0.156, allocations: 4.801 MB / 1.229 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of replaceArrayConstructors: time 0.002285/0.1583, allocations: 3.126 MB / 1.232 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004133/0.1587, allocations: 200 kB / 1.232 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of FrontEnd: time 0.0004616/0.1591, allocations: 87.53 kB / 1.232 GB, free: 8.66 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 (301) * Number of variables: 314 (288) Notification: Performance of [SIM] Bindings: time 0.0116/0.1707, allocations: 12.33 MB / 1.244 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of [SIM] FunctionAlias: time 0.001177/0.1719, allocations: 1.005 MB / 1.245 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of [SIM] Early Inline: time 0.004777/0.1767, allocations: 4.681 MB / 1.25 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of [SIM] Simplify 1: time 0.001299/0.178, allocations: 0.7516 MB / 1.25 GB, free: 5.305 MB / 0.9512 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.01106/0.1891, allocations: 8.125 MB / 1.258 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of [SIM] Simplify 2: time 0.0009163/0.19, allocations: 0.5695 MB / 1.259 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of [SIM] Remove Stream: time 0.0004351/0.1904, allocations: 349.2 kB / 1.259 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of [SIM] Detect States: time 0.0008947/0.1913, allocations: 0.7762 MB / 1.26 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of [SIM] Events: time 0.000459/0.1918, allocations: 328.5 kB / 1.26 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of [SIM] Partitioning: time 0.001248/0.193, allocations: 1.081 MB / 1.261 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of [SIM] Causalize: time 0.006098/0.1991, allocations: 4.352 MB / 1.266 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002357/0.2015, allocations: 2.455 MB / 1.268 GB, free: 2.203 MB / 0.9669 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.764517784991767] Failed to read output from testmodel.py, exit status != 0: 0.2097871550358832 0.222742926 0.060675631 Calling exit ...