Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 111.2 kB / 16.38 MB, free: 6.027 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.001037/0.001037, allocations: 191.7 kB / 17.31 MB, free: 5.629 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.375/1.375, allocations: 205.1 MB / 223.2 MB, free: 12.29 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.666/1.666, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.22e-05/3.221e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005333/0.005383, allocations: 3.202 MB / 0.676 GB, free: 2.637 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002216/0.007612, allocations: 1.376 MB / 0.6773 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.007743, allocations: 4 kB / 0.6773 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009359/0.008685, allocations: 334.6 kB / 0.6776 GB, free: 0.918 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.009017, allocations: 143.2 kB / 0.6778 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.009344, allocations: 155.5 kB / 0.6779 GB, free: 0.625 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004408/0.009794, allocations: 362.9 kB / 0.6783 GB, free: 276 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000462/0.01026, allocations: 201.2 kB / 0.6785 GB, free: 76 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.01054, allocations: 143.4 kB / 0.6786 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.01078, allocations: 119.5 kB / 0.6787 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.01082, allocations: 16 kB / 0.6787 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.01103, allocations: 135.7 kB / 0.6789 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0003711/0.01141, allocations: 360.3 kB / 0.6792 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0001703/0.01159, allocations: 229.1 kB / 0.6794 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.01164, allocations: 31.88 kB / 0.6795 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.951e-05/0.01167, allocations: 4 kB / 0.6795 GB, free: 15.05 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: 53 (40) * Number of variables: 53 (37) Notification: Performance of Bindings: time 0.001123/0.0128, allocations: 1.037 MB / 0.6805 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0001864/0.01299, allocations: 71.75 kB / 0.6805 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0005566/0.01356, allocations: 0.5578 MB / 0.6811 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of simplify1: time 5.112e-05/0.01362, allocations: 43.94 kB / 0.6811 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of Alias: time 0.0007728/0.01439, allocations: 0.6604 MB / 0.6818 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simplify2: time 3.409e-05/0.01444, allocations: 31.95 kB / 0.6818 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of Events: time 0.0001119/0.01456, allocations: 74.11 kB / 0.6819 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of Detect States: time 0.000237/0.0148, allocations: 132.1 kB / 0.682 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0002357/0.01504, allocations: 192.8 kB / 0.6822 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of Causalize: time 0.001628/0.01668, allocations: 1.431 MB / 0.6836 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0003974/0.01709, allocations: 450.4 kB / 0.684 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of Inline: time 0.0008195/0.01792, allocations: 0.7999 MB / 0.6848 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of Partitioning: time 4.597e-05/0.01797, allocations: 42.36 kB / 0.6848 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of Cleanup: time 3.022e-05/0.01801, allocations: 27.97 kB / 0.6849 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of Causalize: time 0.001564/0.01958, allocations: 1.548 MB / 0.6864 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of Tearing: time 0.0007672/0.02035, allocations: 0.7729 MB / 0.6871 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of Initialization: time 4.11e-07/0.02036, allocations: 0 / 0.6871 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of Tearing: time 0.0006907/0.02106, allocations: 0.7605 MB / 0.6879 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of Categorize: time 1.607e-05/0.02108, allocations: 19.92 kB / 0.6879 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of Solve: time 0.0002771/0.02137, allocations: 133.6 kB / 0.688 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of Jacobian: time 4.218e-06/0.02138, allocations: 7.984 kB / 0.688 GB, free: 5.82 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: ................. 4 (4) {$SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 26 (scalar:17, 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: ........... 33 (scalar:24, 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.335e-05/0.02143, allocations: 35.33 kB / 0.6881 GB, free: 5.801 MB / 0.5606 GB Error: Internal error NSimStrongComponent.Block.createResidual failed for [ARRY] (2) $RES_BND_42 = res.terminal.v - res.v ($RES_BND_42)