Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001215/0.001215, allocations: 107 kB / 16.38 MB, free: 6.035 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.001262/0.001262, allocations: 194 kB / 17.32 MB, free: 5.633 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.408/1.408, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.72/1.72, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.264e-05, allocations: 5.797 kB / 0.6729 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00455/0.004588, allocations: 3.065 MB / 0.6758 GB, free: 2.812 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.006506, allocations: 1.325 MB / 0.6771 GB, free: 1.477 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.006624, allocations: 8 kB / 0.6771 GB, free: 1.469 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009386/0.007571, allocations: 346.6 kB / 0.6775 GB, free: 1.129 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.007893, allocations: 139.3 kB / 0.6776 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.0082, allocations: 135.6 kB / 0.6777 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003864/0.008597, allocations: 346.9 kB / 0.6781 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003666/0.008971, allocations: 174.4 kB / 0.6782 GB, free: 356 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.009106, allocations: 119.6 kB / 0.6784 GB, free: 236 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.009332, allocations: 111.5 kB / 0.6785 GB, free: 124 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.009369, allocations: 20 kB / 0.6785 GB, free: 104 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.009583, allocations: 135.7 kB / 0.6786 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0002549/0.009846, allocations: 308.9 kB / 0.6789 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0001248/0.009979, allocations: 201.4 kB / 0.6791 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.01002, allocations: 31.94 kB / 0.6791 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.717e-05/0.01006, allocations: 11.94 kB / 0.6791 GB, free: 15.42 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: 50 (37) * Number of variables: 50 (34) Notification: Performance of Bindings: time 0.0009333/0.011, allocations: 0.9451 MB / 0.6801 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 8.284e-05/0.01109, allocations: 47.91 kB / 0.6801 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0004906/0.01158, allocations: 0.511 MB / 0.6806 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simplify1: time 3.782e-05/0.01163, allocations: 35.94 kB / 0.6806 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of Alias: time 0.000748/0.01238, allocations: 0.5944 MB / 0.6812 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of simplify2: time 3.251e-05/0.01243, allocations: 31.95 kB / 0.6812 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of Events: time 0.0001149/0.01255, allocations: 64.98 kB / 0.6813 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0001243/0.01268, allocations: 124.1 kB / 0.6814 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0001922/0.01288, allocations: 176.3 kB / 0.6816 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of Causalize: time 0.001337/0.01422, allocations: 1.367 MB / 0.6829 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0003592/0.01459, allocations: 405.6 kB / 0.6833 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of Inline: time 0.0007192/0.01532, allocations: 0.7294 MB / 0.684 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of Partitioning: time 5.288e-05/0.01538, allocations: 42.48 kB / 0.6841 GB, free: 10 MB / 0.5606 GB Notification: Performance of Cleanup: time 2.969e-05/0.01542, allocations: 31.91 kB / 0.6841 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of Causalize: time 0.001359/0.01678, allocations: 1.474 MB / 0.6855 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of Tearing: time 0.0007895/0.01758, allocations: 0.7688 MB / 0.6863 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of Initialization: time 5.41e-07/0.0176, allocations: 0 / 0.6863 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of Tearing: time 0.0006439/0.01824, allocations: 0.7687 MB / 0.687 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of Categorize: time 1.184e-05/0.01827, allocations: 3.938 kB / 0.687 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of Solve: time 0.0002278/0.0185, allocations: 137.6 kB / 0.6872 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of Jacobian: time 3.697e-06/0.01851, allocations: 0 / 0.6872 GB, free: 6.73 MB / 0.5606 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: ........... 30 (scalar:21, 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 3.759e-05/0.01855, allocations: 27.48 kB / 0.6872 GB, free: 6.711 MB / 0.5606 GB Error: Internal error NSimStrongComponent.Block.createResidual failed for [ARRY] (2) $RES_BND_42 = short_circuit.terminal.i - short_circuit.i ($RES_BND_42)