Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Files.Examples.JSONWriter.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.JSONWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.startTime|const.y|cosine.y",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.JSONWriter") translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.startTime|const.y|cosine.y",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 115.2 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.001036/0.001036, 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.122/1.122, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.062/2.062, allocations: 437 MB / 0.7111 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2e-05/1.202e-05, allocations: 2.5 kB / 1.019 GB, free: 9.531 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.002151/0.002171, allocations: 1.661 MB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000733/0.002914, allocations: 0.5378 MB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.516e-05/0.00298, allocations: 3.938 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.003126, allocations: 39.72 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.003344, allocations: 63.67 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001177/0.003468, allocations: 59.92 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.003656, allocations: 155.5 kB / 1.022 GB, free: 7.004 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.003788, allocations: 49.47 kB / 1.022 GB, free: 6.949 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.853e-05/0.003883, allocations: 59.77 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.101e-05/0.003981, allocations: 63.64 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.004011, allocations: 8 kB / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.023e-05/0.004076, allocations: 20 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0001372/0.004218, allocations: 201.6 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 6.273e-05/0.004286, allocations: 134 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.004315, allocations: 15.94 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.507e-05/0.004334, allocations: 7.938 kB / 1.022 GB, free: 6.445 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: 13 (13) * Number of variables: 13 (7) Notification: Performance of Bindings: time 0.0005108/0.004849, allocations: 0.5876 MB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of FunctionAlias: time 5.448e-05/0.004908, allocations: 35.86 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0001518/0.005066, allocations: 188.2 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of simplify1: time 1.761e-05/0.005089, allocations: 7.984 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of Alias: time 0.0002585/0.005353, allocations: 201.8 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of simplify2: time 1.871e-05/0.00538, allocations: 11.98 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of Detect States: time 7.091e-05/0.005455, allocations: 64.16 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of Events: time 6.753e-05/0.00553, allocations: 55.83 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of Partitioning: time 7.464e-05/0.005611, allocations: 80.23 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of Causalize: time 0.0003306/0.005948, allocations: 336.1 kB / 1.024 GB, free: 4.676 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0001506/0.006107, allocations: 204.2 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of Inline: time 0.0004999/0.006612, allocations: 467.8 kB / 1.024 GB, free: 3.977 MB / 0.795 GB Notification: Performance of Partitioning: time 2.129e-05/0.006641, allocations: 20.12 kB / 1.024 GB, free: 3.949 MB / 0.795 GB Notification: Performance of Cleanup: time 1.525e-05/0.006661, allocations: 15.98 kB / 1.024 GB, free: 3.934 MB / 0.795 GB Notification: Performance of Causalize: time 0.0005459/0.007211, allocations: 0.5396 MB / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of Tearing: time 8.326e-06/0.007228, allocations: 0 / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of Initialization: time 3e-07/0.007232, allocations: 0 / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of Tearing: time 1.412e-06/0.007237, allocations: 0 / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of Categorize: time 7.865e-06/0.007248, allocations: 8 kB / 1.025 GB, free: 3.379 MB / 0.795 GB Notification: Performance of Solve: time 0.000108/0.00736, allocations: 83.7 kB / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Performance of Jacobian: time 2.235e-06/0.007369, allocations: 0 / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * 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: ................. 3 (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: ........... 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 21 (scalar:17, array:0, record:4) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.477e-05/0.007398, allocations: 18.62 kB / 1.025 GB, free: 3.289 MB / 0.795 GB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_4) [----] Buildings.Utilities.IO.Files.BaseClasses.cacheVals(jsonWriterTerminal.jsonWri, jsonWriterTerminal.u);