Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem1a.T|senTem1b.T|senTem2a.T|senTem2b.T|senTem3a.T|senTem3b.T|senTem4a.T|senTem4b.T|mix1.T|hea1.m_flow|hea2.m_flow|hea3.m_flow|hea4.m_flow|senTem5b.T|senTem5a.T|senTem6b.T|senTem7a.T|senTem7b.T|senTem8a.T|senTem8b.T|mix2.T|hea5.m_flow|hea6.m_flow|hea7.m_flow|hea8.m_flow|che1.y|che2.y|che9.y|che10.y|che3.y|che4.y|che5.y|che6.y|che7.y|che8.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem1a.T|senTem1b.T|senTem2a.T|senTem2b.T|senTem3a.T|senTem3b.T|senTem4a.T|senTem4b.T|mix1.T|hea1.m_flow|hea2.m_flow|hea3.m_flow|hea4.m_flow|senTem5b.T|senTem5a.T|senTem6b.T|senTem7a.T|senTem7b.T|senTem8a.T|senTem8b.T|mix2.T|hea5.m_flow|hea6.m_flow|hea7.m_flow|hea8.m_flow|che1.y|che2.y|che9.y|che10.y|che3.y|che4.y|che5.y|che6.y|che7.y|che8.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 105.7 kB / 16.42 MB, free: 6.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 189.5 kB / 17.36 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.141/1.141, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.908/1.908, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099e-05/1.099e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5816/0.5816, allocations: 300.4 MB / 1.245 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.05807/0.6397, allocations: 50.02 MB / 1.294 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007877/0.6476, allocations: 298.2 kB / 1.294 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.008138/0.6557, allocations: 3.529 MB / 1.297 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.02055/0.6764, allocations: 9.488 MB / 1.307 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01332/0.6897, allocations: 6.708 MB / 1.313 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.02134/0.711, allocations: 20.12 MB / 1.333 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007973/0.719, allocations: 6.213 MB / 1.339 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0136/0.7326, allocations: 7.84 MB / 1.347 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0072/0.7399, allocations: 4.93 MB / 1.351 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001191/0.7411, allocations: 0.5508 MB / 1.352 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009292/0.7504, allocations: 4.683 MB / 1.357 GB, free: 12.75 MB / 1.014 GB Notification: Performance of combineBinaries: time 0.008233/0.7586, allocations: 11.98 MB / 1.368 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of replaceArrayConstructors: time 0.004599/0.7632, allocations: 7.691 MB / 1.376 GB, free: 8.848 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001719/0.7649, allocations: 1.317 MB / 1.377 GB, free: 7.527 MB / 1.029 GB Notification: Performance of FrontEnd: time 0.001317/0.7663, allocations: 243.1 kB / 1.377 GB, free: 7.289 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: 1035 (983) * Number of variables: 1035 (947) Notification: Performance of Bindings: time 0.02399/0.7903, allocations: 30.75 MB / 1.407 GB, free: 8.004 MB / 1.061 GB Notification: Performance of FunctionAlias: time 0.002593/0.7929, allocations: 3.497 MB / 1.411 GB, free: 4.523 MB / 1.061 GB Notification: Performance of Early Inline: time 0.01146/0.8043, allocations: 13.5 MB / 1.424 GB, free: 6.906 MB / 1.076 GB Notification: Performance of simplify1: time 0.0008787/0.8052, allocations: 0.9012 MB / 1.425 GB, free: 6.004 MB / 1.076 GB Notification: Performance of Alias: time 0.02948/0.8347, allocations: 29.14 MB / 1.453 GB, free: 6.941 MB / 1.107 GB Notification: Performance of simplify2: time 0.0008688/0.8356, allocations: 0.6399 MB / 1.454 GB, free: 6.301 MB / 1.107 GB Notification: Performance of Detect States: time 0.002753/0.8384, allocations: 3.164 MB / 1.457 GB, free: 3.09 MB / 1.107 GB Notification: Performance of Events: time 0.001906/0.8403, allocations: 1.7 MB / 1.459 GB, free: 1.367 MB / 1.107 GB Notification: Performance of Partitioning: time 0.003398/0.8437, allocations: 3.662 MB / 1.462 GB, free: 13.05 MB / 1.123 GB Error: Internal error NBResolveSingularities.noIndexReduction failed. (10|10) Unmatched Variables ***************************** [ALGB] (1) protected final Real hea1.vol.dynBal.Hb_flow slice: {} [ALGB] (2) flow Real[2] mix1.ports.m_flow (min = {-1e5 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}) slice: {1} [ALGB] (2) protected final Real[2] hea1.vol.dynBal.ports_H_flow (min = {-1e8 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1000.0 for $i1 in 1:2}) slice: {0} [ALGB] (1) protected Real mix2.dynBal.Hb_flow slice: {} [DER-] (1) final Real $DER.hea4.vol.dynBal.U slice: {} [DER-] (1) final Real $DER.hea6.vol.dynBal.U slice: {} [ALGB] (1) Real hea8.preDro.dp = senTem8a.port_b.p - hea8.preDro.port_b.p (start = hea8.preDro._dp_start, nominal = 200.0) slice: {} [ALGB] (1) protected final Real hea5.vol.dynBal.Hb_flow slice: {} [ALGB] (1) protected final Real hea7.vol.dynBal.Hb_flow slice: {} [ALGB] (1) Real che10.y slice: {} (10|10) Unmatched Equations ***************************** [SCAL] (1) hea6.vol.dynBal.m = 995.586 * hea6.vol.dynBal.fluidVolume ($RES_SIM_354) slice: {} [SCAL] (1) hea2.vol.dynBal.m = 995.586 * hea2.vol.dynBal.fluidVolume ($RES_SIM_536) slice: {} [SCAL] (1) hea8.vol.dynBal.m = 995.586 * hea8.vol.dynBal.fluidVolume ($RES_SIM_280) slice: {} [SCAL] (1) hea4.vol.dynBal.m = 995.586 * hea4.vol.dynBal.fluidVolume ($RES_SIM_461) slice: {} [SCAL] (1) hea5.vol.dynBal.m = 995.586 * hea5.vol.dynBal.fluidVolume ($RES_SIM_395) slice: {} [SCAL] (1) hea1.vol.dynBal.m = 995.586 * hea1.vol.dynBal.fluidVolume ($RES_SIM_593) slice: {} [SCAL] (1) hea7.vol.dynBal.m = 995.586 * hea7.vol.dynBal.fluidVolume ($RES_SIM_321) slice: {} [SCAL] (1) mix2.dynBal.m = 995.586 * mix2.dynBal.fluidVolume ($RES_SIM_243) slice: {} [SCAL] (1) hea3.vol.dynBal.m = 995.586 * hea3.vol.dynBal.fluidVolume ($RES_SIM_502) slice: {} [SCAL] (1) mix1.dynBal.m = 995.586 * mix1.dynBal.fluidVolume ($RES_SIM_424) slice: {}