Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Files.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 103.2 kB / 16.38 MB, free: 6.496 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.001367/0.001367, allocations: 192.7 kB / 17.32 MB, free: 5.809 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.12/1.12, allocations: 205.1 MB / 223.2 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.512/1.512, allocations: 292.3 MB / 0.5496 GB, free: 17.49 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/1.874e-05, allocations: 6.219 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002215/0.002247, allocations: 1.577 MB / 0.6744 GB, free: 4.289 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.003292, allocations: 0.7412 MB / 0.6751 GB, free: 3.539 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/0.003341, allocations: 0 / 0.6751 GB, free: 3.539 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.796e-05/0.003425, allocations: 15.81 kB / 0.6751 GB, free: 3.523 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.205e-05/0.003478, allocations: 15.8 kB / 0.6752 GB, free: 3.508 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Utilities/IO/Files/BaseClasses/printRealArray.mo:2:1-45:19:writable] Warning: Pure function 'Buildings.Utilities.IO.Files.BaseClasses.printRealArray' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.003814, allocations: 115.7 kB / 0.6753 GB, free: 3.395 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00017/0.003994, allocations: 155.5 kB / 0.6754 GB, free: 3.242 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.004118, allocations: 41.09 kB / 0.6755 GB, free: 3.203 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.89e-05/0.004193, allocations: 51.78 kB / 0.6755 GB, free: 3.152 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.897e-05/0.004267, allocations: 67.73 kB / 0.6756 GB, free: 3.086 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.004291, allocations: 12 kB / 0.6756 GB, free: 3.074 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.92e-05/0.004385, allocations: 47.97 kB / 0.6756 GB, free: 3.027 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001304/0.004523, allocations: 197.7 kB / 0.6758 GB, free: 2.832 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 4.842e-05/0.004576, allocations: 118.2 kB / 0.6759 GB, free: 2.715 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.432e-05/0.004616, allocations: 19.94 kB / 0.6759 GB, free: 2.695 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.238e-05/0.004633, allocations: 7.938 kB / 0.676 GB, free: 2.688 MB / 0.545 GB 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.0004694/0.005106, allocations: 0.5429 MB / 0.6765 GB, free: 2.043 MB / 0.545 GB Notification: Performance of FunctionAlias: time 2.61e-05/0.005138, allocations: 19.94 kB / 0.6765 GB, free: 2.023 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0002072/0.005349, allocations: 236.2 kB / 0.6767 GB, free: 1.766 MB / 0.545 GB Notification: Performance of simplify1: time 1.912e-05/0.005374, allocations: 11.98 kB / 0.6767 GB, free: 1.754 MB / 0.545 GB Notification: Performance of Alias: time 9.407e-05/0.005474, allocations: 113.6 kB / 0.6768 GB, free: 1.602 MB / 0.545 GB Notification: Performance of simplify2: time 1.157e-05/0.00549, allocations: 15.97 kB / 0.6769 GB, free: 1.586 MB / 0.545 GB Notification: Performance of Events: time 0.0001322/0.005628, allocations: 91.7 kB / 0.6769 GB, free: 1.496 MB / 0.545 GB Notification: Performance of Detect States: time 0.0001489/0.005784, allocations: 141.2 kB / 0.6771 GB, free: 1.344 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0001219/0.005913, allocations: 120.5 kB / 0.6772 GB, free: 1.195 MB / 0.545 GB Notification: Performance of Causalize: time 0.0005623/0.006481, allocations: 0.556 MB / 0.6777 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.000217/0.006706, allocations: 288.6 kB / 0.678 GB, free: 308 kB / 0.545 GB Notification: Performance of Inline: time 0.0003708/0.007083, allocations: 431.8 kB / 0.6784 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of Partitioning: time 2.334e-05/0.007115, allocations: 24.11 kB / 0.6785 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of Cleanup: time 2.228e-05/0.007142, allocations: 27.91 kB / 0.6785 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0004978/0.007644, allocations: 0.591 MB / 0.6791 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of Tearing: time 4.468e-06/0.007658, allocations: 4 kB / 0.6791 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of Initialization: time 2.81e-07/0.007663, allocations: 0 / 0.6791 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of Tearing: time 2.494e-06/0.007669, allocations: 3.984 kB / 0.6791 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of Categorize: time 7.575e-06/0.007681, allocations: 3.938 kB / 0.6791 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of Solve: time 9.026e-05/0.007775, allocations: 59.95 kB / 0.6791 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of Jacobian: time 2.264e-06/0.007783, allocations: 0 / 0.6791 GB, free: 15.12 MB / 0.5606 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: ......... 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.274e-05/0.007829, allocations: 28.17 kB / 0.6792 GB, free: 15.11 MB / 0.5606 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBEvents.mo:685:7-685:120:writable] Error: Internal error UnorderedMap.getSafe failed because the key did not exist.