Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Properties.TransportR32.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.001737/0.001737, allocations: 84.88 kB / 20.82 MB, free: 3.648 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.001884/0.001884, allocations: 169 kB / 24.24 MB, free: 232 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.724/1.724, allocations: 177.1 MB / 204.7 MB, free: 5.441 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.09326/0.09326, allocations: 11.38 MB / 272.5 MB, free: 2.199 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.Validation.Properties.TransportR32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Properties.TransportR32") translateModel(HelmholtzMedia.Validation.Properties.TransportR32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Properties.TransportR32") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.551e-05, allocations: 3.516 kB / 291.7 MB, free: 17.6 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.TransportR32): time 0.06715/0.06716, allocations: 57.95 MB / 349.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006018/0.07318, allocations: 4.049 MB / 353.7 MB, free: 11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.549e-05/0.07322, allocations: 0 / 353.7 MB, free: 11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006953/0.07391, allocations: 211.7 kB / 353.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.07405, allocations: 51.73 kB / 353.9 MB, free: 10.74 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/Internal/Transport/thermalConductivity_dilute.mo:2:1-86:31:writable] Warning: Pure function 'HelmholtzMedia.Validation.Properties.TransportR32.Medium.Internal.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0271/0.1012, allocations: 9.284 MB / 363.2 MB, free: 1.426 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.1014, allocations: 127.5 kB / 363.4 MB, free: 1.301 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.1015, allocations: 7.938 kB / 363.4 MB, free: 1.293 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.1017, allocations: 91.66 kB / 363.5 MB, free: 1.203 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1018, allocations: 47.88 kB / 363.5 MB, free: 1.156 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.1018, allocations: 4 kB / 363.5 MB, free: 1.152 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02352/0.1253, allocations: 10.1 MB / 373.6 MB, free: 7.039 MB / 330.7 MB Notification: Performance of combineBinaries: time 0.0001804/0.1255, allocations: 99.39 kB / 373.7 MB, free: 6.941 MB / 330.7 MB Notification: Performance of replaceArrayConstructors: time 7.208e-05/0.1256, allocations: 59.59 kB / 373.8 MB, free: 6.883 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.1256, allocations: 11.94 kB / 373.8 MB, free: 6.871 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.501e-05/0.1257, allocations: 4 kB / 373.8 MB, free: 6.867 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 (1) * Number of variables: 11 (11) Notification: Performance of [SIM] Bindings: time 0.0009802/0.1267, allocations: 0.5843 MB / 374.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of [SIM] FunctionAlias: time 4.287e-05/0.1267, allocations: 15.98 kB / 374.4 MB, free: 6.145 MB / 330.7 MB Notification: Performance of [SIM] Early Inline: time 0.0008333/0.1275, allocations: 484.3 kB / 374.9 MB, free: 5.645 MB / 330.7 MB Notification: Performance of [SIM] Simplify 1: time 0.000155/0.1277, allocations: 72.38 kB / 374.9 MB, free: 5.547 MB / 330.7 MB Notification: Performance of [SIM] Alias: time 0.0002355/0.1279, allocations: 148.5 kB / 375.1 MB, free: 5.352 MB / 330.7 MB Notification: Performance of [SIM] Simplify 2: time 0.0001217/0.128, allocations: 80.36 kB / 375.1 MB, free: 5.246 MB / 330.7 MB Notification: Performance of [SIM] Remove Stream: time 0.0001129/0.1282, allocations: 80.38 kB / 375.2 MB, free: 5.141 MB / 330.7 MB Notification: Performance of [SIM] Detect States: time 0.000259/0.1284, allocations: 164.9 kB / 375.4 MB, free: 4.914 MB / 330.7 MB Notification: Performance of [SIM] Events: time 0.0001004/0.1285, allocations: 47.95 kB / 375.4 MB, free: 4.867 MB / 330.7 MB Notification: Performance of [SIM] Partitioning: time 0.0002697/0.1288, allocations: 154.9 kB / 375.6 MB, free: 4.684 MB / 330.7 MB Error: Internal error NBSorting.tarjan failed to sort system: System Variables (11/11) ************************** (1|1) [ALGB] (1) protected Real state.d (start = 424.435691726, min = 2.220446049250313e-16, max = 1491.0, nominal = 1.0) (2|2) [DISC] (1) protected Integer state.phase (start = 0, min = 0, max = 2) (3|3) [ALGB] (1) protected Real state.s (start = 4220.0, min = -370.0, max = 8810.0, nominal = 1000.0) (4|4) [DISC] (1) Integer nFailed (5|5) [DISC] (1) protected Real err (6|6) [DISC] (1) protected Real lambda (7|7) [ALGB] (1) protected Real state.u (min = -1e8, max = 1e8, nominal = 1e6) (8|8) [ALGB] (1) protected Real state.h (start = 335500.0, min = -34000.0, max = 705000.0, nominal = 1e6) (9|9) [ALGB] (1) protected Real state.T (start = 298.15, min = 136.34, max = 435.0, nominal = 300.0) (10|10) [DISC] (1) protected Real eta (11|11) [ALGB] (1) protected Real state.p (start = 101325.0, min = 0.0, max = 7e7, nominal = 1e5) System Equations (1/5) ************************ (1|1) [ALGO] (5) ($RES_SIM_0) (1|1) [----] when initial() then (1|1) [----] nFailed := 0; (1|1) [----] Modelica.Utilities.Files.remove(\"transportR32.txt\"); (1|1) [----] for i in 1:7 loop (1|1) [----] state := HelmholtzMedia.Validation.Properties.TransportR32.Medium.setState_dTX(({1e-6, 10.0, 1100.0, 1150.0, 50.0, 424.0, 424.0})[i], ({300.0, 300.0, 300.0, 250.0, 400.0, 351.5, 360.0})[i], {1.0}, 0); (1|1) [----] eta := 1e6 * HelmholtzMedia.Validation.Properties.TransportR32.Medium.Internal.Transport.dynamicViscosity(state.d, state.T, state.phase); (1|1) [----] lambda := 1000.0 * HelmholtzMedia.Validation.Properties.TransportR32.Medium.Internal.Transport.thermalConductivity(state.d, state.T, state.phase); (1|1) [----] if i <= 3 then (1|1) [----] err := (-1.0) + eta / ({12.617, 12.6333, 173.431})[i]; (1|1) [----] if abs(err) > 2e-5 then (1|1) [----] nFailed := 1 + nFailed; (1|1) [----] end if; (1|1) [----] else (1|1) [----] err := 0.0; (1|1) [----] end if; (1|1) [----] Modelica.Utilities.Streams.print(\"T=\" + String(({300.0, 300.0, 300.0, 250.0, 400.0, 351.5, 360.0})[i], 15, 0, true) + \" d=\" + String(({1e-6, 10.0, 1100.0, 1150.0, 50.0, 424.0, 424.0})[i], 15, 0, true) + \" eta=\" + String(eta, 12, 0, true) + \" lambda=\" + String(lambda, 12, 0, true) + \" eta_rel_err=\" + String(err, 6, 0, true), \"transportR32.txt\"); (1|1) [----] end for; (1|1) [----] Modelica.Utilities.Streams.print(\"nFailed=\" + String(nFailed, 0, true), \"transportR32.txt\"); (1|1) [----] assert(nFailed == 0, \"TransportR32: \" + String(nFailed, 0, true) + \" viscosity check values not met, see \" + \"transportR32.txt\", AssertionLevel.error); (1|1) [----] end when; =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 3 var 2 --> eqn -1 var 3 --> eqn -1 var 4 --> eqn -1 var 5 --> eqn -1 var 6 --> eqn 2 var 7 --> eqn -1 var 8 --> eqn 1 var 9 --> eqn 4 var 10 --> eqn -1 var 11 --> eqn 5 equation to variable ********************** eqn 1 --> var 8 eqn 2 --> var 6 eqn 3 --> var 1 eqn 4 --> var 9 eqn 5 --> var 11 " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.747686617076397]