Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.DHC.Networks.Steam.Examples.DistributionCondensatePipe.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.00198/0.00198, allocations: 80.88 kB / 21.56 MB, free: 2.934 MB / 18.57 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.002312/0.002312, allocations: 165.2 kB / 24.97 MB, free: 8.711 MB / 18.57 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.65/1.65, allocations: 177.1 MB / 205.4 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.399/3.399, allocations: 389.5 MB / 0.6361 GB, free: 13.41 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Networks.Steam.Examples.DistributionCondensatePipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Networks.Steam.Examples.DistributionCondensatePipe") translateModel(Buildings.DHC.Networks.Steam.Examples.DistributionCondensatePipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Networks.Steam.Examples.DistributionCondensatePipe") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.764e-05, allocations: 9.906 kB / 0.776 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.DistributionCondensatePipe): time 0.7257/0.7257, allocations: 171 MB / 0.943 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.05906/0.7848, allocations: 21.05 MB / 0.9635 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007816/0.7926, allocations: 194.4 kB / 0.9637 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.007854/0.8005, allocations: 1.953 MB / 0.9656 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.01477/0.8152, allocations: 4.119 MB / 0.9696 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.008656/0.8239, allocations: 2.831 MB / 0.9724 GB, free: 8.664 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.04958/0.8735, allocations: 29.46 MB / 1.001 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.014/0.8875, allocations: 5.371 MB / 1.006 GB, free: 5.684 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0321/0.9196, allocations: 11.05 MB / 1.017 GB, free: 10.63 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01207/0.9317, allocations: 5.703 MB / 1.023 GB, free: 4.922 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.002865/0.9345, allocations: 412 kB / 1.023 GB, free: 4.52 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01685/0.9514, allocations: 5.057 MB / 1.028 GB, free: 15.46 MB / 0.948 GB Notification: Performance of combineBinaries: time 0.01906/0.9704, allocations: 9.271 MB / 1.037 GB, free: 6.152 MB / 0.948 GB Notification: Performance of replaceArrayConstructors: time 0.008863/0.9793, allocations: 5.217 MB / 1.042 GB, free: 0.9141 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.003049/0.9823, allocations: 300 kB / 1.043 GB, free: 0.6211 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.0009932/0.9833, allocations: 95.66 kB / 1.043 GB, free: 0.5273 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 670 (504) * Number of variables: 670 (345) Notification: Performance of [SIM] Bindings: time 0.06839/1.052, allocations: 32.52 MB / 1.074 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of [SIM] FunctionAlias: time 0.01046/1.062, allocations: 4.766 MB / 1.079 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of [SIM] Early Inline: time 0.0431/1.105, allocations: 17.7 MB / 1.096 GB, free: 8.855 MB / 1.01 GB Notification: Performance of [SIM] Simplify 1: time 0.005908/1.111, allocations: 1.801 MB / 1.098 GB, free: 6.93 MB / 1.01 GB Warning: NBAlias.selectStartByConfidence: Alias set with conflicting unfixed start values of equal confidence detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.02696/1.138, allocations: 10.75 MB / 1.109 GB, free: 11.49 MB / 1.026 GB Notification: Performance of [SIM] Simplify 2: time 0.004656/1.143, allocations: 1.61 MB / 1.11 GB, free: 9.793 MB / 1.026 GB Notification: Performance of [SIM] Remove Stream: time 0.004062/1.147, allocations: 1.477 MB / 1.112 GB, free: 8.227 MB / 1.026 GB Notification: Performance of [SIM] Detect States: time 0.008335/1.155, allocations: 3.486 MB / 1.115 GB, free: 4.637 MB / 1.026 GB Notification: Performance of [SIM] Events: time 0.002977/1.158, allocations: 1.263 MB / 1.116 GB, free: 3.363 MB / 1.026 GB Notification: Performance of [SIM] Partitioning: time 0.01371/1.172, allocations: 4.753 MB / 1.121 GB, free: 14.29 MB / 1.042 GB Error: Internal error NBResolveSingularities.indexReduction failed because there was not enough state candidates to balance out the constraint equations. Constraint Equations (7/11) ***************************** (1) [FOR-] (2) ($RES_SIM_229) (1) [----] for $i1 in 1:2 loop (1) [----] [SCAL] (1) bui[$i1].pumCNR.vol.dynBal.medium.state.T = bui[$i1].pumCNR.vol.dynBal.medium.T; ($RES_SIM_230) (1) [----] end for; (2) [FOR-] (2) ($RES_SIM_213) (2) [----] for $i1 in 1:2 loop (2) [----] [SCAL] (1) bui[$i1].pumCNR.vol.dynBal.UOut = bui[$i1].pumCNR.vol.dynBal.m * bui[$i1].pumCNR.vol.dynBal.medium.u; ($RES_SIM_214) (2) [----] end for; (3) [FOR-] (2) ($RES_SIM_233) (3) [----] for $i1 in 1:2 loop (3) [----] [SCAL] (1) bui[$i1].pumCNR.vol.dynBal.medium.u = bui[$i1].pumCNR.vol.dynBal.hOut - 3e5 / bui[$i1].pumCNR.vol.dynBal.medium.d; ($RES_SIM_234) (3) [----] end for; (4) [SCAL] (1) dis.con[2].junConSup.port_2.p = dis.con[2].junConSup.res2.port_b.p; ($RES_SIM_598) (5) [SCAL] (1) dis.con[2].junConSup.res3.port_a.p = dis.con[2].junConSup.res2.port_a.p; ($RES_SIM_608) (6) [FOR-] (2) ($RES_SIM_235) (6) [----] for $i1 in 1:2 loop (6) [----] [SCAL] (1) bui[$i1].pumCNR.vol.dynBal.hOut = 4184.0 * ((-273.15) + bui[$i1].pumCNR.vol.dynBal.medium.T); ($RES_SIM_236) (6) [----] end for; (7) [SCAL] (1) dis.con[2].junConSup.port_2.p = dis.con[2].port_bDisSup.p; ($RES_SIM_532) State Candidate Variables (5/10) ********************************** (1) [STAT] (2) protected Real[2] bui.pumCNR.vol.dynBal.UOut (start = {Buildings.DHC.Networks.Steam.Examples.DistributionCondensatePipe.dis.con.junConRet.vol.dynBal.Medium.specificInternalEnergy(Buildings.DHC.Networks.Steam.Examples.DistributionCondensatePipe.MediumWat.setState_pTX(bui[$bui1].pumCNR.vol.dynBal.p_start, bui[$bui1].pumCNR.vol.dynBal.T_start, {})) * bui[$bui1].pumCNR.vol.dynBal.fluidVolume * bui[$bui1].pumCNR.vol.dynBal.rho_start + bui[$bui1].pumCNR.vol.dynBal.CSen * ((-273.15) + bui[$bui1].pumCNR.vol.dynBal.T_start) for $bui1 in 1:2}) (2) [STAT] (2) protected Real[2] bui.pumCNR.vol.dynBal.medium.state.T (start = {293.15 for $f2 in 1:2}, min = {1.0 for $f4 in 1:2}, max = {1e4 for $f3 in 1:2}, nominal = {300.0 for $f1 in 1:2}) (3) [ALGB] (2) protected Real[2] bui.pumCNR.vol.dynBal.medium.T (start = {bui[$bui1].pumCNR.vol.dynBal.T_start for $bui1 in 1:2}, min = {1.0 for $f3 in 1:2}, max = {1e4 for $f2 in 1:2}, nominal = {300.0 for $f1 in 1:2}) (4) [ALGB] (2) protected Real[2] bui.pumCNR.vol.dynBal.medium.u (min = {-1e8 for $f3 in 1:2}, max = {1e8 for $f2 in 1:2}, nominal = {1e6 for $f1 in 1:2}) (5) [ALGB] (2) protected Real[2] bui.pumCNR.vol.dynBal.hOut (start = {bui[$bui1].pumCNR.vol.dynBal.hStart for $bui1 in 1:2}, nominal = {83680.0 for $bui1 in 1:2}) " [Timeout remaining time 299] [Calling sys.exit(0), Time elapsed: 7.486349273473024]