Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001526/0.001526, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001588/0.001588, allocations: 219.5 kB / 23.07 MB, free: 4.844 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.332/1.332, allocations: 230.7 MB / 256.9 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 179] 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.002356/0.002356, allocations: 288.6 kB / 313.6 MB, free: 2.543 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.147/1.147, allocations: 180.7 MB / 0.5378 GB, free: 14.44 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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterHeater_u") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.555e-05, allocations: 2.281 kB / 0.7408 GB, free: 27.64 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.05328/0.05329, allocations: 62.03 MB / 0.8014 GB, free: 1.996 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02748/0.08077, allocations: 17.3 MB / 0.8183 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003338/0.08411, allocations: 134.3 kB / 0.8184 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005486/0.0896, allocations: 1.996 MB / 0.8203 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008681/0.09828, allocations: 3.004 MB / 0.8233 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006926/0.1052, allocations: 2.513 MB / 0.8257 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01544/0.1206, allocations: 10.66 MB / 0.8361 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003155/0.1238, allocations: 1.807 MB / 0.8379 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005913/0.1297, allocations: 2.797 MB / 0.8406 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002885/0.1326, allocations: 1.568 MB / 0.8422 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003423/0.1329, allocations: 176 kB / 0.8423 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007935/0.1409, allocations: 4.679 MB / 0.8469 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.004599/0.1455, allocations: 4.798 MB / 0.8516 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.002564/0.148, allocations: 3.13 MB / 0.8546 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000497/0.1485, allocations: 200 kB / 0.8548 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0005439/0.1491, allocations: 75.67 kB / 0.8549 GB, free: 2.109 MB / 0.5919 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.01216/0.1612, allocations: 12.34 MB / 0.8669 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of [SIM] FunctionAlias: time 0.001169/0.1624, allocations: 1.002 MB / 0.8679 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of [SIM] Early Inline: time 0.004946/0.1674, allocations: 4.686 MB / 0.8725 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of [SIM] Simplify 1: time 0.001354/0.1687, allocations: 0.7488 MB / 0.8732 GB, free: 14.75 MB / 0.6231 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.01169/0.1804, allocations: 8.124 MB / 0.8812 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of [SIM] Simplify 2: time 0.0009823/0.1814, allocations: 0.5729 MB / 0.8817 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of [SIM] Remove Stream: time 0.000442/0.1818, allocations: 353.2 kB / 0.8821 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of [SIM] Detect States: time 0.0009261/0.1828, allocations: 0.7838 MB / 0.8828 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of [SIM] Events: time 0.0004647/0.1832, allocations: 312.8 kB / 0.8831 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of [SIM] Partitioning: time 0.001274/0.1845, allocations: 1.092 MB / 0.8842 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of [SIM] Causalize: time 0.006125/0.1906, allocations: 4.36 MB / 0.8885 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002434/0.193, allocations: 2.451 MB / 0.8908 GB, free: 11.63 MB / 0.6387 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.873312089010142] Failed to read output from testmodel.py, exit status != 0: 0.2006777499918826 0.214489058 0.062459206 Calling exit ...