Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 105.7 kB / 16.42 MB, free: 6.465 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.001181/0.001181, allocations: 192.3 kB / 17.36 MB, free: 5.707 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.269/1.269, 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 1.6.0+build.1/package.mo): time 0.4352/0.4352, allocations: 95.48 MB / 366.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.198e-05, allocations: 2.281 kB / 0.5042 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002624/0.002654, allocations: 1.749 MB / 0.5059 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.004038, allocations: 0.929 MB / 0.5068 GB, free: 9.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.665e-05/0.004136, allocations: 0 / 0.5068 GB, free: 9.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005414/0.004683, allocations: 167.5 kB / 0.507 GB, free: 9.039 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.004949, allocations: 111.6 kB / 0.5071 GB, free: 8.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.005322, allocations: 143 kB / 0.5072 GB, free: 8.793 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.005555, allocations: 187.5 kB / 0.5074 GB, free: 8.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.005674, allocations: 25.06 kB / 0.5074 GB, free: 8.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.005784, allocations: 75.73 kB / 0.5075 GB, free: 8.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.991e-05/0.005892, allocations: 63.77 kB / 0.5076 GB, free: 8.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.005922, allocations: 15.94 kB / 0.5076 GB, free: 8.434 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.006055, allocations: 63.89 kB / 0.5076 GB, free: 8.371 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0001474/0.006211, allocations: 193.9 kB / 0.5078 GB, free: 8.18 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 6.301e-05/0.00628, allocations: 114.3 kB / 0.5079 GB, free: 8.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.00632, allocations: 23.88 kB / 0.508 GB, free: 8.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.958e-05/0.006345, allocations: 3.938 kB / 0.508 GB, free: 8.039 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 (9) * Number of variables: 12 (9) Notification: Performance of Bindings: time 0.0006066/0.006956, allocations: 0.5506 MB / 0.5085 GB, free: 7.387 MB / 398.1 MB Notification: Performance of FunctionAlias: time 2.45e-05/0.006986, allocations: 11.94 kB / 0.5085 GB, free: 7.375 MB / 398.1 MB Notification: Performance of Early Inline: time 0.0001827/0.007175, allocations: 184.2 kB / 0.5087 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simplify1: time 2.191e-05/0.007203, allocations: 15.98 kB / 0.5087 GB, free: 7.152 MB / 398.1 MB Notification: Performance of Alias: time 0.0003334/0.007541, allocations: 238.2 kB / 0.5089 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simplify2: time 9.598e-06/0.00756, allocations: 3.984 kB / 0.5089 GB, free: 6.859 MB / 398.1 MB Notification: Performance of Events: time 9.846e-05/0.007664, allocations: 51.8 kB / 0.509 GB, free: 6.809 MB / 398.1 MB Notification: Performance of Detect States: time 0.0001341/0.007805, allocations: 85.25 kB / 0.5091 GB, free: 6.711 MB / 398.1 MB Notification: Performance of Partitioning: time 8.965e-05/0.007902, allocations: 72.17 kB / 0.5091 GB, free: 6.625 MB / 398.1 MB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency booRep.u could not be divided by the body size 4 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (4) booRep.y = fill(booRep.u, 4) ($RES_SIM_1) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (9/12) ************************* (1) [DISC] (1) Boolean booRep.u (2) [DISS] (1) protected discrete Real booTab.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (3) [ALGB] (1) Real[1] booTab.combiTimeTable.y (4) [ALGB] (1) Real booTab.realToBoolean.u (5) [DISC] (1) Boolean $SEV_2 (6) [DISC] (1) Boolean $SEV_1 (7) [DISS] (1) protected discrete Real booTab.combiTimeTable.nextTimeEventScaled (fixed = true, start = 0.0) (8) [DISC] (4) Boolean[4] booRep.y (9) [DISC] (1) Boolean $TEV_0 System Equations (9/12) ************************* (1) [SCAL] (1) booTab.combiTimeTable.y[1] = booTab.combiTimeTable.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer(booTab.combiTimeTable.tableID, 1, time, booTab.combiTimeTable.nextTimeEventScaled, $TEV_0) ($RES_SIM_4) (2) [SCAL] (1) $SEV_1 = booTab.realToBoolean.u >= booTab.realToBoolean.threshold ($RES_EVT_13) (3) [SCAL] (1) booRep.u = $SEV_1 ($RES_SIM_3) (4) [SCAL] (1) $SEV_2 = time >= $PRE.booTab.combiTimeTable.nextTimeEvent ($RES_EVT_14) (5) [ARRY] (4) booRep.y = fill(booRep.u, 4) ($RES_SIM_1) (6) [WHEN] (1)when {$SEV_2, initial()} then (6) [----] booTab.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(booTab.combiTimeTable.tableID, time) (6) [----] end when; (7) [SCAL] (1) $TEV_0 = $PRE.booTab.combiTimeTable.nextTimeEventScaled ($RES_EVT_11) (8) [SCAL] (1) booTab.combiTimeTable.y[1] = booTab.realToBoolean.u ($RES_SIM_10) (9) [WHEN] (1)when {$SEV_2, initial()} then (9) [----] booTab.combiTimeTable.nextTimeEvent := if booTab.combiTimeTable.nextTimeEventScaled < 1e60 then booTab.combiTimeTable.nextTimeEventScaled else 1e60 (9) [----] end when;