Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter") translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009219/0.000922, allocations: 108 kB / 16.42 MB, free: 5.984 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.0008852/0.0008852, allocations: 186.2 kB / 17.36 MB, free: 5.574 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.138/1.138, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.225/1.225, allocations: 251.7 MB / 0.51 GB, free: 388 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.527e-05, allocations: 5.938 kB / 0.7264 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.002191/0.002214, allocations: 1.64 MB / 0.728 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007844/0.00301, allocations: 0.6007 MB / 0.7285 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.003084, allocations: 8 kB / 0.7286 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.003226, allocations: 27.8 kB / 0.7286 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.003446, allocations: 59.67 kB / 0.7286 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001245/0.003577, allocations: 67.84 kB / 0.7287 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.003762, allocations: 147.6 kB / 0.7288 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.003895, allocations: 57.41 kB / 0.7289 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.94e-05/0.003992, allocations: 55.77 kB / 0.7289 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.914e-05/0.004089, allocations: 59.77 kB / 0.729 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.004118, allocations: 11.94 kB / 0.729 GB, free: 2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.241e-05/0.004175, allocations: 19.98 kB / 0.729 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0001416/0.004322, allocations: 205.5 kB / 0.7292 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 6.535e-05/0.004394, allocations: 134 kB / 0.7294 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.004423, allocations: 15.94 kB / 0.7294 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.229e-05/0.004439, allocations: 0 / 0.7294 GB, free: 1.629 MB / 0.5606 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.0005162/0.004962, allocations: 0.5875 MB / 0.7299 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 5.517e-05/0.005023, allocations: 31.86 kB / 0.73 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0001529/0.005182, allocations: 188.2 kB / 0.7302 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of simplify1: time 2.04e-05/0.005208, allocations: 15.98 kB / 0.7302 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of Alias: time 0.0002494/0.005463, allocations: 197.8 kB / 0.7304 GB, free: 452 kB / 0.5606 GB Notification: Performance of simplify2: time 1.507e-05/0.005486, allocations: 15.98 kB / 0.7304 GB, free: 436 kB / 0.5606 GB Notification: Performance of Events: time 7.005e-05/0.00556, allocations: 51.83 kB / 0.7304 GB, free: 384 kB / 0.5606 GB Notification: Performance of Detect States: time 7.44e-05/0.005641, allocations: 64.22 kB / 0.7305 GB, free: 304 kB / 0.5606 GB Notification: Performance of Partitioning: time 8.606e-05/0.005733, allocations: 92.2 kB / 0.7306 GB, free: 196 kB / 0.5606 GB Notification: Performance of Causalize: time 0.000396/0.006135, allocations: 434.8 kB / 0.731 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0001545/0.006299, allocations: 204.3 kB / 0.7312 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of Inline: time 0.0004057/0.006711, allocations: 455.2 kB / 0.7316 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of Partitioning: time 2.579e-05/0.006745, allocations: 32.11 kB / 0.7317 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of Cleanup: time 1.289e-05/0.006763, allocations: 11.98 kB / 0.7317 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of Causalize: time 0.000626/0.007394, allocations: 0.6749 MB / 0.7323 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of Tearing: time 4.599e-06/0.007408, allocations: 0 / 0.7323 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of Initialization: time 3.11e-07/0.007413, allocations: 0 / 0.7323 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of Tearing: time 8.91e-07/0.007417, allocations: 0 / 0.7323 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of Categorize: time 5.931e-06/0.007431, allocations: 8.031 kB / 0.7323 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of Solve: time 0.0001097/0.007544, allocations: 67.88 kB / 0.7324 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of Jacobian: time 2.565e-06/0.007553, allocations: 256 / 0.7324 GB, free: 14.27 MB / 0.5762 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.982e-05/0.007589, allocations: 35.77 kB / 0.7324 GB, free: 14.24 MB / 0.5762 GB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_4) [----] Buildings.Utilities.IO.Files.BaseClasses.cacheVals(jsonWriterTerminal.jsonWri, jsonWriterTerminal.u);