Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 106.5 kB / 16.42 MB, free: 6.031 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.001126/0.001126, allocations: 183.7 kB / 17.35 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2545/0.2545, allocations: 54.96 MB / 325.5 MB, free: 4.848 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.365e-05, allocations: 2.281 kB / 456.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002649/0.002681, allocations: 1.689 MB / 458.5 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.4025/0.4052, allocations: 149.6 MB / 0.5939 GB, free: 12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.8e-05/0.4053, allocations: 2.875 kB / 0.5939 GB, free: 12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.4055, allocations: 19.11 kB / 0.5939 GB, free: 11.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.915e-05/0.4055, allocations: 28.59 kB / 0.5939 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.4061, allocations: 204.8 kB / 0.5941 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.4063, allocations: 178.5 kB / 0.5943 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.4064, allocations: 38.52 kB / 0.5943 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.4066, allocations: 87.09 kB / 0.5944 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.4067, allocations: 66.94 kB / 0.5945 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.4067, allocations: 13.06 kB / 0.5945 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002455/0.407, allocations: 182.7 kB / 0.5947 GB, free: 11.68 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.0001469/0.4071, allocations: 179.8 kB / 0.5948 GB, free: 11.58 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 4.71e-05/0.4072, allocations: 96.75 kB / 0.5949 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.4072, allocations: 20.25 kB / 0.595 GB, free: 11.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.305e-05/0.4072, allocations: 3.312 kB / 0.595 GB, free: 11.51 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 (19) * Number of variables: 19 (19) Notification: Performance of Bindings: time 0.0005422/0.4078, allocations: 0.5853 MB / 0.5955 GB, free: 11.1 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0001103/0.4079, allocations: 64.56 kB / 0.5956 GB, free: 11.08 MB / 430.1 MB Notification: Performance of Early Inline: time 0.0004787/0.4084, allocations: 0.5389 MB / 0.5961 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simplify1: time 4.937e-05/0.4084, allocations: 59.92 kB / 0.5962 GB, free: 10.86 MB / 430.1 MB Notification: Performance of Alias: time 0.0005653/0.409, allocations: 488.9 kB / 0.5966 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simplify2: time 4.62e-05/0.4091, allocations: 48.05 kB / 0.5967 GB, free: 10.55 MB / 430.1 MB Notification: Performance of Events: time 0.0001601/0.4092, allocations: 121.1 kB / 0.5968 GB, free: 10.5 MB / 430.1 MB Notification: Performance of Detect States: time 0.000151/0.4094, allocations: 147.2 kB / 0.5969 GB, free: 10.43 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0001268/0.4095, allocations: 131.5 kB / 0.5971 GB, free: 10.38 MB / 430.1 MB Notification: Performance of Causalize: time 0.0006927/0.4102, allocations: 0.7611 MB / 0.5978 GB, free: 10.18 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003369/0.4106, allocations: 436.4 kB / 0.5982 GB, free: 10.02 MB / 430.1 MB Notification: Performance of Inline: time 0.0006178/0.4112, allocations: 0.7413 MB / 0.599 GB, free: 9.648 MB / 430.1 MB Notification: Performance of Partitioning: time 2.86e-05/0.4112, allocations: 26.3 kB / 0.599 GB, free: 9.625 MB / 430.1 MB Notification: Performance of Cleanup: time 3.409e-05/0.4113, allocations: 39.64 kB / 0.599 GB, free: 9.594 MB / 430.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [ALGO] (1) ($RES_SIM_0) [----] wetBulApp.iWat := -1; [----] for i in 1:2 loop [----] if Modelica.Utilities.Strings.compare(({"water", "air"})[i], "Water", false) == Modelica.Utilities.Types.Compare.Equal then [----] wetBulApp.iWat := i; [----] end if; [----] end for; [----] assert(wetBulApp.iWat > 0, "Did not find medium species 'water' in the medium model. Change medium model.", AssertionLevel.error); slice: {}; [ALGO] (1) ($RES_SIM_1) [----] wetBul.iWat := -1; [----] for i in 1:2 loop [----] if Modelica.Utilities.Strings.compare(({"water", "air"})[i], "Water", false) == Modelica.Utilities.Types.Compare.Equal then [----] wetBul.iWat := i; [----] end if; [----] end for; [----] assert(wetBul.iWat > 0, "Did not find medium species 'water' in the medium model. Change medium model.", AssertionLevel.error); slice: {}; Notification: Performance of Causalize: time 0.001553/0.4128, allocations: 1.446 MB / 0.6004 GB, free: 8.766 MB / 430.1 MB Notification: Performance of Tearing: time 0.0005862/0.4134, allocations: 0.6207 MB / 0.601 GB, free: 8.188 MB / 430.1 MB Notification: Performance of Initialization: time 5.41e-07/0.4134, allocations: 0 / 0.601 GB, free: 8.188 MB / 430.1 MB Notification: Performance of Tearing: time 0.0002275/0.4137, allocations: 325.1 kB / 0.6013 GB, free: 7.898 MB / 430.1 MB Notification: Performance of Categorize: time 8.115e-06/0.4137, allocations: 7.938 kB / 0.6014 GB, free: 7.891 MB / 430.1 MB Notification: Performance of Solve: time 0.0004802/0.4142, allocations: 0.5742 MB / 0.6019 GB, free: 7.461 MB / 430.1 MB Notification: Performance of Jacobian: time 2.715e-06/0.4142, allocations: 0 / 0.6019 GB, free: 7.461 MB / 430.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (6) {$SEV_4, $SEV_3, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 17 (scalar:17, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 16 (scalar:16, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 0, nonlinear:3) Notification: Performance of backend: time 3.257e-05/0.4142, allocations: 20.94 kB / 0.6019 GB, free: 7.453 MB / 430.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBEvents.mo:675:7-675:120:writable] Error: Internal error UnorderedMap.getSafe failed because the key did not exist.