Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 2.571e-05/2.572e-05, allocations: 2.281 kB / 0.5922 GB, free: 18.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002587/0.002621, allocations: 1.681 MB / 0.5939 GB, free: 17.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.177/0.1797, allocations: 149.6 MB / 0.74 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.1799, allocations: 4 kB / 0.74 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.1801, allocations: 19.8 kB / 0.74 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.213e-05/0.1802, allocations: 23.78 kB / 0.74 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007089/0.1809, allocations: 191.3 kB / 0.7402 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.1812, allocations: 159.5 kB / 0.7404 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.1814, allocations: 27.98 kB / 0.7404 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.1815, allocations: 83.75 kB / 0.7405 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.1817, allocations: 63.81 kB / 0.7405 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.1817, allocations: 8 kB / 0.7405 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003035/0.182, allocations: 179.7 kB / 0.7407 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.000175/0.1822, allocations: 166.3 kB / 0.7409 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 6.022e-05/0.1823, allocations: 94.69 kB / 0.741 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.1823, allocations: 15.94 kB / 0.741 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.967e-05/0.1823, allocations: 4 kB / 0.741 GB, free: 10.05 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 (17) * Number of variables: 17 (17) Notification: Performance of Bindings: time 0.0006701/0.183, allocations: 0.5427 MB / 0.7415 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0001651/0.1832, allocations: 79.75 kB / 0.7416 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.0005912/0.1838, allocations: 0.496 MB / 0.7421 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of simplify1: time 4.903e-05/0.1839, allocations: 43.89 kB / 0.7421 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of Alias: time 0.0006409/0.1845, allocations: 446.9 kB / 0.7425 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of simplify2: time 4.729e-05/0.1846, allocations: 43.94 kB / 0.7426 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of Events: time 0.0001953/0.1848, allocations: 123.6 kB / 0.7427 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0001585/0.1849, allocations: 134.7 kB / 0.7428 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0001416/0.1851, allocations: 125.2 kB / 0.7429 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of Causalize: time 0.000765/0.1858, allocations: 0.7013 MB / 0.7436 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0003743/0.1862, allocations: 408 kB / 0.744 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of Inline: time 0.0006724/0.1869, allocations: 0.6871 MB / 0.7447 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of Partitioning: time 2.86e-05/0.187, allocations: 24.11 kB / 0.7447 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of Cleanup: time 4.953e-05/0.187, allocations: 35.89 kB / 0.7447 GB, free: 5.895 MB / 0.5762 GB 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.001588/0.1886, allocations: 1.335 MB / 0.746 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of Tearing: time 0.0003516/0.189, allocations: 338.1 kB / 0.7464 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of Initialization: time 3.91e-07/0.189, allocations: 0 / 0.7464 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of Tearing: time 0.0002283/0.1892, allocations: 270.4 kB / 0.7466 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of Categorize: time 9.889e-06/0.1892, allocations: 4.031 kB / 0.7466 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of Solve: time 0.000754/0.19, allocations: 0.9001 MB / 0.7475 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of Jacobian: time 4.468e-06/0.19, allocations: 0 / 0.7475 GB, free: 2.84 MB / 0.5762 GB 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.644e-05/0.19, allocations: 25.66 kB / 0.7475 GB, free: 2.816 MB / 0.5762 GB [/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.