Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001185, allocations: 105.9 kB / 16.42 MB, free: 6.492 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.001365/0.001365, allocations: 187.2 kB / 17.35 MB, free: 5.742 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.282/1.282, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.4303/0.4303, allocations: 95.49 MB / 366.1 MB, free: 12.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/1.913e-05, allocations: 2.281 kB / 0.5042 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002604/0.002632, allocations: 1.742 MB / 0.5059 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.004212, allocations: 1.011 MB / 0.5069 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.639e-05/0.004309, allocations: 4 kB / 0.5069 GB, free: 9.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.004624, allocations: 59.69 kB / 0.507 GB, free: 9.059 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.0002326/0.004873, allocations: 83.66 kB / 0.507 GB, free: 8.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005124/0.005394, allocations: 193 kB / 0.5072 GB, free: 8.793 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.00562, allocations: 159.6 kB / 0.5074 GB, free: 8.637 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.00574, allocations: 25.06 kB / 0.5074 GB, free: 8.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.005848, allocations: 71.69 kB / 0.5075 GB, free: 8.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.005961, allocations: 55.75 kB / 0.5075 GB, free: 8.488 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.00599, allocations: 12 kB / 0.5075 GB, free: 8.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.006128, allocations: 67.97 kB / 0.5076 GB, free: 8.41 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0001455/0.006282, allocations: 169.9 kB / 0.5078 GB, free: 8.242 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 6.062e-05/0.006348, allocations: 110.4 kB / 0.5079 GB, free: 8.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.006387, allocations: 15.94 kB / 0.5079 GB, free: 8.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-05/0.00641, allocations: 4 kB / 0.5079 GB, free: 8.113 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: 10 (9) * Number of variables: 10 (9) Notification: Performance of Bindings: time 0.0005746/0.006989, allocations: 0.5544 MB / 0.5084 GB, free: 7.457 MB / 398.1 MB Notification: Performance of FunctionAlias: time 6.044e-05/0.007056, allocations: 19.92 kB / 0.5084 GB, free: 7.438 MB / 398.1 MB Notification: Performance of Early Inline: time 0.0002001/0.007262, allocations: 208.2 kB / 0.5086 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simplify1: time 2.802e-05/0.007297, allocations: 19.97 kB / 0.5087 GB, free: 7.188 MB / 398.1 MB Notification: Performance of Alias: time 0.0003292/0.007631, allocations: 234.2 kB / 0.5089 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simplify2: time 1.38e-05/0.007653, allocations: 7.984 kB / 0.5089 GB, free: 6.895 MB / 398.1 MB Notification: Performance of Events: time 8.321e-05/0.007742, allocations: 55.8 kB / 0.5089 GB, free: 6.84 MB / 398.1 MB Notification: Performance of Detect States: time 0.0001341/0.007883, allocations: 93.06 kB / 0.509 GB, free: 6.734 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0001064/0.007997, allocations: 88.34 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 intRep.u could not be divided by the body size 2 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (2) intRep.y = fill(intRep.u, 2) ($RES_SIM_1) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (11/12) ************************** (1) [ALGB] (1) Real[1] intTab.combiTimeTable.y (2) [DISC] (2) Integer[2] intRep.y (3) [DISC] (1) Boolean $SEV_3 (4) [ALGB] (1) Real $FUN_2 (5) [DISC] (1) Boolean $SEV_2 (6) [ALGB] (1) Real $FUN_1 (7) [DISS] (1) protected discrete Real intTab.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (8) [DISC] (1) Integer intRep.u (9) [DISS] (1) protected discrete Real intTab.combiTimeTable.nextTimeEventScaled (fixed = true, start = 0.0) (10) [ALGB] (1) Real intTab.realToInteger.u (11) [DISC] (1) Boolean $TEV_0 System Equations (11/12) ************************** (1) [SCAL] (1) intTab.combiTimeTable.y[1] = intTab.realToInteger.u ($RES_SIM_11) (2) [SCAL] (1) intRep.u = if $SEV_2 then integer($FUN_1) else integer($FUN_2) ($RES_SIM_4) (3) [SCAL] (1) $TEV_0 = $PRE.intTab.combiTimeTable.nextTimeEventScaled ($RES_EVT_14) (4) [ARRY] (2) intRep.y = fill(intRep.u, 2) ($RES_SIM_1) (5) [SCAL] (1) $SEV_2 = intTab.realToInteger.u > 0.0 ($RES_EVT_17) (6) [SCAL] (1) $SEV_3 = time >= $PRE.intTab.combiTimeTable.nextTimeEvent ($RES_EVT_18) (7) [SCAL] (1) $FUN_2 = ceil((-0.5) + intTab.realToInteger.u) ($RES_$AUX_12) (8) [SCAL] (1) $FUN_1 = floor(0.5 + intTab.realToInteger.u) ($RES_$AUX_13) (9) [WHEN] (1)when {$SEV_3, initial()} then (9) [----] intTab.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(intTab.combiTimeTable.tableID, time) (9) [----] end when; (10) [WHEN] (1)when {$SEV_3, initial()} then (10) [----] intTab.combiTimeTable.nextTimeEvent := if intTab.combiTimeTable.nextTimeEventScaled < 1e60 then intTab.combiTimeTable.nextTimeEventScaled else 1e60 (10) [----] end when; (11) [SCAL] (1) intTab.combiTimeTable.y[1] = intTab.combiTimeTable.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer(intTab.combiTimeTable.tableID, 1, time, intTab.combiTimeTable.nextTimeEventScaled, $TEV_0) ($RES_SIM_5)