Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 109 kB / 16.37 MB, free: 6.367 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.0009844/0.0009845, allocations: 191 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.33/1.33, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.709/1.709, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.656e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.918 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005517/0.005559, allocations: 3.823 MB / 0.6766 GB, free: 2.078 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002731/0.008311, allocations: 1.723 MB / 0.6783 GB, free: 352 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.008467, allocations: 11.94 kB / 0.6783 GB, free: 340 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.009796, allocations: 498.1 kB / 0.6787 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005073/0.01037, allocations: 226.9 kB / 0.679 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.01088, allocations: 203.5 kB / 0.6792 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000536/0.01142, allocations: 0.5179 MB / 0.6797 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005303/0.01196, allocations: 325.3 kB / 0.68 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.01217, allocations: 195.3 kB / 0.6802 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.01248, allocations: 171.2 kB / 0.6803 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.01253, allocations: 24 kB / 0.6803 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000307/0.01285, allocations: 195.6 kB / 0.6805 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0003591/0.01321, allocations: 487.1 kB / 0.681 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0002029/0.01342, allocations: 320 kB / 0.6813 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.905e-05/0.01349, allocations: 47.88 kB / 0.6813 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.008e-05/0.01353, allocations: 11.94 kB / 0.6814 GB, free: 13.16 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 (60) * Number of variables: 78 (53) Notification: Performance of Bindings: time 0.001391/0.01493, allocations: 1.39 MB / 0.6827 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0001296/0.01507, allocations: 79.75 kB / 0.6828 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.000772/0.01585, allocations: 0.7868 MB / 0.6836 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simplify1: time 6.122e-05/0.01592, allocations: 55.94 kB / 0.6836 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of Alias: time 0.001053/0.01698, allocations: 0.9011 MB / 0.6845 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of simplify2: time 4.438e-05/0.01703, allocations: 47.88 kB / 0.6845 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of Events: time 0.0001623/0.0172, allocations: 111.8 kB / 0.6846 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0001926/0.0174, allocations: 197.5 kB / 0.6848 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0003147/0.01773, allocations: 300.8 kB / 0.6851 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of Causalize: time 0.002219/0.01995, allocations: 2.264 MB / 0.6873 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0006045/0.02057, allocations: 0.6398 MB / 0.688 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of Inline: time 0.001096/0.02167, allocations: 1.16 MB / 0.6891 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of Partitioning: time 6.696e-05/0.02175, allocations: 54.36 kB / 0.6891 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of Cleanup: time 4.161e-05/0.0218, allocations: 47.95 kB / 0.6892 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of Causalize: time 0.002204/0.02401, allocations: 2.402 MB / 0.6915 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of Tearing: time 0.00099/0.02501, allocations: 1.02 MB / 0.6925 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of Initialization: time 6.71e-07/0.02502, allocations: 0 / 0.6925 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of Tearing: time 0.0008149/0.02584, allocations: 1.02 MB / 0.6935 GB, free: 124 kB / 0.5606 GB Notification: Performance of Categorize: time 2.2e-05/0.02588, allocations: 8.094 kB / 0.6935 GB, free: 116 kB / 0.5606 GB Notification: Performance of Solve: time 0.0003711/0.02625, allocations: 214 kB / 0.6937 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of Jacobian: time 3.837e-06/0.02627, allocations: 0 / 0.6937 GB, free: 15.9 MB / 0.5762 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 5 * 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: ................. 5 (5) {$SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 40 (scalar:27, array:13, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 5 (generic: 5, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 51 (scalar:38, array:13, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 5 (generic: 5, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 5.164e-05/0.02632, allocations: 35.77 kB / 0.6938 GB, free: 15.87 MB / 0.5762 GB Error: Internal error NSimStrongComponent.Block.createResidual failed for [ARRY] (2) $RES_BND_63 = res2.terminal.i - res2.i ($RES_BND_63)