Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001048/0.001048, allocations: 105.2 kB / 16.37 MB, free: 6.355 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.001076/0.001076, allocations: 190.1 kB / 17.3 MB, free: 5.906 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.099/1.099, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.505/1.505, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/1.871e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.953 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002515/0.002548, allocations: 1.789 MB / 0.6746 GB, free: 4.148 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.003781, allocations: 0.9565 MB / 0.6755 GB, free: 3.184 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.928e-05/0.00385, allocations: 0 / 0.6755 GB, free: 3.184 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004621/0.004319, allocations: 159.5 kB / 0.6757 GB, free: 3.027 MB / 0.545 GB [/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.0002279/0.004562, allocations: 115.6 kB / 0.6758 GB, free: 2.914 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.004876, allocations: 150.3 kB / 0.6759 GB, free: 2.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.005062, allocations: 175.6 kB / 0.6761 GB, free: 2.598 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.008e-05/0.00516, allocations: 33.08 kB / 0.6761 GB, free: 2.562 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.595e-05/0.005252, allocations: 67.77 kB / 0.6762 GB, free: 2.496 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.407e-05/0.005343, allocations: 71.69 kB / 0.6763 GB, free: 2.426 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.005367, allocations: 8 kB / 0.6763 GB, free: 2.418 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.005474, allocations: 63.91 kB / 0.6763 GB, free: 2.355 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001284/0.00561, allocations: 190 kB / 0.6765 GB, free: 2.168 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 5.529e-05/0.005671, allocations: 114.3 kB / 0.6766 GB, free: 2.055 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.005705, allocations: 23.88 kB / 0.6766 GB, free: 2.031 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.214e-05/0.005723, allocations: 7.938 kB / 0.6766 GB, free: 2.023 MB / 0.545 GB 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.0004917/0.006219, allocations: 0.5505 MB / 0.6772 GB, free: 1.371 MB / 0.545 GB Notification: Performance of FunctionAlias: time 1.965e-05/0.006244, allocations: 15.95 kB / 0.6772 GB, free: 1.355 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0001511/0.0064, allocations: 180.3 kB / 0.6774 GB, free: 1.152 MB / 0.545 GB Notification: Performance of simplify1: time 1.401e-05/0.006421, allocations: 4 kB / 0.6774 GB, free: 1.148 MB / 0.545 GB Notification: Performance of Alias: time 0.0002726/0.006698, allocations: 258.2 kB / 0.6776 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of simplify2: time 1.144e-05/0.006718, allocations: 7.984 kB / 0.6776 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of Events: time 6.833e-05/0.006791, allocations: 39.84 kB / 0.6777 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of Detect States: time 0.0001115/0.006909, allocations: 91.56 kB / 0.6777 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of Partitioning: time 7.809e-05/0.006994, allocations: 76.16 kB / 0.6778 GB, free: 0.6094 MB / 0.545 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency booRep.u could not be devided 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;