Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.IO.Files.Examples.JSONWriter") translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001053/0.001053, allocations: 104.3 kB / 16.37 MB, free: 6.371 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.001057/0.001057, allocations: 191.9 kB / 17.31 MB, free: 5.91 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.085/1.085, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.507/1.507, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.743e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.002514/0.002544, allocations: 1.647 MB / 0.6745 GB, free: 4.262 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008274/0.003383, allocations: 0.5971 MB / 0.675 GB, free: 3.656 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.037e-05/0.003453, allocations: 4 kB / 0.675 GB, free: 3.652 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.003591, allocations: 23.73 kB / 0.6751 GB, free: 3.629 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002035/0.003807, allocations: 63.72 kB / 0.6751 GB, free: 3.566 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001253/0.003939, allocations: 63.86 kB / 0.6752 GB, free: 3.504 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.004133, allocations: 159.4 kB / 0.6753 GB, free: 3.348 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.004279, allocations: 49.48 kB / 0.6754 GB, free: 3.297 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.767e-05/0.004383, allocations: 51.83 kB / 0.6754 GB, free: 3.246 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.589e-05/0.004487, allocations: 59.7 kB / 0.6755 GB, free: 3.188 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.004517, allocations: 8 kB / 0.6755 GB, free: 3.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.075e-05/0.004573, allocations: 23.94 kB / 0.6755 GB, free: 3.156 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001485/0.004726, allocations: 205.5 kB / 0.6757 GB, free: 2.953 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 6.387e-05/0.004795, allocations: 134 kB / 0.6758 GB, free: 2.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.004827, allocations: 19.94 kB / 0.6759 GB, free: 2.801 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.416e-05/0.004846, allocations: 4 kB / 0.6759 GB, free: 2.797 MB / 0.545 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.0005569/0.005407, allocations: 0.5875 MB / 0.6764 GB, free: 2.105 MB / 0.545 GB Notification: Performance of FunctionAlias: time 6.488e-05/0.005479, allocations: 27.88 kB / 0.6765 GB, free: 2.078 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0001555/0.00564, allocations: 180.3 kB / 0.6766 GB, free: 1.875 MB / 0.545 GB Notification: Performance of simplify1: time 2.925e-05/0.005675, allocations: 23.91 kB / 0.6767 GB, free: 1.852 MB / 0.545 GB Notification: Performance of Alias: time 0.0002652/0.005947, allocations: 201.7 kB / 0.6769 GB, free: 1.609 MB / 0.545 GB Notification: Performance of simplify2: time 1.39e-05/0.005971, allocations: 15.98 kB / 0.6769 GB, free: 1.594 MB / 0.545 GB Notification: Performance of Events: time 7.043e-05/0.006046, allocations: 51.84 kB / 0.6769 GB, free: 1.543 MB / 0.545 GB Notification: Performance of Detect States: time 0.0001085/0.00616, allocations: 75.44 kB / 0.677 GB, free: 1.457 MB / 0.545 GB Notification: Performance of Partitioning: time 9.689e-05/0.006263, allocations: 84.16 kB / 0.6771 GB, free: 1.359 MB / 0.545 GB Notification: Performance of Causalize: time 0.0003954/0.006665, allocations: 435.7 kB / 0.6775 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.0001533/0.006827, allocations: 200.3 kB / 0.6777 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of Inline: time 0.0003286/0.007161, allocations: 385.8 kB / 0.678 GB, free: 300 kB / 0.545 GB Notification: Performance of Partitioning: time 2.714e-05/0.007196, allocations: 28.09 kB / 0.6781 GB, free: 264 kB / 0.545 GB Notification: Performance of Cleanup: time 1.497e-05/0.007216, allocations: 15.92 kB / 0.6781 GB, free: 248 kB / 0.545 GB Notification: Performance of Causalize: time 0.0004979/0.007719, allocations: 0.5548 MB / 0.6786 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of Tearing: time 5.4e-06/0.007733, allocations: 0 / 0.6786 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of Initialization: time 2.8e-07/0.007738, allocations: 0 / 0.6786 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of Tearing: time 9.12e-07/0.007744, allocations: 4.031 kB / 0.6786 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of Categorize: time 4.719e-06/0.007753, allocations: 0 / 0.6786 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of Solve: time 0.0001044/0.00786, allocations: 68.06 kB / 0.6787 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of Jacobian: time 2.605e-06/0.00787, allocations: 320 / 0.6787 GB, free: 15.62 MB / 0.5606 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: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.215e-05/0.007906, allocations: 29.27 kB / 0.6787 GB, free: 15.59 MB / 0.5606 GB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_4) [----] Buildings.Utilities.IO.Files.BaseClasses.cacheVals(jsonWriterTerminal.jsonWri, jsonWriterTerminal.u);