Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator") translateModel(Annex60.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001183/0.001183, allocations: 106.4 kB / 16.42 MB, free: 6.531 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.001133/0.001133, allocations: 190 kB / 17.35 MB, free: 5.73 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.235/1.235, 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/Annex60 1.0.0/package.mo): time 0.2555/0.2555, allocations: 54.96 MB / 325.5 MB, free: 4.844 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/2.824e-05, allocations: 2.281 kB / 456.8 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.BooleanReplicator): time 0.002839/0.002875, allocations: 1.749 MB / 458.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.004275, allocations: 0.9525 MB / 459.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/0.00436, allocations: 0 / 459.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005666/0.004935, allocations: 163 kB / 459.7 MB, free: 15.84 MB / 350.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.0002442/0.005188, allocations: 103.6 kB / 459.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.005539, allocations: 151.6 kB / 459.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.005764, allocations: 175.6 kB / 460.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.005875, allocations: 33.09 kB / 460.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.932e-05/0.005981, allocations: 71.69 kB / 460.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.00609, allocations: 67.75 kB / 460.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.006118, allocations: 8 kB / 460.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.00624, allocations: 67.89 kB / 460.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001457/0.006393, allocations: 189.9 kB / 460.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 6.271e-05/0.006462, allocations: 118.3 kB / 460.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.006495, allocations: 11.94 kB / 460.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.575e-05/0.006516, allocations: 7.938 kB / 460.7 MB, free: 14.85 MB / 350.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.0005575/0.007078, allocations: 0.5661 MB / 461.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FunctionAlias: time 2.146e-05/0.007106, allocations: 7.984 kB / 461.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0001669/0.007277, allocations: 184.2 kB / 461.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simplify1: time 1.755e-05/0.007301, allocations: 7.984 kB / 461.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Alias: time 0.0003174/0.007624, allocations: 242.2 kB / 461.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simplify2: time 1.236e-05/0.007645, allocations: 11.98 kB / 461.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of Events: time 7.618e-05/0.007726, allocations: 31.91 kB / 461.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Detect States: time 0.00013/0.007863, allocations: 93.22 kB / 461.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of Partitioning: time 8.961e-05/0.007962, allocations: 76.14 kB / 461.9 MB, free: 13.43 MB / 350.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;