Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter") translateModel(BuildingSystems.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00112/0.00112, allocations: 106.6 kB / 16.42 MB, free: 6.453 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.001068/0.001068, allocations: 190 kB / 17.36 MB, free: 5.707 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.153/1.153, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001833/0.001833, allocations: 286.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.816/0.816, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.237e-05, allocations: 2.281 kB / 0.682 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.JSONWriter): time 0.002095/0.002116, allocations: 1.645 MB / 0.6836 GB, free: 5.422 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007527/0.00288, allocations: 0.5463 MB / 0.6841 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.327e-05/0.002953, allocations: 7.938 kB / 0.6842 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.003098, allocations: 19.78 kB / 0.6842 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.003324, allocations: 63.67 kB / 0.6842 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.003458, allocations: 67.86 kB / 0.6843 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.003657, allocations: 151.6 kB / 0.6844 GB, free: 4.566 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.003803, allocations: 57.34 kB / 0.6845 GB, free: 4.508 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.996e-05/0.003909, allocations: 63.7 kB / 0.6846 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.458e-05/0.004011, allocations: 59.75 kB / 0.6846 GB, free: 4.387 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.00404, allocations: 8 kB / 0.6846 GB, free: 4.379 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.766e-05/0.004092, allocations: 16 kB / 0.6846 GB, free: 4.363 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0001404/0.004238, allocations: 209.4 kB / 0.6848 GB, free: 4.156 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 5.858e-05/0.004303, allocations: 134 kB / 0.685 GB, free: 4.023 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.004333, allocations: 19.94 kB / 0.685 GB, free: 4.004 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.956e-05/0.004357, allocations: 4 kB / 0.685 GB, free: 4 MB / 494.1 MB 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.0005193/0.004882, allocations: 0.5875 MB / 0.6856 GB, free: 3.309 MB / 494.1 MB Notification: Performance of FunctionAlias: time 5.121e-05/0.00494, allocations: 27.88 kB / 0.6856 GB, free: 3.281 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0001508/0.005096, allocations: 184.3 kB / 0.6858 GB, free: 3.074 MB / 494.1 MB Notification: Performance of simplify1: time 2.094e-05/0.005123, allocations: 15.98 kB / 0.6858 GB, free: 3.059 MB / 494.1 MB Notification: Performance of Alias: time 0.0002697/0.005397, allocations: 197.8 kB / 0.686 GB, free: 2.82 MB / 494.1 MB Notification: Performance of simplify2: time 1.412e-05/0.00542, allocations: 15.98 kB / 0.686 GB, free: 2.805 MB / 494.1 MB Notification: Performance of Events: time 7.399e-05/0.005499, allocations: 55.77 kB / 0.686 GB, free: 2.75 MB / 494.1 MB Notification: Performance of Detect States: time 7.118e-05/0.005576, allocations: 78.58 kB / 0.6861 GB, free: 2.66 MB / 494.1 MB Notification: Performance of Partitioning: time 8.439e-05/0.005666, allocations: 80.22 kB / 0.6862 GB, free: 2.566 MB / 494.1 MB Notification: Performance of Causalize: time 0.0003368/0.006009, allocations: 332 kB / 0.6865 GB, free: 2.227 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001552/0.006171, allocations: 204.2 kB / 0.6867 GB, free: 2 MB / 494.1 MB Notification: Performance of Inline: time 0.0004042/0.006582, allocations: 442.4 kB / 0.6871 GB, free: 1.539 MB / 494.1 MB Notification: Performance of Partitioning: time 2.703e-05/0.006618, allocations: 24.11 kB / 0.6871 GB, free: 1.508 MB / 494.1 MB Notification: Performance of Cleanup: time 1.18e-05/0.006634, allocations: 8 kB / 0.6872 GB, free: 1.5 MB / 494.1 MB Notification: Performance of Causalize: time 0.0005524/0.007191, allocations: 0.5385 MB / 0.6877 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of Tearing: time 4.418e-06/0.007204, allocations: 0 / 0.6877 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of Initialization: time 3e-07/0.007209, allocations: 0 / 0.6877 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of Tearing: time 9.52e-07/0.007214, allocations: 0 / 0.6877 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of Categorize: time 5.31e-06/0.007223, allocations: 0 / 0.6877 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of Solve: time 0.0001097/0.007336, allocations: 79.81 kB / 0.6878 GB, free: 0.875 MB / 494.1 MB Notification: Performance of Jacobian: time 2.525e-06/0.007345, allocations: 0 / 0.6878 GB, free: 0.875 MB / 494.1 MB 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.116e-05/0.00738, allocations: 24.95 kB / 0.6878 GB, free: 0.8633 MB / 494.1 MB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_4) [----] BuildingSystems.Utilities.IO.Files.BaseClasses.cacheVals(jsonWriterTerminal.jsonWri, jsonWriterTerminal.u);