Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 109 kB / 16.42 MB, free: 6.5 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.001174/0.001173, allocations: 188.9 kB / 17.35 MB, free: 5.754 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.25/1.25, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.281/1.281, allocations: 251.7 MB / 0.51 GB, free: 440 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.067e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004066/0.004095, allocations: 3.065 MB / 0.7294 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.006001, allocations: 1.341 MB / 0.7307 GB, free: 352 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.006153, allocations: 8 kB / 0.7307 GB, free: 344 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000946/0.007105, allocations: 326.7 kB / 0.731 GB, free: 16 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003993/0.007513, allocations: 139.3 kB / 0.7311 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.007931, allocations: 139.6 kB / 0.7312 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004351/0.008375, allocations: 338.9 kB / 0.7316 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003867/0.00877, allocations: 186.3 kB / 0.7317 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.00895, allocations: 119.6 kB / 0.7319 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.00921, allocations: 119.5 kB / 0.732 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.009246, allocations: 16 kB / 0.732 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.009512, allocations: 131.6 kB / 0.7321 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0002539/0.009774, allocations: 313 kB / 0.7324 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0001277/0.009908, allocations: 185.5 kB / 0.7326 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.009966, allocations: 39.88 kB / 0.7326 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.239e-05/0.01, allocations: 7.984 kB / 0.7326 GB, free: 14.31 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 (37) * Number of variables: 50 (34) Notification: Performance of Bindings: time 0.0009395/0.01095, allocations: 0.9373 MB / 0.7336 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 9.286e-05/0.01105, allocations: 51.84 kB / 0.7336 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.0005132/0.01157, allocations: 0.5227 MB / 0.7341 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of simplify1: time 3.781e-05/0.01162, allocations: 31.91 kB / 0.7341 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of Alias: time 0.0007284/0.01235, allocations: 0.5866 MB / 0.7347 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of simplify2: time 4.162e-05/0.0124, allocations: 31.95 kB / 0.7347 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of Events: time 0.0001165/0.01252, allocations: 64.98 kB / 0.7348 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0001407/0.01267, allocations: 132.1 kB / 0.7349 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.000201/0.01288, allocations: 177.2 kB / 0.7351 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001294/0.01418, allocations: 1.358 MB / 0.7364 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.000373/0.01456, allocations: 413.2 kB / 0.7368 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of Inline: time 0.0007215/0.01529, allocations: 0.7411 MB / 0.7375 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of Partitioning: time 4.298e-05/0.01535, allocations: 42.36 kB / 0.7376 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of Cleanup: time 3.606e-05/0.01539, allocations: 35.91 kB / 0.7376 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001341/0.01673, allocations: 1.449 MB / 0.739 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of Tearing: time 0.000752/0.0175, allocations: 0.761 MB / 0.7398 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of Initialization: time 6.31e-07/0.01751, allocations: 0 / 0.7398 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of Tearing: time 0.0006483/0.01816, allocations: 0.7681 MB / 0.7405 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of Categorize: time 1.072e-05/0.01818, allocations: 4 kB / 0.7405 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of Solve: time 0.0002304/0.01842, allocations: 133.8 kB / 0.7407 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of Jacobian: time 2.604e-06/0.01843, allocations: 7.938 kB / 0.7407 GB, free: 5.637 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: ......... 3 * 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) {$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: ........... 23 (scalar:14, array:9, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 29 (scalar:20, array:9, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 4.311e-05/0.01848, allocations: 36.48 kB / 0.7407 GB, free: 5.613 MB / 0.5762 GB Error: Internal error NSimStrongComponent.Block.createResidual failed for [ARRY] (2) $RES_BND_42 = short_circuit.terminal.i - short_circuit.i ($RES_BND_42)