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.001501/0.001501, allocations: 111 kB / 17.1 MB, free: 5.977 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.001485/0.001485, allocations: 190.1 kB / 18.03 MB, free: 5.062 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.541/1.541, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8055/0.8055, allocations: 115.3 MB / 407.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.716e-05/4.717e-05, allocations: 2.281 kB / 0.5583 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.004452/0.004507, allocations: 1.639 MB / 0.5599 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.005794, allocations: 0.5313 MB / 0.5604 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.005927, allocations: 10.66 kB / 0.5604 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.006243, allocations: 30.02 kB / 0.5604 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.006628, allocations: 64.98 kB / 0.5605 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.006839, allocations: 69.95 kB / 0.5606 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.007187, allocations: 146.3 kB / 0.5607 GB, free: 30.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/0.007466, allocations: 54.62 kB / 0.5607 GB, free: 30.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.007672, allocations: 60.12 kB / 0.5608 GB, free: 30.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.007885, allocations: 58.11 kB / 0.5609 GB, free: 30.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.582e-05/0.007941, allocations: 8.469 kB / 0.5609 GB, free: 30.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.008069, allocations: 25.64 kB / 0.5609 GB, free: 30.53 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0003395/0.008419, allocations: 209.2 kB / 0.5611 GB, free: 30.38 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001623/0.008591, allocations: 132.6 kB / 0.5612 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/0.008667, allocations: 18.47 kB / 0.5612 GB, free: 30.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.68e-05/0.008713, allocations: 2.531 kB / 0.5612 GB, free: 30.28 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.001028/0.009748, allocations: 0.5935 MB / 0.5618 GB, free: 29.78 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001141/0.009871, allocations: 28.59 kB / 0.5618 GB, free: 29.76 MB / 446.1 MB Notification: Performance of Early Inline: time 0.000281/0.01016, allocations: 178 kB / 0.562 GB, free: 29.63 MB / 446.1 MB Notification: Performance of simplify1: time 3.844e-05/0.01021, allocations: 14.08 kB / 0.562 GB, free: 29.62 MB / 446.1 MB Notification: Performance of Alias: time 0.0005074/0.01072, allocations: 207.6 kB / 0.5622 GB, free: 29.46 MB / 446.1 MB Notification: Performance of simplify2: time 2.313e-05/0.01076, allocations: 10.5 kB / 0.5622 GB, free: 29.45 MB / 446.1 MB Notification: Performance of Events: time 0.000123/0.01089, allocations: 58.7 kB / 0.5623 GB, free: 29.42 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001324/0.01103, allocations: 74.14 kB / 0.5624 GB, free: 29.35 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001502/0.01118, allocations: 76.39 kB / 0.5624 GB, free: 29.3 MB / 446.1 MB Notification: Performance of Causalize: time 0.0006598/0.01185, allocations: 342.3 kB / 0.5628 GB, free: 29.17 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002728/0.01214, allocations: 199.7 kB / 0.563 GB, free: 29.03 MB / 446.1 MB Notification: Performance of Inline: time 0.0007639/0.01291, allocations: 439.3 kB / 0.5634 GB, free: 28.76 MB / 446.1 MB Notification: Performance of Partitioning: time 4.604e-05/0.01297, allocations: 27.12 kB / 0.5634 GB, free: 28.73 MB / 446.1 MB Notification: Performance of Cleanup: time 2.549e-05/0.013, allocations: 13.55 kB / 0.5634 GB, free: 28.73 MB / 446.1 MB Notification: Performance of Causalize: time 0.001038/0.01404, allocations: 0.5413 MB / 0.5639 GB, free: 28.52 MB / 446.1 MB Notification: Performance of Tearing: time 1.617e-05/0.01407, allocations: 1.344 kB / 0.5639 GB, free: 28.52 MB / 446.1 MB Notification: Performance of Initialization: time 6.41e-07/0.01408, allocations: 0 / 0.5639 GB, free: 28.52 MB / 446.1 MB Notification: Performance of Tearing: time 5.8e-06/0.01409, allocations: 1.406 kB / 0.5639 GB, free: 28.52 MB / 446.1 MB Notification: Performance of Categorize: time 1.487e-05/0.01411, allocations: 1.688 kB / 0.5639 GB, free: 28.52 MB / 446.1 MB Notification: Performance of Solve: time 0.0001949/0.01431, allocations: 68.45 kB / 0.564 GB, free: 28.49 MB / 446.1 MB Notification: Performance of Jacobian: time 5.43e-06/0.01432, allocations: 0 / 0.564 GB, free: 28.49 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 7.388e-05/0.0144, allocations: 34.41 kB / 0.564 GB, free: 28.47 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);