Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|pri1.x.1.|pri1.x.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pri1.x.1.|pri1.x.2.",fileNamePrefix="Buildings_11_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.001154/0.001154, allocations: 115.3 kB / 16.43 MB, free: 6.523 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.001141/0.001141, allocations: 183.2 kB / 17.35 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.137/1.137, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.216/2.216, allocations: 469.8 MB / 0.7432 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.378e-05, allocations: 2.281 kB / 1.066 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002093/0.002115, allocations: 1.589 MB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.003209, allocations: 0.7052 MB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.563e-05/0.003265, allocations: 0 / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.357e-05/0.003354, allocations: 15.8 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.616e-05/0.003406, allocations: 19.8 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.0003588/0.003774, allocations: 103.8 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.003977, allocations: 155.5 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.004088, allocations: 25.11 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.148e-05/0.004165, allocations: 55.83 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.246e-05/0.004253, allocations: 63.69 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.004281, allocations: 12 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.004389, allocations: 55.91 kB / 1.069 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001459/0.004543, allocations: 193.8 kB / 1.069 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 6.471e-05/0.004614, allocations: 126.1 kB / 1.069 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.004647, allocations: 15.94 kB / 1.069 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.39e-05/0.004666, allocations: 4 kB / 1.069 GB, free: 10.56 MB / 0.8419 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.0004635/0.005133, allocations: 472 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 2.501e-05/0.005164, allocations: 23.88 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0001656/0.005335, allocations: 180.3 kB / 1.069 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of simplify1: time 6.031e-05/0.005401, allocations: 64.34 kB / 1.07 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of Alias: time 8.191e-05/0.005488, allocations: 69.66 kB / 1.07 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of simplify2: time 4.977e-05/0.005542, allocations: 60.39 kB / 1.07 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001431/0.00569, allocations: 104.5 kB / 1.07 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of Events: time 0.0001341/0.005832, allocations: 83.73 kB / 1.07 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001113/0.00595, allocations: 96.47 kB / 1.07 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0004398/0.006395, allocations: 332.8 kB / 1.07 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001963/0.0066, allocations: 228.2 kB / 1.07 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of Inline: time 0.0003222/0.006929, allocations: 344.5 kB / 1.071 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.859e-05/0.006955, allocations: 16.11 kB / 1.071 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of Cleanup: time 5.111e-05/0.007011, allocations: 67.88 kB / 1.071 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of Causalize: time 0.000404/0.007419, allocations: 345.2 kB / 1.071 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of Tearing: time 7.524e-06/0.007435, allocations: 0 / 1.071 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of Initialization: time 4.4e-07/0.00744, allocations: 0 / 1.071 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of Tearing: time 4.719e-06/0.007448, allocations: 7.938 kB / 1.071 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of Categorize: time 6.833e-06/0.007459, allocations: 0 / 1.071 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of Solve: time 8.676e-05/0.007549, allocations: 43.95 kB / 1.071 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of Jacobian: time 4.148e-06/0.007559, allocations: 3.938 kB / 1.071 GB, free: 7.699 MB / 0.8419 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 5.038e-05/0.007613, allocations: 40.42 kB / 1.071 GB, free: 7.668 MB / 0.8419 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.