Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource.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.001577/0.001577, allocations: 104.3 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.001698/0.001698, allocations: 217.6 kB / 23.07 MB, free: 4.98 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.364/1.364, allocations: 230.7 MB / 256.9 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.963/2.963, allocations: 0.5108 GB / 0.8167 GB, free: 17.74 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pumSup1.m_flow|stoPla.revCon.m_flow|stoPla.pumPri.m_flow|stoPla.tanBra.mTan_flow|stoPla.revCon.pum.m_flow|stoPla.revCon.val.m_flow|ideUse1.yVal_actual|ideUse2.yVal_actual|ideUse3.yVal_actual|ideUse1.dp|ideUse2.dp|ideUse3.dp|stoPla.tanBra.heaPorTop.T|stoPla.tanBra.heaPorBot.T|stoPla.tanSta.y.1.|stoPla.tanSta.y.2.",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource") translateModel(Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pumSup1.m_flow|stoPla.revCon.m_flow|stoPla.pumPri.m_flow|stoPla.tanBra.mTan_flow|stoPla.revCon.pum.m_flow|stoPla.revCon.val.m_flow|ideUse1.yVal_actual|ideUse2.yVal_actual|ideUse3.yVal_actual|ideUse1.dp|ideUse2.dp|ideUse3.dp|stoPla.tanBra.heaPorTop.T|stoPla.tanBra.heaPorBot.T|stoPla.tanSta.y.1.|stoPla.tanSta.y.2.",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.637e-05, allocations: 2.281 kB / 1.187 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource): time 1.206/1.206, allocations: 0.5073 GB / 1.694 GB, free: 86.12 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.1275/1.334, allocations: 109.2 MB / 1.801 GB, free: 74.89 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0244/1.358, allocations: 0.847 MB / 1.802 GB, free: 74.89 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.0246/1.383, allocations: 8.952 MB / 1.811 GB, free: 70.62 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.05671/1.44, allocations: 21.57 MB / 1.832 GB, free: 57.64 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.03107/1.471, allocations: 14.91 MB / 1.846 GB, free: 47.36 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.08903/1.56, allocations: 81.64 MB / 1.926 GB, free: 7.445 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03378/1.593, allocations: 16.1 MB / 1.942 GB, free: 7.512 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05186/1.645, allocations: 22.71 MB / 1.964 GB, free: 2.012 MB / 1.357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02468/1.67, allocations: 12.1 MB / 1.976 GB, free: 6.934 MB / 1.373 GB Notification: Performance of NFPackage.collectConstants: time 0.005634/1.676, allocations: 1.898 MB / 1.978 GB, free: 5.035 MB / 1.373 GB Notification: Performance of NFFlatten.collectFunctions: time 0.027/1.703, allocations: 10.11 MB / 1.987 GB, free: 11.43 MB / 1.389 GB Notification: Performance of combineBinaries: time 0.04408/1.747, allocations: 35.92 MB / 2.023 GB, free: 8.395 MB / 1.42 GB Notification: Performance of replaceArrayConstructors: time 0.02198/1.769, allocations: 22.07 MB / 2.044 GB, free: 2.762 MB / 1.436 GB Notification: Performance of NFVerifyModel.verify: time 0.006899/1.776, allocations: 1.426 MB / 2.045 GB, free: 1.336 MB / 1.436 GB Notification: Performance of FrontEnd: time 0.00361/1.779, allocations: 0.7026 MB / 2.046 GB, free: 0.707 MB / 1.436 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2841 (2463) * Number of variables: 2841 (2268) Notification: Performance of [SIM] Bindings: time 0.1137/1.893, allocations: 83.91 MB / 2.128 GB, free: 15.14 MB / 1.529 GB Notification: Performance of [SIM] FunctionAlias: time 0.01571/1.909, allocations: 9.847 MB / 2.138 GB, free: 5.566 MB / 1.529 GB Notification: Performance of [SIM] Early Inline: time 0.05691/1.966, allocations: 44.63 MB / 2.181 GB, free: 9.059 MB / 1.576 GB Notification: Performance of [SIM] Simplify 1: time 0.01547/1.981, allocations: 6.589 MB / 2.188 GB, free: 2.277 MB / 1.576 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 1.482/3.463, allocations: 63.91 MB / 2.25 GB, free: 233.5 MB / 1.608 GB Notification: Performance of [SIM] Simplify 2: time 0.01004/3.473, allocations: 4.753 MB / 2.255 GB, free: 232.3 MB / 1.608 GB Notification: Performance of [SIM] Remove Stream: time 0.004845/3.478, allocations: 2.711 MB / 2.257 GB, free: 232 MB / 1.608 GB Notification: Performance of [SIM] Detect States: time 0.009316/3.487, allocations: 6.947 MB / 2.264 GB, free: 231.3 MB / 1.608 GB Notification: Performance of [SIM] Events: time 0.003088/3.49, allocations: 1.838 MB / 2.266 GB, free: 230.9 MB / 1.608 GB Notification: Performance of [SIM] Partitioning: time 0.01234/3.502, allocations: 9.773 MB / 2.276 GB, free: 230.2 MB / 1.608 GB Notification: Performance of [SIM] Causalize: time 0.07253/3.575, allocations: 43.18 MB / 2.318 GB, free: 227.2 MB / 1.608 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.02737/3.602, allocations: 22.28 MB / 2.339 GB, free: 227.2 MB / 1.608 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: {0.0, 0.0010044335697769957, 0.0020088671395539913, pumSup1.eff.V_flow_max} has type Real[4], false branch: 0.0 has type Real. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 296] [Calling sys.exit(0), Time elapsed: 9.555644129985012] Failed to read output from testmodel.py, exit status != 0: 3.6175015050102957 3.626724105 1.844910449 Calling exit ...