Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.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.001691/0.001691, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.001779/0.001779, allocations: 212.2 kB / 23 MB, free: 4.965 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.247/1.247, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.689/2.689, allocations: 0.49 GB / 0.7958 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|steTra.port_a.p|steTra.port_b.p|steTra.sta_a.T|steTra.sta_b.T|hIn.h_out|hOut.h_out|steTra.m_flow|steTra.QLos_flow",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap") translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|steTra.port_a.p|steTra.port_b.p|steTra.sta_a.T|steTra.sta_b.T|hIn.h_out|hOut.h_out|steTra.m_flow|steTra.QLos_flow",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.142e-05/1.142e-05, allocations: 2.281 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.02531/0.02532, allocations: 34.56 MB / 1.189 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1524/0.1777, allocations: 131.1 MB / 1.317 GB, free: 11.2 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000912/0.1786, allocations: 71.44 kB / 1.317 GB, free: 11.13 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003435/0.1821, allocations: 1.621 MB / 1.318 GB, free: 9.504 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003927/0.186, allocations: 2.188 MB / 1.321 GB, free: 7.309 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002801/0.1888, allocations: 1.602 MB / 1.322 GB, free: 5.715 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007833/0.1966, allocations: 7.066 MB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.1979, allocations: 1.092 MB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003915/0.2019, allocations: 2.661 MB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.203, allocations: 1.051 MB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.2031, allocations: 104 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004627/0.2078, allocations: 3.792 MB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of combineBinaries: time 0.002364/0.2101, allocations: 2.984 MB / 1.34 GB, free: 2.895 MB / 1.029 GB Notification: Performance of replaceArrayConstructors: time 0.001307/0.2114, allocations: 1.945 MB / 1.342 GB, free: 0.9258 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.2116, allocations: 120 kB / 1.342 GB, free: 0.8086 MB / 1.029 GB Notification: Performance of FrontEnd: time 0.0001789/0.2118, allocations: 47.78 kB / 1.343 GB, free: 0.7617 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 (175) * Number of variables: 181 (174) Notification: Performance of [SIM] Bindings: time 0.007105/0.2189, allocations: 8.244 MB / 1.351 GB, free: 8.266 MB / 1.045 GB Notification: Performance of [SIM] FunctionAlias: time 0.000635/0.2195, allocations: 0.6122 MB / 1.351 GB, free: 7.625 MB / 1.045 GB Notification: Performance of [SIM] Early Inline: time 0.003024/0.2226, allocations: 3.104 MB / 1.354 GB, free: 4.48 MB / 1.045 GB Notification: Performance of [SIM] Simplify 1: time 0.0008651/0.2234, allocations: 0.592 MB / 1.355 GB, free: 3.812 MB / 1.045 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.005851/0.2293, allocations: 4.634 MB / 1.359 GB, free: 14.73 MB / 1.061 GB Notification: Performance of [SIM] Simplify 2: time 0.0006234/0.2299, allocations: 455.5 kB / 1.36 GB, free: 14.23 MB / 1.061 GB Notification: Performance of [SIM] Remove Stream: time 0.0002489/0.2301, allocations: 232 kB / 1.36 GB, free: 13.98 MB / 1.061 GB Notification: Performance of [SIM] Detect States: time 0.0005345/0.2307, allocations: 0.5052 MB / 1.36 GB, free: 13.42 MB / 1.061 GB Notification: Performance of [SIM] Events: time 0.0003705/0.2311, allocations: 271.8 kB / 1.361 GB, free: 13.15 MB / 1.061 GB Notification: Performance of [SIM] Partitioning: time 0.0008078/0.2319, allocations: 0.7416 MB / 1.361 GB, free: 12.38 MB / 1.061 GB Notification: Performance of [SIM] Causalize: time 0.00359/0.2354, allocations: 2.788 MB / 1.364 GB, free: 9.492 MB / 1.061 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001412/0.2369, allocations: 1.592 MB / 1.366 GB, free: 7.898 MB / 1.061 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo:621:7-621:72:writable] Error: Type mismatch in if-expression in component . True branch: Buildings.Utilities.Math.Functions.splineDerivatives(pum.eff.per.motorEfficiency_yMot_generic.y, pum.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.5939818997867405] Failed to read output from testmodel.py, exit status != 0: 0.24432180309668183 0.25762778799999997 0.043113536 Calling exit ...