Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00122/0.00122, 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.001275/0.001275, allocations: 212.4 kB / 23.06 MB, free: 4.988 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.347/1.347, 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/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002388/0.002388, allocations: 291.5 kB / 313.6 MB, free: 2.652 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.138/1.138, allocations: 180.7 MB / 0.5378 GB, free: 14.51 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterHeater_T") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.262e-05, allocations: 4.812 kB / 0.7408 GB, free: 27.64 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.04672/0.04674, allocations: 49.54 MB / 0.7892 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02815/0.07489, allocations: 15.91 MB / 0.8047 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003339/0.07823, allocations: 121.7 kB / 0.8048 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.006151/0.08438, allocations: 1.945 MB / 0.8067 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007885/0.09227, allocations: 2.679 MB / 0.8093 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006492/0.09876, allocations: 2.434 MB / 0.8117 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01444/0.1132, allocations: 9.895 MB / 0.8214 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003528/0.1167, allocations: 1.656 MB / 0.823 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005865/0.1226, allocations: 2.614 MB / 0.8255 GB, free: 236 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/0.1254, allocations: 1.392 MB / 0.8269 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005296/0.1259, allocations: 160 kB / 0.8271 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00857/0.1345, allocations: 4.543 MB / 0.8315 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.004709/0.1392, allocations: 4.433 MB / 0.8358 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.003287/0.1425, allocations: 2.902 MB / 0.8387 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007529/0.1432, allocations: 184 kB / 0.8388 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0006814/0.1439, allocations: 75.59 kB / 0.8389 GB, free: 2.457 MB / 0.5762 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.01507/0.159, allocations: 11.41 MB / 0.85 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of [SIM] FunctionAlias: time 0.001704/0.1607, allocations: 0.9647 MB / 0.851 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of [SIM] Early Inline: time 0.007118/0.1678, allocations: 4.516 MB / 0.8554 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 1: time 0.002214/0.17, allocations: 0.7348 MB / 0.8561 GB, free: 236 kB / 0.5919 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.01226/0.1823, allocations: 7.514 MB / 0.8635 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 2: time 0.0009402/0.1832, allocations: 0.5522 MB / 0.864 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of [SIM] Remove Stream: time 0.0003901/0.1836, allocations: 325.2 kB / 0.8643 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of [SIM] Detect States: time 0.0009052/0.1845, allocations: 0.7431 MB / 0.865 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of [SIM] Events: time 0.0004846/0.185, allocations: 336.6 kB / 0.8653 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of [SIM] Partitioning: time 0.001198/0.1862, allocations: 1.047 MB / 0.8664 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of [SIM] Causalize: time 0.005641/0.1918, allocations: 3.945 MB / 0.8702 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002394/0.1942, allocations: 2.392 MB / 0.8726 GB, free: 14.37 MB / 0.6231 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: BuildingSystems.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 660] [Calling sys.exit(0), Time elapsed: 3.8640994759625755] Failed to read output from testmodel.py, exit status != 0: 0.20205115800490603 0.216413768 0.06938709700000001 Calling exit ...