Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001107/0.001107, allocations: 112.9 kB / 16.43 MB, free: 6.492 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.001147/0.001147, allocations: 191.6 kB / 17.36 MB, free: 5.75 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.16/1.16, 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 9.1.3-maint.9.1.x/package.mo): time 1.94/1.94, allocations: 390.2 MB / 0.6655 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.225e-05/1.226e-05, allocations: 4.531 kB / 0.9514 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.002243/0.002262, allocations: 1.632 MB / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007977/0.003071, allocations: 0.5495 MB / 0.9536 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.003141, allocations: 4 kB / 0.9536 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.003281, allocations: 23.73 kB / 0.9536 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.003503, allocations: 71.53 kB / 0.9537 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.003634, allocations: 63.92 kB / 0.9537 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000193/0.003834, allocations: 163.4 kB / 0.9539 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.003973, allocations: 49.42 kB / 0.9539 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.679e-05/0.004076, allocations: 51.83 kB / 0.954 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.358e-05/0.004178, allocations: 63.7 kB / 0.954 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.004209, allocations: 11.94 kB / 0.954 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.864e-05/0.004263, allocations: 16 kB / 0.9541 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001384/0.004406, allocations: 205.5 kB / 0.9543 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 6.096e-05/0.004473, allocations: 130 kB / 0.9544 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.00451, allocations: 19.94 kB / 0.9544 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.67e-05/0.004533, allocations: 11.92 kB / 0.9544 GB, free: 4.688 MB / 0.7325 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.00054/0.005077, allocations: 0.5914 MB / 0.955 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 5.554e-05/0.005138, allocations: 23.88 kB / 0.955 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0001635/0.005307, allocations: 188.3 kB / 0.9552 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of simplify1: time 2.263e-05/0.005336, allocations: 23.91 kB / 0.9552 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of Alias: time 0.000271/0.005613, allocations: 201.8 kB / 0.9554 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of simplify2: time 1.332e-05/0.005635, allocations: 11.98 kB / 0.9554 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of Detect States: time 6.336e-05/0.005703, allocations: 56.2 kB / 0.9555 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of Events: time 7.896e-05/0.005787, allocations: 51.89 kB / 0.9555 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of Partitioning: time 8.959e-05/0.005883, allocations: 80.22 kB / 0.9556 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of Causalize: time 0.000344/0.006233, allocations: 346.5 kB / 0.9559 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0001586/0.006399, allocations: 200.3 kB / 0.9561 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of Inline: time 0.0004234/0.006828, allocations: 451.8 kB / 0.9566 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of Partitioning: time 3.041e-05/0.006872, allocations: 24.11 kB / 0.9566 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.852e-05/0.006895, allocations: 11.98 kB / 0.9566 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0005658/0.007465, allocations: 0.5366 MB / 0.9571 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of Tearing: time 7.955e-06/0.007483, allocations: 4 kB / 0.9571 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of Initialization: time 3.71e-07/0.007488, allocations: 0 / 0.9571 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of Tearing: time 1.533e-06/0.007493, allocations: 0 / 0.9571 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of Categorize: time 5.3e-06/0.007502, allocations: 0 / 0.9571 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of Solve: time 0.0001053/0.007612, allocations: 75.88 kB / 0.9572 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of Jacobian: time 2.154e-06/0.007621, allocations: 0 / 0.9572 GB, free: 1.555 MB / 0.7325 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.357e-05/0.00765, allocations: 18.55 kB / 0.9572 GB, free: 1.539 MB / 0.7325 GB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_4) [----] Buildings.Utilities.IO.Files.BaseClasses.cacheVals(jsonWriterTerminal.jsonWri, jsonWriterTerminal.u);