Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001078/0.001078, allocations: 111.4 kB / 16.43 MB, free: 6.035 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.001046/0.001046, allocations: 181.9 kB / 17.35 MB, free: 5.617 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.117/1.117, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.023/2.023, allocations: 437 MB / 0.7111 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.058e-05, allocations: 2.5 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001932/0.00195, allocations: 1.592 MB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.002972, allocations: 0.7013 MB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.172e-05/0.003024, allocations: 0 / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 7.934e-05/0.003108, allocations: 11.86 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.742e-05/0.003162, allocations: 23.73 kB / 1.021 GB, free: 7.105 MB / 0.795 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.000363/0.003537, allocations: 111.7 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.003734, allocations: 155.6 kB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.003856, allocations: 29.11 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.773e-05/0.003931, allocations: 59.77 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.464e-05/0.004011, allocations: 67.69 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.004039, allocations: 12 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.004146, allocations: 51.95 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0001179/0.00427, allocations: 189.8 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 5.766e-05/0.004334, allocations: 126.1 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.004366, allocations: 15.94 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.102e-05/0.004392, allocations: 7.938 kB / 1.022 GB, free: 6.289 MB / 0.795 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.0004781/0.004874, allocations: 0.5469 MB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of FunctionAlias: time 1.897e-05/0.004897, allocations: 15.94 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0001957/0.005099, allocations: 240.2 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of simplify1: time 2.099e-05/0.005126, allocations: 15.98 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of Alias: time 0.0001025/0.005232, allocations: 105.7 kB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of simplify2: time 1.1e-05/0.005249, allocations: 11.98 kB / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of Detect States: time 0.0001395/0.005392, allocations: 122.2 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of Events: time 0.000138/0.005537, allocations: 87.75 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of Partitioning: time 0.0001207/0.005669, allocations: 122 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of Causalize: time 0.0004752/0.00615, allocations: 416.7 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0002274/0.006386, allocations: 288.5 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of Inline: time 0.0003718/0.006763, allocations: 433.6 kB / 1.024 GB, free: 3.621 MB / 0.795 GB Notification: Performance of Partitioning: time 2.743e-05/0.0068, allocations: 24.12 kB / 1.025 GB, free: 3.59 MB / 0.795 GB Notification: Performance of Cleanup: time 2.188e-05/0.006827, allocations: 27.86 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of Causalize: time 0.000467/0.007299, allocations: 461.1 kB / 1.025 GB, free: 3.105 MB / 0.795 GB Notification: Performance of Tearing: time 8.376e-06/0.007315, allocations: 0 / 1.025 GB, free: 3.105 MB / 0.795 GB Notification: Performance of Initialization: time 4.61e-07/0.00732, allocations: 0 / 1.025 GB, free: 3.105 MB / 0.795 GB Notification: Performance of Tearing: time 4.538e-06/0.007328, allocations: 7.922 kB / 1.025 GB, free: 3.098 MB / 0.795 GB Notification: Performance of Categorize: time 8.115e-06/0.007341, allocations: 8 kB / 1.025 GB, free: 3.09 MB / 0.795 GB Notification: Performance of Solve: time 8.739e-05/0.007432, allocations: 51.95 kB / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of Jacobian: time 4.618e-06/0.007442, allocations: 3.938 kB / 1.025 GB, free: 3.035 MB / 0.795 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 3.277e-05/0.007479, allocations: 31.45 kB / 1.025 GB, free: 3.012 MB / 0.795 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.