Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001125/0.001125, allocations: 100.4 kB / 19.72 MB, free: 2.121 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.001171/0.001171, allocations: 209 kB / 23.01 MB, free: 4.93 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.241/1.241, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.695/2.695, allocations: 0.49 GB / 0.7958 GB, free: 35.54 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.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_12_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_12_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.304e-05/1.304e-05, allocations: 2.281 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource): time 0.9938/0.9938, allocations: 0.5073 GB / 1.662 GB, free: 90.55 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.1104/1.104, allocations: 109.2 MB / 1.769 GB, free: 86.8 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01846/1.123, allocations: 0.8434 MB / 1.77 GB, free: 86.8 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01963/1.142, allocations: 8.965 MB / 1.779 GB, free: 84.71 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.04546/1.188, allocations: 21.6 MB / 1.8 GB, free: 75.34 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02608/1.214, allocations: 14.98 MB / 1.814 GB, free: 65 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.0627/1.277, allocations: 74.78 MB / 1.887 GB, free: 12.25 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02106/1.298, allocations: 16.31 MB / 1.903 GB, free: 12.12 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04641/1.344, allocations: 22.71 MB / 1.925 GB, free: 6.637 MB / 1.326 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02143/1.365, allocations: 12.72 MB / 1.938 GB, free: 10.94 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.00538/1.371, allocations: 1.902 MB / 1.94 GB, free: 9.035 MB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0242/1.395, allocations: 10.25 MB / 1.95 GB, free: 15.29 MB / 1.357 GB Notification: Performance of combineBinaries: time 0.03981/1.435, allocations: 35.92 MB / 1.985 GB, free: 12.26 MB / 1.389 GB Notification: Performance of replaceArrayConstructors: time 0.02056/1.455, allocations: 22.07 MB / 2.006 GB, free: 6.629 MB / 1.404 GB Notification: Performance of NFVerifyModel.verify: time 0.006717/1.462, allocations: 1.43 MB / 2.008 GB, free: 5.199 MB / 1.404 GB Notification: Performance of FrontEnd: time 0.004059/1.466, allocations: 0.7059 MB / 2.008 GB, free: 4.566 MB / 1.404 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.09863/1.565, allocations: 83.66 MB / 2.09 GB, free: 3.781 MB / 1.482 GB Notification: Performance of [SIM] FunctionAlias: time 0.01463/1.579, allocations: 9.634 MB / 2.099 GB, free: 10.46 MB / 1.498 GB Notification: Performance of [SIM] Early Inline: time 0.05205/1.632, allocations: 44.25 MB / 2.143 GB, free: 14.56 MB / 1.545 GB Notification: Performance of [SIM] Simplify 1: time 0.01432/1.646, allocations: 7.499 MB / 2.15 GB, free: 7.004 MB / 1.545 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.09024/1.736, allocations: 62.34 MB / 2.211 GB, free: 5.711 MB / 1.607 GB Notification: Performance of [SIM] Simplify 2: time 0.009229/1.745, allocations: 5.072 MB / 2.216 GB, free: 0.5742 MB / 1.607 GB Notification: Performance of [SIM] Remove Stream: time 1.128/2.873, allocations: 2.714 MB / 2.218 GB, free: 264.8 MB / 1.608 GB Notification: Performance of [SIM] Detect States: time 0.008938/2.882, allocations: 6.951 MB / 2.225 GB, free: 264.2 MB / 1.608 GB Notification: Performance of [SIM] Events: time 0.003071/2.885, allocations: 1.835 MB / 2.227 GB, free: 263.9 MB / 1.608 GB Notification: Performance of [SIM] Partitioning: time 0.01413/2.899, allocations: 9.77 MB / 2.237 GB, free: 263.2 MB / 1.608 GB Notification: Performance of [SIM] Causalize: time 0.06756/2.967, allocations: 43.37 MB / 2.279 GB, free: 260.3 MB / 1.608 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.02145/2.988, allocations: 22.23 MB / 2.301 GB, free: 260.3 MB / 1.608 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: {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 297] [Calling sys.exit(0), Time elapsed: 8.338022926822305] Failed to read output from testmodel.py, exit status != 0: 3.0012977616861463 3.010297784 1.54183975 Calling exit ...