Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.PumpingSystem.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.002076/0.002076, allocations: 84.88 kB / 20.82 MB, free: 3.652 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.002779/0.002779, allocations: 169 kB / 24.24 MB, free: 236 kB / 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.691/1.691, allocations: 177.1 MB / 204.7 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.08567/0.08567, allocations: 11.37 MB / 272.5 MB, free: 2.207 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.PumpingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.PumpingSystem") translateModel(HelmholtzMedia.Examples.PumpingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.PumpingSystem") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.312e-05/1.312e-05, allocations: 3.297 kB / 291.7 MB, free: 17.61 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.PumpingSystem): time 0.07806/0.07807, allocations: 67.26 MB / 359 MB, free: 5.703 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0767/0.1548, allocations: 53.47 MB / 412.4 MB, free: 88 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.1561, allocations: 51.62 kB / 412.5 MB, free: 36 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.1578, allocations: 0.6058 MB / 413.1 MB, free: 15.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05854/0.2163, allocations: 19.57 MB / 432.7 MB, free: 11.76 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02126/0.2376, allocations: 7.464 MB / 440.1 MB, free: 4.273 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.1751/0.4127, allocations: 5.45 MB / 445.6 MB, free: 35.88 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003445/0.4161, allocations: 1.184 MB / 446.8 MB, free: 35.82 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.06248/0.4786, allocations: 49.5 MB / 496.3 MB, free: 27.38 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03175/0.5104, allocations: 28.33 MB / 0.5123 GB, free: 3.715 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004696/0.5108, allocations: 132 kB / 0.5124 GB, free: 3.586 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03925/0.5501, allocations: 18.38 MB / 0.5304 GB, free: 6.766 MB / 410.7 MB Notification: Performance of combineBinaries: time 0.005458/0.5555, allocations: 3.156 MB / 0.5335 GB, free: 4.543 MB / 410.7 MB Notification: Performance of replaceArrayConstructors: time 0.002619/0.5582, allocations: 1.861 MB / 0.5353 GB, free: 2.969 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009902/0.5592, allocations: 180 kB / 0.5355 GB, free: 2.793 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.0003428/0.5595, allocations: 30.03 kB / 0.5355 GB, free: 2.77 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 (230) * Number of variables: 391 (331) Notification: Performance of [SIM] Bindings: time 0.01552/0.575, allocations: 11.07 MB / 0.5463 GB, free: 9.723 MB / 426.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.003812/0.5788, allocations: 2.323 MB / 0.5486 GB, free: 7.48 MB / 426.7 MB Notification: Performance of [SIM] Early Inline: time 0.01928/0.5981, allocations: 12.86 MB / 0.5611 GB, free: 11.04 MB / 442.7 MB Notification: Performance of [SIM] Simplify 1: time 0.001792/0.5999, allocations: 0.855 MB / 0.562 GB, free: 10.17 MB / 442.7 MB 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.01345/0.6134, allocations: 8.056 MB / 0.5698 GB, free: 1.957 MB / 442.7 MB Notification: Performance of [SIM] Simplify 2: time 0.001515/0.6149, allocations: 0.7805 MB / 0.5706 GB, free: 1.156 MB / 442.7 MB Notification: Performance of [SIM] Remove Stream: time 0.001078/0.6159, allocations: 0.7164 MB / 0.5713 GB, free: 408 kB / 442.7 MB Notification: Performance of [SIM] Detect States: time 0.003598/0.6195, allocations: 2.56 MB / 0.5738 GB, free: 13.81 MB / 458.7 MB Notification: Performance of [SIM] Events: time 0.001582/0.6211, allocations: 1.121 MB / 0.5749 GB, free: 12.75 MB / 458.7 MB Notification: Performance of [SIM] Partitioning: time 0.006634/0.6278, allocations: 3.955 MB / 0.5787 GB, free: 8.484 MB / 458.7 MB Notification: Performance of [SIM] Causalize: time 0.02146/0.6492, allocations: 11.22 MB / 0.5897 GB, free: 13.23 MB / 474.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01345/0.6627, allocations: 10.51 MB / 0.6 GB, free: 3.137 MB / 474.7 MB Notification: Performance of [INI] Simplify: time 0.2104/0.8731, allocations: 3.72 MB / 0.6036 GB, free: 92.13 MB / 474.7 MB Notification: Performance of [INI] Inline: time 0.02138/0.8944, allocations: 15.93 MB / 0.6192 GB, free: 92.05 MB / 474.7 MB Notification: Performance of [INI] Partitioning: time 0.0006935/0.8951, allocations: 163.3 kB / 0.6193 GB, free: 91.96 MB / 474.7 MB Notification: Performance of [INI] Cleanup: time 0.003403/0.8985, allocations: 3.246 MB / 0.6225 GB, free: 91.91 MB / 474.7 MB Notification: Performance of [INI] Causalize: time 0.03931/0.9378, allocations: 23.67 MB / 0.6456 GB, free: 88.33 MB / 474.7 MB Error: Internal error NBSorting.tarjan failed to sort system: System Variables (10/18) ************************** (1|1) [DISC] (2) input Integer[2] pipe.flowModel.states.phase (start = {0 for $f1 in 1:2}, min = {0 for $f3 in 1:2}, max = {2 for $f2 in 1:2}) (2|3) [ALGB] (2) input Real[2] pipe.flowModel.states.T (start = {298.15 for $f5 in 1:2}, min = {159.0 for $f7 in 1:2}, max = {650.0 for $f6 in 1:2}, nominal = {300.0 for $f4 in 1:2}) (3|5) [ALGB] (2) input Real[2] pipe.flowModel.states.p (start = {101325.0 for $f12 in 1:2}, min = {0.0 for $f14 in 1:2}, max = {2.8e8 for $f13 in 1:2}, nominal = {1e5 for $f11 in 1:2}) (4|7) [ALGB] (2) input Real[2] pipe.flowModel.states.d (start = {1.0 for $f19 in 1:2}, min = {2.220446049250313e-16 for $f21 in 1:2}, max = {1031.0 for $f20 in 1:2}, nominal = {1.0 for $f18 in 1:2}) (5|9) [DISC] (3) protected Boolean[3] reservoir.inFlow (start = {false for $f1 in 1:3}) (6|12) [ALGB] (1) Real $FUN_79.d (7|13) [ALGB] (1) Real $FUN_79.p (8|14) [ALGB] (1) Real $FUN_79.T (9|15) [DISC] (1) Integer $FUN_79.phase (10|16) [DISC] (3) Boolean[3] $SEV_7 System Equations (3/13) ************************* (1|1) [FOR-] (3) ($RES_SIM_61) (1|1) [----] for $i1 in 1:3 loop (1|1) [----] [SCAL] (1) reservoir.inFlow[$i1] = $SEV_7[$i1]; ($RES_SIM_62) (1|1) [----] end for; (2|4) [RECD] (7) pipe.flowModel.states[2] = $FUN_79; ($RES_SIM_378) (3|11) [FOR-] (3) ($RES_EVT_661) (3|11) [----] for $i1 in 1:3 loop (3|11) [----] [SCAL] (1) $SEV_7[$i1] = not reservoir.regularFlow[$i1] and (reservoir.s[$i1] > 0.0 or reservoir.portsData[$i1].height >= reservoir.fluidLevel_max); ($RES_EVT_662) (3|11) [----] end for; =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn -1 var 2 --> eqn -1 var 3 --> eqn -1 var 4 --> eqn -1 var 5 --> eqn -1 var 6 --> eqn -1 var 7 --> eqn -1 var 8 --> eqn -1 var 9 --> eqn 1 var 10 --> eqn 2 var 11 --> eqn 3 var 12 --> eqn -1 var 13 --> eqn -1 var 14 --> eqn -1 var 15 --> eqn -1 var 16 --> eqn 11 var 17 --> eqn 12 var 18 --> eqn 13 equation to variable ********************** eqn 1 --> var 9 eqn 2 --> var 10 eqn 3 --> var 11 eqn 4 --> var -1 eqn 5 --> var -1 eqn 6 --> var -1 eqn 7 --> var -1 eqn 8 --> var -1 eqn 9 --> var -1 eqn 10 --> var -1 eqn 11 --> var 16 eqn 12 --> var 17 eqn 13 --> var 18 Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.469263934530318]