Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001495/0.001495, 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.001628/0.001628, allocations: 215.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.367/1.367, allocations: 230.6 MB / 256.9 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.555/2.555, allocations: 476 MB / 0.7708 GB, free: 4.648 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.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_11_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_11_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.258e-05, allocations: 4.766 kB / 1.118 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource): time 1.193/1.193, allocations: 0.5067 GB / 1.625 GB, free: 86.57 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.1465/1.34, allocations: 109.1 MB / 1.731 GB, free: 85.27 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02611/1.366, allocations: 0.8156 MB / 1.732 GB, free: 85.27 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.02835/1.394, allocations: 8.963 MB / 1.741 GB, free: 85.12 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.05813/1.453, allocations: 21.44 MB / 1.762 GB, free: 84.35 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.03399/1.487, allocations: 15.1 MB / 1.776 GB, free: 77.65 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.08434/1.571, allocations: 81.68 MB / 1.856 GB, free: 32.46 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02911/1.6, allocations: 16.1 MB / 1.872 GB, free: 16.55 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04392/1.644, allocations: 22.14 MB / 1.894 GB, free: 11.61 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02581/1.67, allocations: 12.22 MB / 1.905 GB, free: 468 kB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.006955/1.677, allocations: 1.906 MB / 1.907 GB, free: 14.55 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02919/1.706, allocations: 10.19 MB / 1.917 GB, free: 4.859 MB / 1.326 GB Notification: Performance of combineBinaries: time 0.04672/1.753, allocations: 35.78 MB / 1.952 GB, free: 1.969 MB / 1.357 GB Notification: Performance of replaceArrayConstructors: time 0.02418/1.777, allocations: 22.04 MB / 1.974 GB, free: 12.38 MB / 1.389 GB Notification: Performance of NFVerifyModel.verify: time 0.008159/1.785, allocations: 1.43 MB / 1.975 GB, free: 10.95 MB / 1.389 GB Notification: Performance of FrontEnd: time 0.004107/1.789, allocations: 0.6999 MB / 1.976 GB, free: 10.33 MB / 1.389 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2854 (2471) * Number of variables: 2854 (2269) Notification: Performance of [SIM] Bindings: time 0.1115/1.901, allocations: 83.98 MB / 2.058 GB, free: 8.789 MB / 1.467 GB Notification: Performance of [SIM] FunctionAlias: time 0.0159/1.916, allocations: 9.841 MB / 2.067 GB, free: 15.25 MB / 1.482 GB Notification: Performance of [SIM] Early Inline: time 0.06262/1.979, allocations: 43.61 MB / 2.11 GB, free: 3.992 MB / 1.514 GB Notification: Performance of [SIM] Simplify 1: time 0.01553/1.995, allocations: 6.411 MB / 2.116 GB, free: 13.53 MB / 1.529 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.1023/2.097, allocations: 63.37 MB / 2.178 GB, free: 11.12 MB / 1.592 GB Notification: Performance of [SIM] Simplify 2: time 0.0121/2.109, allocations: 4.562 MB / 2.183 GB, free: 6.496 MB / 1.592 GB Notification: Performance of [SIM] Remove Stream: time 0.006784/2.116, allocations: 2.694 MB / 2.185 GB, free: 3.773 MB / 1.592 GB Notification: Performance of [SIM] Detect States: time 0.01263/2.128, allocations: 6.876 MB / 2.192 GB, free: 12.95 MB / 1.607 GB Notification: Performance of [SIM] Events: time 0.004413/2.133, allocations: 1.802 MB / 2.194 GB, free: 11.17 MB / 1.607 GB Notification: Performance of [SIM] Partitioning: time 0.01911/2.152, allocations: 9.623 MB / 2.203 GB, free: 1.348 MB / 1.607 GB Notification: Performance of [SIM] Causalize: time 1.55/3.702, allocations: 43.45 MB / 2.246 GB, free: 275.2 MB / 1.608 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.03025/3.732, allocations: 21.85 MB / 2.267 GB, free: 275.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.58209312899271] Failed to read output from testmodel.py, exit status != 0: 4.245697122009005 3.759189599 1.967116624 Calling exit ...