Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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(Buildings.Utilities.Reports.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer") translateModel(Buildings.Utilities.Reports.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009975/0.0009977, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.000908/0.000908, allocations: 191.3 kB / 17.36 MB, free: 5.566 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.215/1.215, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4288/0.4288, allocations: 95.47 MB / 366.1 MB, free: 12.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.562e-05, allocations: 2.281 kB / 0.5042 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Reports.Examples.Printer): time 0.002272/0.002296, allocations: 1.56 MB / 0.5057 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.003491, allocations: 0.7216 MB / 0.5064 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.074e-05/0.003554, allocations: 8 kB / 0.5064 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.746e-05/0.003657, allocations: 15.86 kB / 0.5064 GB, free: 9.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.636e-05/0.003717, allocations: 15.75 kB / 0.5065 GB, free: 9.586 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Utilities/Reports/printRealArray.mo:2:1-45:19:writable] Warning: Pure function 'Buildings.Utilities.Reports.printRealArray' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.004119, allocations: 107.7 kB / 0.5066 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.004326, allocations: 151.5 kB / 0.5067 GB, free: 9.332 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.004468, allocations: 37.09 kB / 0.5067 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.465e-05/0.004548, allocations: 55.78 kB / 0.5068 GB, free: 9.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.346e-05/0.004639, allocations: 63.73 kB / 0.5069 GB, free: 9.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.004667, allocations: 12 kB / 0.5069 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.004777, allocations: 51.95 kB / 0.5069 GB, free: 9.113 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0001424/0.004926, allocations: 201.7 kB / 0.5071 GB, free: 8.914 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 6.018e-05/0.004992, allocations: 118.2 kB / 0.5072 GB, free: 8.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.333e-05/0.00504, allocations: 19.94 kB / 0.5072 GB, free: 8.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-05/0.005059, allocations: 7.875 kB / 0.5072 GB, free: 8.77 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 (14) * Number of variables: 14 (11) Notification: Performance of Bindings: time 0.0005244/0.005588, allocations: 0.5391 MB / 0.5078 GB, free: 8.129 MB / 398.1 MB Notification: Performance of FunctionAlias: time 3.363e-05/0.005627, allocations: 23.92 kB / 0.5078 GB, free: 8.105 MB / 398.1 MB Notification: Performance of Early Inline: time 0.0002093/0.005841, allocations: 240.2 kB / 0.508 GB, free: 7.844 MB / 398.1 MB Notification: Performance of simplify1: time 2.272e-05/0.00587, allocations: 15.98 kB / 0.508 GB, free: 7.828 MB / 398.1 MB Notification: Performance of Alias: time 0.0001044/0.005979, allocations: 105.7 kB / 0.5081 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simplify2: time 1.163e-05/0.005996, allocations: 11.98 kB / 0.5082 GB, free: 7.676 MB / 398.1 MB Notification: Performance of Events: time 0.0001476/0.006148, allocations: 91.73 kB / 0.5082 GB, free: 7.586 MB / 398.1 MB Notification: Performance of Detect States: time 0.0002406/0.006396, allocations: 137.8 kB / 0.5084 GB, free: 7.434 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0001355/0.006539, allocations: 127.7 kB / 0.5085 GB, free: 7.281 MB / 398.1 MB Notification: Performance of Causalize: time 0.0006125/0.007157, allocations: 0.561 MB / 0.509 GB, free: 6.691 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002416/0.007408, allocations: 288.7 kB / 0.5093 GB, free: 6.383 MB / 398.1 MB Notification: Performance of Inline: time 0.0003984/0.007812, allocations: 437.2 kB / 0.5097 GB, free: 5.922 MB / 398.1 MB Notification: Performance of Partitioning: time 3.774e-05/0.007858, allocations: 20.12 kB / 0.5098 GB, free: 5.895 MB / 398.1 MB Notification: Performance of Cleanup: time 2.134e-05/0.007884, allocations: 19.92 kB / 0.5098 GB, free: 5.875 MB / 398.1 MB Notification: Performance of Causalize: time 0.0005541/0.008443, allocations: 0.5962 MB / 0.5104 GB, free: 5.277 MB / 398.1 MB Notification: Performance of Tearing: time 6.322e-06/0.008458, allocations: 0 / 0.5104 GB, free: 5.277 MB / 398.1 MB Notification: Performance of Initialization: time 2.81e-07/0.008463, allocations: 0 / 0.5104 GB, free: 5.277 MB / 398.1 MB Notification: Performance of Tearing: time 1.052e-06/0.008468, allocations: 128 / 0.5104 GB, free: 5.277 MB / 398.1 MB Notification: Performance of Categorize: time 1.041e-05/0.008482, allocations: 3.938 kB / 0.5104 GB, free: 5.273 MB / 398.1 MB Notification: Performance of Solve: time 0.0001026/0.00859, allocations: 75.88 kB / 0.5104 GB, free: 5.199 MB / 398.1 MB Notification: Performance of Jacobian: time 3.006e-06/0.0086, allocations: 0 / 0.5104 GB, free: 5.199 MB / 398.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: ......... 4 * 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: .................... 3 (3) {pri3.firstTrigger, pri2.firstTrigger, pri1.firstTrigger} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 9 (9) {pri1.sampleTrigger, pri2.sampleTrigger, pri3.sampleTrigger, $TEV_5, $TEV_4, $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: ............ 3 (algorithm:0, when:3, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 23 (scalar:23, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.324e-05/0.008647, allocations: 40.33 kB / 0.5105 GB, free: 5.168 MB / 398.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.