Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.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.001408/0.001408, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001899/0.001899, allocations: 218.6 kB / 23.07 MB, free: 4.844 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.384/1.384, allocations: 230.6 MB / 256.9 MB, free: 7.734 MB / 206.1 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.04825/0.04825, allocations: 9.135 MB / 322.4 MB, free: 10.17 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.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.BranchingDynamicPipes,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes") translateModel(HelmholtzMedia.Examples.BranchingDynamicPipes,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.002e-05, allocations: 2.281 kB / 447.9 MB, free: 12 kB / 302.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BranchingDynamicPipes): time 0.9708/0.9708, allocations: 405 MB / 0.8328 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.84/1.811, allocations: 336.2 MB / 1.161 GB, free: 0.7422 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005715/1.817, allocations: 142.9 kB / 1.161 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.01659/1.833, allocations: 4.995 MB / 1.166 GB, free: 11.59 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeBindings: time 0.1312/1.964, allocations: 46.75 MB / 1.212 GB, free: 12.79 MB / 0.7637 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/Transport/thermalConductivity_dilute.mo:2:1-75:31:writable] Warning: Pure function 'HelmholtzMedia.Examples.BranchingDynamicPipes.pipe2.heatTransfer.Medium.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.6478/2.612, allocations: 52.42 MB / 1.263 GB, free: 38.82 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0265/2.639, allocations: 19.57 MB / 1.282 GB, free: 38.82 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009739/2.648, allocations: 3.371 MB / 1.285 GB, free: 38.76 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01786/2.666, allocations: 7.874 MB / 1.293 GB, free: 38.76 MB / 0.795 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:621:5-621:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFSimplifyModel.simplify: time 0.07789/2.744, allocations: 67.9 MB / 1.359 GB, free: 34.91 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001679/2.746, allocations: 292 kB / 1.36 GB, free: 34.63 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1071/2.853, allocations: 62.37 MB / 1.421 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.01234/2.865, allocations: 8.933 MB / 1.429 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.006555/2.872, allocations: 5.479 MB / 1.435 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002238/2.874, allocations: 295 kB / 1.435 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of FrontEnd: time 0.0006126/2.875, allocations: 60.5 kB / 1.435 GB, free: 3.516 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2409 (399) * Number of variables: 2409 (579) Notification: Performance of [SIM] Bindings: time 0.03637/2.911, allocations: 31.79 MB / 1.466 GB, free: 11.75 MB / 0.8419 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1505:5-1505:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i24 [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1505:5-1505:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i38 [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1505:5-1505:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i58 [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1505:5-1505:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i72 Notification: Performance of [SIM] FunctionAlias: time 0.00568/2.917, allocations: 4.314 MB / 1.47 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of [SIM] Early Inline: time 0.02454/2.941, allocations: 20.93 MB / 1.491 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of [SIM] Simplify 1: time 0.00669/2.948, allocations: 2.626 MB / 1.493 GB, free: 3.578 MB / 0.8575 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.02104/2.969, allocations: 13.73 MB / 1.507 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of [SIM] Simplify 2: time 0.004353/2.973, allocations: 2.525 MB / 1.509 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of [SIM] Remove Stream: time 0.002738/2.976, allocations: 2.128 MB / 1.511 GB, free: 1.062 MB / 0.8731 GB Notification: Performance of [SIM] Detect States: time 0.003985/2.98, allocations: 3.599 MB / 1.515 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of [SIM] Events: time 0.001571/2.982, allocations: 1.105 MB / 1.516 GB, free: 12.47 MB / 0.8887 GB Error: Internal error NBPartitioning.partitioningClocked (ODE) failed because the following variables could not be assigned to a partition: {[ALGB] (1) Real boundary4.medium.sat.vap.s (start = 5e59, min = 0.52129, max = 1e60, nominal = 1000.0) [ALGB] (1) Real boundary4.medium.sat.vap.u (min = -1e8, max = 1e8, nominal = 1e6) [ALGB] (1) Real boundary4.medium.sat.vap.d (start = 467.6, min = 2.2250738585072014e-308, max = 1638.9, nominal = 1.0) [ALGB] (1) Real boundary4.medium.sat.vap.p (start = 101325.0, min = 0.0, max = 8.01e8, nominal = 1e5) [ALGB] (1) Real boundary4.medium.sat.vap.T (start = 298.15, min = 216.592, max = 2000.0, nominal = 300.0) [DISC] (1) Integer boundary4.medium.sat.vap.phase (start = 0, min = 0, max = 2) [ALGB] (1) Real boundary4.medium.sat.liq.s (start = 5e59, min = 0.52129, max = 1e60, nominal = 1000.0) [ALGB] (1) Real boundary4.medium.sat.liq.u (min = -1e8, max = 1e8, nominal = 1e6) [ALGB] (1) Real boundary4.medium.sat.liq.d (start = 467.6, min = 2.2250738585072014e-308, max = 1638.9, nominal = 1.0) [ALGB] (1) Real boundary4.medium.sat.liq.p (start = 101325.0, min = 0.0, max = 8.01e8, nominal = 1e5) [ALGB] (1) Real boundary4.medium.sat.liq.T (start = 298.15, min = 216.592, max = 2000.0, nominal = 300.0) [DISC] (1) Integer boundary4.medium.sat.liq.phase (start = 0, min = 0, max = 2) [ALGB] (1) Real boundary1.medium.sat.vap.s (start = 5e59, min = 0.52129, max = 1e60, nominal = 1000.0) [ALGB] (1) Real boundary1.medium.sat.vap.u (min = -1e8, max = 1e8, nominal = 1e6) [ALGB] (1) Real boundary1.medium.sat.vap.d (start = 467.6, min = 2.2250738585072014e-308, max = 1638.9, nominal = 1.0) [ALGB] (1) Real boundary1.medium.sat.vap.p (start = 101325.0, min = 0.0, max = 8.01e8, nominal = 1e5) [ALGB] (1) Real boundary1.medium.sat.vap.T (start = 298.15, min = 216.592, max = 2000.0, nominal = 300.0) [DISC] (1) Integer boundary1.medium.sat.vap.phase (start = 0, min = 0, max = 2) [ALGB] (1) Real boundary1.medium.sat.liq.s (start = 5e59, min = 0.52129, max = 1e60, nominal = 1000.0) [ALGB] (1) Real boundary1.medium.sat.liq.u (min = -1e8, max = 1e8, nominal = 1e6) [ALGB] (1) Real boundary1.medium.sat.liq.d (start = 467.6, min = 2.2250738585072014e-308, max = 1638.9, nominal = 1.0) [ALGB] (1) Real boundary1.medium.sat.liq.p (start = 101325.0, min = 0.0, max = 8.01e8, nominal = 1e5) [ALGB] (1) Real boundary1.medium.sat.liq.T (start = 298.15, min = 216.592, max = 2000.0, nominal = 300.0) [DISC] (1) Integer boundary1.medium.sat.liq.phase (start = 0, min = 0, max = 2)} " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.301818404986989] Failed to read output from testmodel.py, exit status != 0: 2.9910784600069746 3.004854351 0.12649120099999994 Calling exit ...