Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001128/0.001128, allocations: 118.5 kB / 17.1 MB, free: 5.996 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.001091/0.001091, allocations: 192.9 kB / 18.04 MB, free: 5.07 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.141/1.141, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6621/0.6621, allocations: 122.9 MB / 414.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.309e-05/1.309e-05, allocations: 5.125 kB / 0.569 GB, free: 28.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.001947/0.001969, allocations: 1.642 MB / 0.5706 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006656/0.002646, allocations: 0.5383 MB / 0.5712 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.964e-05/0.002716, allocations: 6.5 kB / 0.5712 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.002856, allocations: 22.97 kB / 0.5712 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.003063, allocations: 69.81 kB / 0.5713 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.003192, allocations: 62.11 kB / 0.5713 GB, free: 27.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.003382, allocations: 151.7 kB / 0.5715 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.003516, allocations: 54.77 kB / 0.5715 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.159e-05/0.003614, allocations: 66.91 kB / 0.5716 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.997e-05/0.003711, allocations: 58.45 kB / 0.5716 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.003743, allocations: 8.469 kB / 0.5717 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.308e-05/0.0038, allocations: 22.02 kB / 0.5717 GB, free: 27.03 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001056/0.003912, allocations: 201.4 kB / 0.5719 GB, free: 26.89 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 4.183e-05/0.003959, allocations: 136 kB / 0.572 GB, free: 26.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.003988, allocations: 18.81 kB / 0.572 GB, free: 26.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.478e-05/0.004008, allocations: 4.156 kB / 0.572 GB, free: 26.79 MB / 446.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.0004404/0.004453, allocations: 0.5973 MB / 0.5726 GB, free: 26.27 MB / 446.1 MB Notification: Performance of FunctionAlias: time 5.192e-05/0.004511, allocations: 34.02 kB / 0.5726 GB, free: 26.25 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001302/0.004647, allocations: 185.5 kB / 0.5728 GB, free: 26.11 MB / 446.1 MB Notification: Performance of simplify1: time 2.129e-05/0.004674, allocations: 12.45 kB / 0.5728 GB, free: 26.11 MB / 446.1 MB Notification: Performance of Alias: time 0.00024/0.004918, allocations: 199.4 kB / 0.573 GB, free: 25.95 MB / 446.1 MB Notification: Performance of simplify2: time 1.434e-05/0.004941, allocations: 12.94 kB / 0.573 GB, free: 25.94 MB / 446.1 MB Notification: Performance of Detect States: time 5.381e-05/0.005, allocations: 58.73 kB / 0.5731 GB, free: 25.89 MB / 446.1 MB Notification: Performance of Events: time 6.813e-05/0.005074, allocations: 50.11 kB / 0.5731 GB, free: 25.86 MB / 446.1 MB Notification: Performance of Partitioning: time 7.244e-05/0.005153, allocations: 87.97 kB / 0.5732 GB, free: 25.8 MB / 446.1 MB Notification: Performance of Causalize: time 0.0003291/0.005487, allocations: 342.5 kB / 0.5735 GB, free: 25.67 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001325/0.005627, allocations: 200.3 kB / 0.5737 GB, free: 25.53 MB / 446.1 MB Notification: Performance of Inline: time 0.0004673/0.0061, allocations: 461.7 kB / 0.5742 GB, free: 25.25 MB / 446.1 MB Notification: Performance of Partitioning: time 1.997e-05/0.006129, allocations: 21.42 kB / 0.5742 GB, free: 25.23 MB / 446.1 MB Notification: Performance of Cleanup: time 1.282e-05/0.006146, allocations: 16.47 kB / 0.5742 GB, free: 25.21 MB / 446.1 MB Notification: Performance of Causalize: time 0.0005358/0.006686, allocations: 0.5399 MB / 0.5747 GB, free: 25 MB / 446.1 MB Notification: Performance of Tearing: time 7.775e-06/0.006703, allocations: 0 / 0.5747 GB, free: 25 MB / 446.1 MB Notification: Performance of Initialization: time 3.61e-07/0.006708, allocations: 1.25 kB / 0.5747 GB, free: 25 MB / 446.1 MB Notification: Performance of Tearing: time 2.104e-06/0.006714, allocations: 0 / 0.5747 GB, free: 25 MB / 446.1 MB Notification: Performance of Categorize: time 5.821e-06/0.006724, allocations: 1.25 kB / 0.5747 GB, free: 25 MB / 446.1 MB Notification: Performance of Solve: time 0.0001068/0.006835, allocations: 68.98 kB / 0.5748 GB, free: 24.98 MB / 446.1 MB Notification: Performance of Jacobian: time 2.395e-06/0.006844, allocations: 0 / 0.5748 GB, free: 24.98 MB / 446.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 2.542e-05/0.006873, allocations: 32.89 kB / 0.5748 GB, free: 24.95 MB / 446.1 MB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_4) [----] IBPSA.Utilities.IO.Files.BaseClasses.cacheVals(jsonWriterTerminal.jsonWri, jsonWriterTerminal.u);