Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001186/0.001186, allocations: 109.3 kB / 16.42 MB, free: 6.504 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.001167/0.001167, allocations: 189.9 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.231/1.231, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.33/2.33, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/1.923e-05, allocations: 2.5 kB / 1.055 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.002572/0.002599, allocations: 1.652 MB / 1.056 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008814/0.003493, allocations: 0.5494 MB / 1.057 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.266e-05/0.003595, allocations: 4 kB / 1.057 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.003766, allocations: 27.73 kB / 1.057 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.00404, allocations: 65.86 kB / 1.057 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.004206, allocations: 67.84 kB / 1.057 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.004436, allocations: 147.5 kB / 1.057 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.004587, allocations: 53.47 kB / 1.057 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.004714, allocations: 55.77 kB / 1.057 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.004836, allocations: 63.69 kB / 1.057 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.00487, allocations: 8 kB / 1.057 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.101e-05/0.004947, allocations: 35.92 kB / 1.057 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0001484/0.0051, allocations: 201.6 kB / 1.057 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 7.618e-05/0.005183, allocations: 133.9 kB / 1.058 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.005218, allocations: 15.94 kB / 1.058 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.916e-05/0.005241, allocations: 4 kB / 1.058 GB, free: 4.672 MB / 0.8262 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.0005854/0.005831, allocations: 0.5875 MB / 1.058 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 7.443e-05/0.00591, allocations: 35.8 kB / 1.058 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0001657/0.006082, allocations: 176.4 kB / 1.058 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of simplify1: time 2.235e-05/0.00611, allocations: 11.98 kB / 1.058 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of Alias: time 0.0003348/0.006449, allocations: 217.7 kB / 1.059 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of simplify2: time 2.297e-05/0.006481, allocations: 15.97 kB / 1.059 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of Events: time 8.298e-05/0.006569, allocations: 47.91 kB / 1.059 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of Detect States: time 8.056e-05/0.006656, allocations: 68.16 kB / 1.059 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of Partitioning: time 9.423e-05/0.006756, allocations: 80.16 kB / 1.059 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0003792/0.007141, allocations: 346.3 kB / 1.059 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0001711/0.007319, allocations: 200.3 kB / 1.059 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of Inline: time 0.0004712/0.007796, allocations: 440.7 kB / 1.06 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of Partitioning: time 2.553e-05/0.007831, allocations: 20.12 kB / 1.06 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of Cleanup: time 2.145e-05/0.007861, allocations: 19.98 kB / 1.06 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0006248/0.00849, allocations: 0.5275 MB / 1.06 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of Tearing: time 7.574e-06/0.008506, allocations: 0 / 1.06 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of Initialization: time 5.21e-07/0.008522, allocations: 4 kB / 1.06 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of Tearing: time 2.615e-06/0.00853, allocations: 4 kB / 1.06 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of Categorize: time 7.103e-06/0.008541, allocations: 0 / 1.06 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of Solve: time 0.0001262/0.008671, allocations: 67.88 kB / 1.06 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of Jacobian: time 2.464e-06/0.008681, allocations: 3.938 kB / 1.06 GB, free: 1.543 MB / 0.8262 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 3.164e-05/0.008717, allocations: 23.2 kB / 1.06 GB, free: 1.527 MB / 0.8262 GB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_4) [----] Buildings.Utilities.IO.Files.BaseClasses.cacheVals(jsonWriterTerminal.jsonWri, jsonWriterTerminal.u);