Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 112.5 kB / 18.35 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 189.9 kB / 21.51 MB, free: 0.9141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 250.1 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.722/2.722, allocations: 496.2 MB / 0.7826 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.medium.T|vol1.T|vol2.T|res1.m_flow|res2.m_flow|cheEqu1.y|cheEqu2.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.medium.T|vol1.T|vol2.T|res1.m_flow|res2.m_flow|cheEqu1.y|cheEqu2.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/2.991e-05, allocations: 5.094 kB / 1.137 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 1.033/1.033, allocations: 244.2 MB / 1.375 GB, free: 13.78 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02828/1.062, allocations: 16.03 MB / 1.391 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004272/1.066, allocations: 79.62 kB / 1.391 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004069/1.07, allocations: 1.231 MB / 1.392 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01353/1.083, allocations: 3.95 MB / 1.396 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006039/1.089, allocations: 1.844 MB / 1.398 GB, free: 11.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01007/1.1, allocations: 6.035 MB / 1.403 GB, free: 7.844 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003087/1.103, allocations: 1.612 MB / 1.405 GB, free: 6.668 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008873/1.112, allocations: 3.37 MB / 1.408 GB, free: 4.641 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004411/1.116, allocations: 1.787 MB / 1.41 GB, free: 3.629 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003752/1.116, allocations: 162.4 kB / 1.41 GB, free: 3.629 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006181/1.122, allocations: 2.749 MB / 1.413 GB, free: 2.094 MB / 1.029 GB Notification: Performance of combineBinaries: time 0.004878/1.127, allocations: 4.156 MB / 1.417 GB, free: 15.25 MB / 1.045 GB Notification: Performance of replaceArrayConstructors: time 0.002474/1.13, allocations: 2.492 MB / 1.419 GB, free: 13.51 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000848/1.131, allocations: 363 kB / 1.42 GB, free: 13.35 MB / 1.045 GB Notification: Performance of FrontEnd: time 0.0006656/1.131, allocations: 73.17 kB / 1.42 GB, free: 13.32 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 (320) * Number of variables: 363 (298) Notification: Performance of Bindings: time 0.009428/1.141, allocations: 8.204 MB / 1.428 GB, free: 7.23 MB / 1.045 GB Notification: Performance of FunctionAlias: time 0.00111/1.142, allocations: 0.8269 MB / 1.429 GB, free: 6.578 MB / 1.045 GB Notification: Performance of Early Inline: time 0.004595/1.146, allocations: 3.588 MB / 1.432 GB, free: 3.305 MB / 1.045 GB Notification: Performance of Simplify 1: time 0.001185/1.148, allocations: 0.6483 MB / 1.433 GB, free: 2.602 MB / 1.045 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of Alias: time 0.009146/1.157, allocations: 5.615 MB / 1.438 GB, free: 12.33 MB / 1.061 GB Notification: Performance of Simplify 2: time 0.001021/1.158, allocations: 0.5187 MB / 1.439 GB, free: 11.77 MB / 1.061 GB Notification: Performance of Remove Stream: time 0.0005795/1.158, allocations: 459.4 kB / 1.439 GB, free: 11.29 MB / 1.061 GB Notification: Performance of Detect States: time 0.001037/1.159, allocations: 0.7793 MB / 1.44 GB, free: 10.45 MB / 1.061 GB Notification: Performance of Events: time 0.0008281/1.16, allocations: 0.559 MB / 1.44 GB, free: 9.879 MB / 1.061 GB Notification: Performance of Partitioning: time 0.00198/1.162, allocations: 1.466 MB / 1.442 GB, free: 8.254 MB / 1.061 GB Notification: Performance of Causalize: time 0.009089/1.171, allocations: 6.218 MB / 1.448 GB, free: 1.781 MB / 1.061 GB Notification: Performance of After Index Reduction Inline: time 0.002796/1.174, allocations: 2.212 MB / 1.45 GB, free: 15.57 MB / 1.076 GB Notification: Performance of Simplify: time 0.00423/1.178, allocations: 2.094 MB / 1.452 GB, free: 13.31 MB / 1.076 GB Notification: Performance of Inline: time 0.005342/1.184, allocations: 4.131 MB / 1.456 GB, free: 9.164 MB / 1.076 GB Notification: Performance of Partitioning: time 0.0002268/1.184, allocations: 105.6 kB / 1.456 GB, free: 9.031 MB / 1.076 GB Notification: Performance of Cleanup: time 0.001295/1.185, allocations: 1.195 MB / 1.458 GB, free: 7.82 MB / 1.076 GB Notification: Performance of Causalize: time 0.02392/1.209, allocations: 16.16 MB / 1.473 GB, free: 7.703 MB / 1.092 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [-IF-] (1) ($RES_SIM_128) [----] if vol.regularFlow[$i1] then [----] [SCAL] (1) vol.ports[$i1].p = vol.vessel_ps_static[$i1] ($RES_SIM_129) [----] elseif vol.inFlow[$i1] then [----] [SCAL] (1) vol.ports[$i1].p = vol.vessel_ps_static[$i1] ($RES_SIM_130) [----] else [----] [SCAL] (1) vol.ports[$i1].m_flow = 0.0 ($RES_SIM_131) [----] end if; Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 299] [Calling sys.exit(0), Time elapsed: 7.00810903031379]