Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001606/0.001606, allocations: 100.3 kB / 20.51 MB, free: 1.305 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.002324/0.002324, allocations: 216 kB / 23.81 MB, free: 4.449 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.369/1.369, allocations: 230.7 MB / 257.6 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9376/0.9376, allocations: 149.9 MB / 463.9 MB, free: 10.31 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.458e-05, allocations: 2.281 kB / 0.6424 GB, free: 9.594 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.07515/0.07518, allocations: 62.12 MB / 0.7031 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03102/0.1062, allocations: 17.31 MB / 0.72 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004473/0.1107, allocations: 130.9 kB / 0.7201 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.006948/0.1176, allocations: 1.988 MB / 0.722 GB, free: 7.871 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.1278, allocations: 3.004 MB / 0.725 GB, free: 4.855 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007728/0.1355, allocations: 2.525 MB / 0.7274 GB, free: 2.348 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01684/0.1523, allocations: 10.37 MB / 0.7376 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003885/0.1562, allocations: 1.796 MB / 0.7393 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008505/0.1647, allocations: 3.497 MB / 0.7427 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003573/0.1683, allocations: 1.533 MB / 0.7442 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004527/0.1687, allocations: 180 kB / 0.7444 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009447/0.1782, allocations: 4.608 MB / 0.7489 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.005753/0.1839, allocations: 4.802 MB / 0.7536 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.003164/0.1871, allocations: 3.107 MB / 0.7566 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006753/0.1878, allocations: 204 kB / 0.7568 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0006679/0.1885, allocations: 87.53 kB / 0.7569 GB, free: 4.02 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: 311 (299) * Number of variables: 311 (287) Notification: Performance of [SIM] Bindings: time 0.3606/0.5491, allocations: 12.29 MB / 0.7689 GB, free: 41.86 MB / 0.5762 GB Notification: Performance of [SIM] FunctionAlias: time 0.001373/0.5504, allocations: 1.028 MB / 0.7699 GB, free: 41.68 MB / 0.5762 GB Notification: Performance of [SIM] Early Inline: time 0.005049/0.5555, allocations: 4.657 MB / 0.7745 GB, free: 41.56 MB / 0.5762 GB Notification: Performance of [SIM] Simplify 1: time 0.001707/0.5572, allocations: 0.7381 MB / 0.7752 GB, free: 41.31 MB / 0.5762 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.01271/0.5699, allocations: 8.167 MB / 0.7832 GB, free: 39.54 MB / 0.5762 GB Notification: Performance of [SIM] Simplify 2: time 0.00111/0.571, allocations: 0.5661 MB / 0.7837 GB, free: 39.36 MB / 0.5762 GB Notification: Performance of [SIM] Remove Stream: time 0.0003717/0.5714, allocations: 351.7 kB / 0.784 GB, free: 39.29 MB / 0.5762 GB Notification: Performance of [SIM] Detect States: time 0.000795/0.5722, allocations: 0.7939 MB / 0.7848 GB, free: 39.12 MB / 0.5762 GB Notification: Performance of [SIM] Events: time 0.0004282/0.5726, allocations: 323.3 kB / 0.7851 GB, free: 39.04 MB / 0.5762 GB Notification: Performance of [SIM] Partitioning: time 0.001074/0.5737, allocations: 1.082 MB / 0.7862 GB, free: 38.93 MB / 0.5762 GB Notification: Performance of [SIM] Causalize: time 0.005368/0.5791, allocations: 4.3 MB / 0.7904 GB, free: 38.35 MB / 0.5762 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002076/0.5811, allocations: 2.471 MB / 0.7928 GB, free: 38.34 MB / 0.5762 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: IBPSA.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 659] [Calling sys.exit(0), Time elapsed: 3.9612253599916585] Failed to read output from testmodel.py, exit status != 0: 0.5900939520215616 0.599262451 0.408399286 Calling exit ...