Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Delays.Examples.Delay.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 109.5 kB / 16.43 MB, free: 6.406 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.00108/0.00108, allocations: 183 kB / 17.36 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.154/1.154, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.233/2.233, allocations: 469.8 MB / 0.7432 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.699e-05, allocations: 2.281 kB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.5632/0.5632, allocations: 183.3 MB / 1.245 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00659/0.5698, allocations: 4.875 MB / 1.25 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007551/0.5706, allocations: 27.88 kB / 1.25 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.5717, allocations: 461.3 kB / 1.25 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.5746, allocations: 1.47 MB / 1.251 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.5763, allocations: 0.7743 MB / 1.252 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002182/0.5785, allocations: 2.019 MB / 1.254 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007024/0.5792, allocations: 0.509 MB / 1.255 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.5808, allocations: 0.9613 MB / 1.256 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.5819, allocations: 0.558 MB / 1.256 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.582, allocations: 67.92 kB / 1.256 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.5839, allocations: 1.368 MB / 1.258 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of combineBinaries: time 0.001012/0.585, allocations: 1.343 MB / 1.259 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of replaceArrayConstructors: time 0.0005696/0.5855, allocations: 0.8838 MB / 1.26 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.5857, allocations: 127.6 kB / 1.26 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of FrontEnd: time 0.0001215/0.5859, allocations: 23.88 kB / 1.26 GB, free: 1.07 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 (105) * Number of variables: 113 (99) Notification: Performance of Bindings: time 0.002378/0.5882, allocations: 2.783 MB / 1.263 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of FunctionAlias: time 0.0001775/0.5884, allocations: 177.3 kB / 1.263 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of Early Inline: time 0.001041/0.5895, allocations: 1.116 MB / 1.264 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simplify1: time 0.0002046/0.5897, allocations: 195.5 kB / 1.264 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of Alias: time 0.001505/0.5912, allocations: 1.327 MB / 1.265 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of simplify2: time 0.000167/0.5914, allocations: 175.5 kB / 1.265 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of Detect States: time 0.0002901/0.5917, allocations: 261.9 kB / 1.266 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of Events: time 0.000208/0.5919, allocations: 180.3 kB / 1.266 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of Partitioning: time 0.0003713/0.5923, allocations: 395.6 kB / 1.266 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of Causalize: time 0.001976/0.5943, allocations: 1.972 MB / 1.268 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of After Index Reduction Inline: time 0.0007074/0.595, allocations: 0.7772 MB / 1.269 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of Inline: time 0.001844/0.5968, allocations: 1.78 MB / 1.271 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of Partitioning: time 6.322e-05/0.5969, allocations: 43.61 kB / 1.271 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of Cleanup: time 0.0003159/0.5972, allocations: 427.3 kB / 1.271 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of Causalize: time 0.00502/0.6022, allocations: 4.779 MB / 1.276 GB, free: 192 kB / 0.9825 GB Notification: Performance of Tearing: time 1.621e-05/0.6023, allocations: 0 / 1.276 GB, free: 192 kB / 0.9825 GB Notification: Performance of Initialization: time 1.674e-06/0.6023, allocations: 4 kB / 1.276 GB, free: 188 kB / 0.9825 GB Notification: Performance of Tearing: time 6.291e-06/0.6023, allocations: 3.938 kB / 1.276 GB, free: 184 kB / 0.9825 GB Notification: Performance of Categorize: time 1.135e-05/0.6023, allocations: 8 kB / 1.276 GB, free: 176 kB / 0.9825 GB Notification: Performance of Solve: time 0.000644/0.603, allocations: 452 kB / 1.276 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of Jacobian: time 0.0009947/0.604, allocations: 1.013 MB / 1.277 GB, free: 14.67 MB / 0.9981 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 9 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 3 (3) {del.dynBal.U, del.dynBal.m, del.dynBal.medium.Xi} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 12 (12) {$SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 84 (scalar:65, array:19, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 110 (scalar:89, array:21, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 110 (scalar:89, array:21, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.964e-05/0.604, allocations: 69.61 kB / 1.277 GB, free: 14.61 MB / 0.9981 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_6)