Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.ResistanceVolumeFlowReversal.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.001267/0.001267, 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.001301/0.001301, allocations: 209 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.329/1.329, allocations: 230.7 MB / 256.9 MB, free: 7.77 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.002371/0.002371, allocations: 299.4 kB / 313.6 MB, free: 2.582 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.136/1.136, allocations: 180.7 MB / 0.5378 GB, free: 14.52 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.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(BuildingSystems.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.ResistanceVolumeFlowReversal") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.57e-05/1.57e-05, allocations: 4.875 kB / 0.7408 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.06769/0.06771, allocations: 74.44 MB / 0.8134 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03185/0.09956, allocations: 19.55 MB / 0.8325 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005539/0.1051, allocations: 142.8 kB / 0.8327 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006587/0.1117, allocations: 1.978 MB / 0.8346 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009264/0.1209, allocations: 3.085 MB / 0.8376 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006546/0.1275, allocations: 2.585 MB / 0.8401 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01951/0.147, allocations: 14.22 MB / 0.854 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008718/0.1557, allocations: 5.74 MB / 0.8596 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009874/0.1656, allocations: 4.37 MB / 0.8639 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006378/0.172, allocations: 3.511 MB / 0.8673 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001582/0.1736, allocations: 420 kB / 0.8677 GB, free: 5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00917/0.1827, allocations: 4.481 MB / 0.8721 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.008897/0.1916, allocations: 6.949 MB / 0.8789 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of replaceArrayConstructors: time 0.004119/0.1957, allocations: 3.581 MB / 0.8824 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.1969, allocations: 248 kB / 0.8826 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of FrontEnd: time 0.000597/0.1975, allocations: 83.64 kB / 0.8827 GB, free: 5.574 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 838 (507) * Number of variables: 838 (291) Notification: Performance of [SIM] Bindings: time 0.02115/0.2187, allocations: 18.83 MB / 0.9011 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of [SIM] FunctionAlias: time 0.007208/0.2259, allocations: 5.49 MB / 0.9065 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of [SIM] Early Inline: time 0.0166/0.2425, allocations: 13.56 MB / 0.9197 GB, free: 15.16 MB / 0.67 GB Notification: Performance of [SIM] Simplify 1: time 0.005728/0.2482, allocations: 3.148 MB / 0.9228 GB, free: 11.88 MB / 0.67 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.01705/0.2653, allocations: 11.17 MB / 0.9337 GB, free: 16 MB / 0.6856 GB Notification: Performance of [SIM] Simplify 2: time 0.004588/0.2699, allocations: 2.929 MB / 0.9365 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of [SIM] Remove Stream: time 0.004297/0.2741, allocations: 3.233 MB / 0.9397 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of [SIM] Detect States: time 0.003039/0.2772, allocations: 2.534 MB / 0.9422 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of [SIM] Events: time 0.001144/0.2783, allocations: 0.7681 MB / 0.9429 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of [SIM] Partitioning: time 0.004851/0.2832, allocations: 4.497 MB / 0.9473 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of [SIM] Causalize: time 0.03479/0.318, allocations: 21.34 MB / 0.9682 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01184/0.3298, allocations: 10.2 MB / 0.9781 GB, free: 1.871 MB / 0.7169 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(pump.eff.per.motorEfficiency_yMot_generic.y, pump.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: 4.250336282944772] Failed to read output from testmodel.py, exit status != 0: 0.6066877249977551 0.616877623 0.41700683800000005 Calling exit ...