Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001003/0.001003, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.0009269/0.0009269, allocations: 191.3 kB / 17.36 MB, free: 5.566 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.259/1.259, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.227/1.227, allocations: 251.7 MB / 0.51 GB, free: 424 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.688e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004864/0.004888, allocations: 3.816 MB / 0.7301 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002433/0.007333, allocations: 1.738 MB / 0.7318 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.007475, allocations: 8 kB / 0.7318 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.008722, allocations: 497.6 kB / 0.7323 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004073/0.00916, allocations: 222.9 kB / 0.7325 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.009608, allocations: 211.5 kB / 0.7327 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005167/0.01013, allocations: 0.5257 MB / 0.7332 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005131/0.01065, allocations: 313.5 kB / 0.7335 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.01084, allocations: 183.4 kB / 0.7337 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.01115, allocations: 183.2 kB / 0.7338 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.01119, allocations: 24 kB / 0.7339 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.01149, allocations: 191.6 kB / 0.734 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0003707/0.01187, allocations: 0.4911 MB / 0.7345 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0001831/0.01206, allocations: 304.1 kB / 0.7348 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.266e-05/0.01212, allocations: 47.88 kB / 0.7349 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.373e-05/0.01216, allocations: 11.88 kB / 0.7349 GB, free: 12 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: 78 (60) * Number of variables: 78 (53) Notification: Performance of Bindings: time 0.001273/0.01343, allocations: 1.397 MB / 0.7362 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 8.683e-05/0.01353, allocations: 63.94 kB / 0.7363 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.0007504/0.01429, allocations: 0.7985 MB / 0.7371 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of simplify1: time 5.993e-05/0.01436, allocations: 67.91 kB / 0.7371 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of Alias: time 0.001/0.01536, allocations: 0.8971 MB / 0.738 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of simplify2: time 4.449e-05/0.01542, allocations: 43.94 kB / 0.7381 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of Events: time 0.0001419/0.01556, allocations: 95.84 kB / 0.7382 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0001977/0.01577, allocations: 193.1 kB / 0.7383 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0003009/0.01608, allocations: 300.8 kB / 0.7386 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of Causalize: time 0.002148/0.01823, allocations: 2.277 MB / 0.7408 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0005902/0.01883, allocations: 0.6399 MB / 0.7415 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of Inline: time 0.001111/0.01995, allocations: 1.172 MB / 0.7426 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of Partitioning: time 6.157e-05/0.02002, allocations: 50.38 kB / 0.7427 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of Cleanup: time 4.726e-05/0.02008, allocations: 47.94 kB / 0.7427 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of Causalize: time 0.0021/0.02218, allocations: 2.373 MB / 0.745 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of Tearing: time 0.0009924/0.02319, allocations: 1.028 MB / 0.746 GB, free: 124 kB / 0.5762 GB Notification: Performance of Initialization: time 7.51e-07/0.0232, allocations: 0 / 0.746 GB, free: 124 kB / 0.5762 GB Notification: Performance of Tearing: time 0.0008697/0.02407, allocations: 1.013 MB / 0.747 GB, free: 15 MB / 0.5919 GB Notification: Performance of Categorize: time 1.599e-05/0.0241, allocations: 3.938 kB / 0.747 GB, free: 15 MB / 0.5919 GB Notification: Performance of Solve: time 0.0003427/0.02445, allocations: 206.2 kB / 0.7472 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of Jacobian: time 3.016e-06/0.02446, allocations: 4 kB / 0.7472 GB, free: 14.79 MB / 0.5919 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: ........... 50 (scalar:37, 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 4.974e-05/0.02452, allocations: 40.16 kB / 0.7473 GB, free: 14.77 MB / 0.5919 GB Error: Internal error NSimStrongComponent.Block.createResidual failed for [ARRY] (2) $RES_BND_63 = res2.terminal.i - res2.i ($RES_BND_63)